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?
how to list vehicles available on a map?
-
sardaukar2016
- Posts: 47
- Joined: 2016-12-29 17:58
how to list vehicles available on a map?
Last edited by sardaukar2016 on 2017-02-26 07:15, edited 1 time in total.
How blood sugar levels affect your sleep | My guru: Richard Stallman | Libreboot faq | http://90lat.lasy.gov.pl/en/#0 

-
Bastiannn
- Posts: 128
- Joined: 2016-09-09 07:00
-
sardaukar2016
- Posts: 47
- Joined: 2016-12-29 17:58
Re: how to list vehicles available on a map?
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).
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?
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.
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.

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?
PR Map Gallerysardaukar2016 wrote: For example how to display a list of all spawnable mec land vehicles on Kashan Std map - how do I do that?

- Suchar
- PR:BF2 Lead Developer
- Posts: 2208
- Joined: 2016-10-12 13:25
- Location: Poland
Re: how to list vehicles available on a map?
I sent you a PM.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?
- Michael Z Freeman
- Posts: 240
- Joined: 2009-03-27 18:45
Re: how to list vehicles available on a map?
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.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?



