how to list vehicles available on a map?

General discussion of the Project Reality: BF2 modification.
Post Reply
sardaukar2016
Posts: 47
Joined: 2016-12-29 17:58

how to list vehicles available on a map?

Post by sardaukar2016 »

Any of you guys knows how to show a list of available vehicles to spawn on a map?
Also, is it possible to show only civilian/land/air/sea/chosen faction spawnable vehicles?
For example how to display a list of all spawnable mec land vehicles on Kashan Std map - how do I do that?
Last edited by sardaukar2016 on 2017-02-26 07:15, edited 1 time in total.
Bastiannn
Posts: 128
Joined: 2016-09-09 07:00

Re: how to list vehicles available on a map?

Post by Bastiannn »

I think this answers most of your questions

https://docs.google.com/document/d/187K ... FvunU/edit
ImageImage
sardaukar2016
Posts: 47
Joined: 2016-12-29 17:58

Re: how to list vehicles available on a map?

Post by sardaukar2016 »

No, no that's not what I'm looking for...
The info you gave just explains how to spawn objects, but I'd like to know a command that would list a category of/all objects that are available to spawn on a map of choice. They only say that if you spawn an object that is not available on the map, the server will crash, which I already know.
The problem is testing all possible vehicles one by one by hand (and crashing the server in the process) takes forever.
So how do I for example list all civilian vehicles available to spawn on Kashan standard map?
I know you can spawn a civ_bik_atv even though it's not listed in the assets, but that's just from testing it by hand (takes too long).
rPoXoTauJIo
PR:BF2 Developer
Posts: 1979
Joined: 2011-07-20 10:02

Re: how to list vehicles available on a map?

Post by rPoXoTauJIo »

Short answer is you can't.
Long answer is that you should go&open mods/pr/levels/<mapname>/server.zip/gamemodes/<gamemode>/<layer>/gameplayobjects.con, and look at all object spawner templates available.
Additional spawner templates available through init.con team inits, but you gotta follow some links there.
Image

assetruler69: I've seen things you smurfs wouldn't believe. Apaches on the Kashan. I watched burned down tank hulls after the launch of the single TOW. All those moments will be lost in time, like tears in rain.

Time to give up and respawn.
Outlawz7
Retired PR Developer
Posts: 17261
Joined: 2007-02-17 14:59

Re: how to list vehicles available on a map?

Post by Outlawz7 »

sardaukar2016 wrote: For example how to display a list of all spawnable mec land vehicles on Kashan Std map - how do I do that?
PR Map Gallery
Image
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2208
Joined: 2016-10-12 13:25
Location: Poland

Re: how to list vehicles available on a map?

Post by Suchar »

sardaukar2016 wrote:Any of you guys knows how to show a list of available vehicles to spawn on a map?
Also, is it possible to show only civilian/land/air/sea/chosen faction spawnable vehicles?
For example how to display a list of all spawnable mec land vehicles on Kashan Std map - how do I do that?
I sent you a PM.
Image
User avatar
Michael Z Freeman
Posts: 240
Joined: 2009-03-27 18:45

Re: how to list vehicles available on a map?

Post by Michael Z Freeman »

sardaukar2016 wrote:Any of you guys knows how to show a list of available vehicles to spawn on a map?
Also, is it possible to show only civilian/land/air/sea/chosen faction spawnable vehicles?
For example how to display a list of all spawnable mec land vehicles on Kashan Std map - how do I do that?
I did something like this for Battlegroup42 maps where each map has ammo/health and other assets marked using this script. I started modifying the script for BF2 and it looks like its should be possible. I also intended to add spawn locations for each BG42 vehicle (they have a LOT of vehicles!) but had not got round to it yet.
Post Reply

Return to “PR:BF2 General Discussion”