Composite Drawable Not Found When Spawning Vehicle

Posted in Mod Help
Unsubscribe from this topic
Hey all,
So in trying just to get down the basics of scripting, I'm trying to get a vehicle to spawn at the Simpson's house during the opening mission. I've added a few lines to the first stage of mission 0...

AddStage(1);
RESET_TO_HERE();
SetHUDIcon( "kwike" );
ShowStageComplete();
SetStageMessageIndex(131);
AddStageVehicle("bart_v","m0_home_start","NULL","Missions\level01\easy.con","snake");
AddObjective("goto");
SetDestination("m0_kwickemart","carsphere");
SetCollectibleEffect("wrench_collect");
CloseObjective();
CloseStage();

... bart_v.p3d exists in my CustomFiles/art/cars folder, and I've checked using the P3D editor to confirm that bart_v is the composite drawable name.

The car is loaded in the m0l.mfk file using...

LoadDisposableCar("art\cars\bart_v.p3d","bart_v","AI");

...Everytime I attempt to start the mission, I get the debug message "Composite drawable "bart_v" not found when creating vehicle."

I've attempted to swap "bart_v" for various other cars and I keep getting the same error.

Does anybody know what's happening here?
Hi Watu,

Could you send me the mod files in a zip or decompilable lmlm file please? I'll take a look for you.

Side note: You can often get quicker support from the Discord.

Thanks,
Josh
Sure thing!

-->Mod Folder Link<--

Also good tip about the Discord; I'll definitely jump over there for future advice.

Thanks for your reply!
Unsubscribe from this topic
Please login to contribute to the conversation.