Author Topic: Vehicle Won't Spawn  (Read 616 times)

I edited the Light Tank to have the Lightcycle model, and I set the player to crouch on mount. I deleted the Light_Tank_Exhaust.cs in the lighttank folder (cycle doesnt have exhaust) and moved in the new model. I deleted the old one and changed it in .cs to have the shapename as Lightcycle.dts.
Now I start a server, select it, press Send, but nothing appears. It's selected as it in the vehicle menu, but nothing appears.

List of what I did

Delete the exaust CS file.
Replace the .dts model with the new .dts.
In the .cs main script, change the model file name to match the new dts.
« Last Edit: December 24, 2010, 05:53:30 PM by Blaze0 »


You have an idea of what you are doing right now?

Since, .dts is the file extension for the used models and .cs is a file extension for the script(s)/code(s).

I'm experimenting. I know the difference between .cs and .dts.

I'll add more to the OP.

Added info will be in green.

Sorry, it looked like you were trying to make a model have the extension .cs when i first read through it.

My guess would be that it's trying to reference things in the now non-existent exhaunt.cs and breaking. Any errors in the console?

I moved the exhaust back into the folder. I'll see if it fixes it.
Still no fix.
« Last Edit: December 25, 2010, 01:26:50 PM by Blaze0 »

Is it a model you made?

I don't know much about vehicle coding. But switching out a tank model, which probably has 4 wheel mounts, to a Lightcycle with two would require more changes to the .cs to adapt than just changing the referenced model.

Not to mention the other differences that likely exist, I add.

I used Furling's Lightcycle model.