Blockland Forums > Modification Help

I'm learning earning vehicle scripts but it ain't working

Pages: (1/1)

Barakuda:

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.

otto-san:

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

Barakuda:

So what script should I take?

Makingblah:

Jeep.

Crysist:

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: ---exec("./vehicle_Blokocar.cs");
exec("./Blokocar_tires.cs");
exec("./Blokocar_explosion.cs");

//Othercodes
--- End code ---
Then you 'Ctrl + H' ed and changed it.

--- Code: ---exec("./vehicle_Supercar.cs");
exec("./Supercar_tires.cs");
exec("./Supercar_explosion.cs");

//Othercodes
--- End code ---
Yet these are the files you still have in the zip:

--- Code: ---Vehicle_Blokocar.cs
Blokocar_tires.cs
Blokocar_explosion.cs
--- End code ---
So remember the change the name of the files of the zip file.

Also start with the Jeep first like Makingblah said.

Pages: (1/1)

Go to full version