Jump to content
groovybluedog

How do I delete unwanted vehicles SAFELY?

Recommended Posts

Hi All,

After fiddlin' with vehicle XML files, and reading many threads about modding, I was just thinking of getting rid of vehicles which are useless. Useless to me of course, but things like... Is it CHPD? The cops in cream uniform? I don't need them as I have LAPD, for example. I want to remove these from the game, however I am unsure what files to delete to get rid of the vehicles safely. I don't know if they are linked up to a script like PHP can be... Deleting the vehicle under "Units" may mess with a script, thus causing game issues.

What files must I delete to delete a vehicle safely?

Regards

-Groovy

Link to comment
Share on other sites

To remove it from the game, go into the freeplaybase file in specs.. You need ot do this for deluxe again if you have that, and delete that line of text for that unit. Bam it's out of freeplay. To remove it from missions, you just go into the Unit.xml in it's unit folder (mod:units/vehicle/02LA Police/Unit folder) and delete all the numbers from in between the quotations in one of the top few lines

Link to comment
Share on other sites

Thanks! Thats good as I can re-enable it in future. For that file I only know the count changes the amount of vehicles of each you get on load, but never knew what would happen if I removed it. One issue. Not all vehicles are in that file. Hm... In the unit XML for each vehicle there is a "freeplay" section. I know freeplay is mission 22 - Would removing 22 from the freeplay part of the XML work too?

Also, Ill ask here instead of another thread. Is it possible to enable vehicles too? The old police heli, Secret service, ect, are all "hidden" from freeplay. I know they are their as some commands can call them - They simply don't appear on the dispatch menu to the left. How can I display them?

Thanks again,

-Groovy

Link to comment
Share on other sites

If you look in the freeplay base (using Notepad++) you'll see lines that are green, just remove the <!-- part off of it until it turns not green, and looks like the rest, once that's gone it's back in freeplay

If you just play freeplay then you should be able to get away with just editting the freeplay base. Any units you can buy in freeplay are in this list, if they aren't there, they are not in game.

Any units that can be re-enabled, hoppah has put the <!-- thing around it to make it easier to enable

Link to comment
Share on other sites

O.o The "dozen_transporter" is the only disabled one. How come I found the old LAPD helicopter ingame and its not in that list? (Unless I got names mixed up) - I also see how to disable too. Just add the "comment/ignore" <!-- xxx --> tags like in HTML or PHP. ;P

Thanks a hellovva' lot!

While on the topic of vehicles, I have been using this tutorial for a while now:

Their is a bit for equipment, Where things like roadblocks and fire extinguishers are. How come flares, cones, barricades, guns and shields are not their for the vehicles that use them? O.o

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...