[Help] Error in my Project Reality Training map!

Making or wanting help making your own asset? Check in here
Post Reply
Sgt. Swanson
Posts: 5
Joined: 2009-10-25 21:58

[Help] Error in my Project Reality Training map!

Post by Sgt. Swanson »

I have two questions here. First of all, how do I get my map to appear as a training map. Secondly, and most importantly, WTF is this?????

Image
CodeRedFox
Retired PR Developer
Posts: 5919
Joined: 2005-11-08 00:47

Re: Error in my Project Reality Training map!

Post by CodeRedFox »

Your missing a color map. In the editor you will need to resave everything. Load your map up and start in ObjectEditor mode and file > resave -> check all then switch to TerrainEditor mode and and file > resave -> check all. This will take some time. Then re output your level and try it again.

if that doesnt work just load up you recently zip back up (something that should be done every day or week) and replace the file. The bf2 editor will eat maps and never let you know its doing so.
Image
"apcs, like dogs can't look up" - Dr2B Rudd
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Error in my Project Reality Training map!

Post by Rhino »

its a surrounding terrain colour map file so just copy and rename one of your other surrounding terrain colormaps to that.
Image
Sniperdog
Retired PR Developer
Posts: 1177
Joined: 2009-02-27 00:06

Re: Error in my Project Reality Training map!

Post by Sniperdog »

Sgt. Swanson wrote: First of all, how do I get my map to appear as a training map?
First navigate to your map's .desc file (in the central map directory) and be sure that your file includes the line with the mode type set as training and a map type line for each layer of training as seen below in the desc file for "my_map" which has only 32 and 64 training layers. If you dont do this the map wont show up in the menu.

Code: Select all

<map gsid="nnnn">
    <name> My Map </name>
    <briefing locid="MAPDESCRIPTION_my_map">map description for modders maps not localized (english only)</briefing>
    <music> common/sound/menu/music/My_Maps_loading_song.ogg </music>
    <modes>
        <mode type="gpm_training">
          <maptype players="32" type="training" locid="GAMEMODE_DESCRIPTION_training">Unlocalized test for this mode on this map</maptype>
          <maptype players="64" type="training" locid="GAMEMODE_DESCRIPTION_training">Unlocalized test for this mode on this map</maptype>    
        </mode>
    </modes>
</map>
(note that is if you have multiple training layers here there is a 32 and a 64, if you only want one only include the maptype line for that layer)
Next be sure that in the server.zip folder for your map the GamePlayObjects.con file is in the directory GameModes/gpm_training/<layer number>/ (for example GameModes/gpm_training/64) make sure the gamplay objects file is in the proper directory for each layer you have. That's pretty much it, hope that helps.
Image

Image

Will Stahl aka "Merlin" in the Squad community
Gore
Retired PR Developer
Posts: 2491
Joined: 2008-02-15 21:39

Re: Error in my Project Reality Training map!

Post by Gore »

Edit: found out.
Last edited by Gore on 2009-11-25 07:44, edited 1 time in total.
Post Reply

Return to “PR:BF2 Community Modding”