Author Topic: I'm learning earning vehicle scripts but it ain't working  (Read 390 times)

As you've figured out from the title, I want to make a vehicle.

Since I'm just learning the vehicle script, I took the Blocko Car script as a base.
I've been making flying vehicles before, since they don't have much of a script inside, I just replaced
the Flying Carpet with Messerchmitt, whitch doesn't require the knowledge of anything.

I set the number of mount points and the tire names, textures, etc.
But when I try to replace <MyVehicleNameHere> With BlockoCar in all of the files
(<MyVehicleNameHere> Explosion, <MyVehicleNameHere> Spiring,..) the addon just wont show up ingame.

What should I do?
(I know that it's a bit hard to explain all this to me, but I have to find out somehow.

don't edit blocko car if it gives you so many problems.

So what script should I take?


There probably was a problem when it tries to execute the other scripts because you changed the script to execute in the script, but didn't change the file name, so something like this happened:
Code: [Select]
exec("./vehicle_Blokocar.cs");
exec("./Blokocar_tires.cs");
exec("./Blokocar_explosion.cs");

//Othercodes
Then you 'Ctrl + H' ed and changed it.
Code: [Select]
exec("./vehicle_Supercar.cs");
exec("./Supercar_tires.cs");
exec("./Supercar_explosion.cs");

//Othercodes
Yet these are the files you still have in the zip:
Code: [Select]
Vehicle_Blokocar.cs
Blokocar_tires.cs
Blokocar_explosion.cs
So remember the change the name of the files of the zip file.

Also start with the Jeep first like Makingblah said.