project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 General Discussion
08 Dec 2019, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 General Discussion General discussion of the Project Reality: BF2 modification.

Reply
 
Thread Tools Display Modes
Old 2011-05-22, 10:19   #1
C0NNA
Send a message via MSN to C0NNA
Default Amount of vehicles on the map...

Hey, I was wondering if anyone knew what setting I would have to change on a LAN server to allow this (i'll give an example) Ok, so 1 person jumps in a chopper and then as soon as he takes off another one spawns in its place.

I figured out how to change the re spawn time but that's all.

Any help appreciated!
C0NNA is offline Reply With Quote
Old 2011-05-22, 10:25   #2
[R-DEV]​Psyrus
PR:BF2 Developer
Default Re: Amount of vehicles on the map...

I believe you have to edit the map's files to accomplish what you want to do
Psyrus is offline Reply With Quote
Old 2011-05-22, 10:51   #3
C0NNA
Send a message via MSN to C0NNA
Default Re: Amount of vehicles on the map...

Yes, I tried that, in the maps config file I was able to change the vehicle re-spawn time but I couldn't find anything related to what I want to do
C0NNA is offline Reply With Quote
Old 2011-05-22, 11:00   #4
ballard_44
Retired PR Developer
Default Re: Amount of vehicles on the map...

You need to add some code to make this happen.
Specifically the part in red.
No idea if there is a limit, but at least 2 is possible.


EXAMPLE...
Quote:
rem [ObjectSpawnerTemplate: cpname_kd_64_usmain_a10]
ObjectTemplate.create ObjectSpawner cpname_kd_64_usmain_a10
ObjectTemplate.activeSafe ObjectSpawner cpname_kd_64_usmain_a10
ObjectTemplate.modifiedByUser "WSU"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.setObjectTemplate 2 your vehicle
ObjectTemplate.minSpawnDelay 240
ObjectTemplate.maxSpawnDelay 240
ObjectTemplate.TimeToLive 600
ObjectTemplate.Distance 100
ObjectTemplate.maxNrOfObjectSpawned 2
ObjectTemplate.teamOnVehicle 1

ballard_44 is offline Reply With Quote
Old 2011-05-22, 11:16   #5
C0NNA
Send a message via MSN to C0NNA
Default Re: Amount of vehicles on the map...

Thanks mate, worked a charm.
C0NNA is offline Reply With Quote
Reply


Tags
amount, map, vehicles
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 10:11.