[?] removing vehicles

Making or wanting help making your own asset? Check in here
Post Reply
Kevokpo
Posts: 286
Joined: 2011-09-25 14:40

[?] removing vehicles

Post by Kevokpo »

Hi guys, i was just wondering if someone could help me or just show me a tutorial, to remove vehicles from the coop mod of BF2 or PR. for example Strike at Karkand (BF2), too small, urban map, good for infantry only, i would like to remove the humvees, APCs and Tanks. Or in Karbala (PR) removing the Tanks, APCs, and, choppers, leaving only the humvees.



thanks
Hulabi
Posts: 2277
Joined: 2009-08-08 22:15

Re: removing vehicles

Post by Hulabi »

How about have them all on a 999999second delayed spawn? Quick and easy
temexter
Posts: 397
Joined: 2009-11-23 15:50

Re: removing vehicles

Post by temexter »

You can do it with bf2editor. This requires that you of cource have it installed and have some skills requided. There's a couple of tutorials around in moding tutorials section.

Maybe this one would be the right place to start: https://www.realitymod.com/forum/f189-m ... orted.html

I digged up and served it just for you on a silver plate, so please read and assimilate :)

Easier way to do the thing would be:
  • Open \bf2\mods\pr\levels\karbala\server.zip with eg. 7zip
  • Extract relevant gameplayobjects.con, ie. \GameModes\gpm_coop\64\gameplayobjects.con
  • Open the gameplayobjects.con in your favorite editor (i'd recommend notepad+)
  • Delete the object spawners you want away (or comment the lines with rem) like in following example:
    (or change the spawndelay like Hulabi said)

    Code: Select all

    rem [ObjectSpawnerTemplate: tank]
    [color=Red]rem [/color]ObjectTemplate.create ObjectSpawner tank
    [color=Red]rem [/color]ObjectTemplate.activeSafe ObjectSpawner tank
    [color=Red]rem [/color]ObjectTemplate.modifiedByUser "WSU"
    [color=Red]rem [/color]ObjectTemplate.isNotSaveable 1
    [color=Red]rem [/color]ObjectTemplate.hasMobilePhysics 0
    [color=Red]rem [/color]ObjectTemplate.setObjectTemplate 2 us_tnk_m1a1_alt
    [color=Red]rem [/color]ObjectTemplate.minSpawnDelay 900
    [color=Red]rem [/color]ObjectTemplate.maxSpawnDelay 900
    [color=Red]rem [/color]ObjectTemplate.TimeToLive 1200
    [color=Red]rem [/color]ObjectTemplate.team 2
    [color=Red]rem [/color]ObjectTemplate.teamOnVehicle 1
    
  • Save the file and put it back to server.zip file
  • Try it and like it
Anyroad, you should make copy of your mod directory (bf2\mods\pr) and name it like pr_edit, so you wont mess your pr client ie. make it unplayable on coop servers.
Image
ImageImageImage
Kevokpo
Posts: 286
Joined: 2011-09-25 14:40

Re: removing vehicles

Post by Kevokpo »

you guys are great!!! thank for the help, for the tip and your time also. ;)
temexter
Posts: 397
Joined: 2009-11-23 15:50

Re: removing vehicles

Post by temexter »

Ur welcome m8. Happy to help :)
Image
ImageImageImage
Post Reply

Return to “PR:BF2 Community Modding”