project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding > Modding Tutorials
14 Nov 2019, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
Modding Tutorials Information and tutorials related to modding BF2.

Reply
 
Thread Tools Display Modes
Old 2016-09-10, 15:25   #1
[R-DEV]​Outlawz7
PR:BF2 Developer

Outlawz7's Avatar
Default Default .desc file content

When you create a new map in BF2Editor, it will create a .desc file with your map's filename in the Info folder. The content inside this file is usually a badly formatted mess containing remnants of vBF2 stuff.
This thread offers a properly formatted .desc containing all possible sizes and gamemodes in Project Reality without unnecessary content such as briefing entry etc.
Copy it over and edit to your needs, removing unwanted gamemodes/sizes.

Code:
<map>
	<name> YOURMAPNAMEHERE </name>
	<music> common/sound/menu/music/load/YOURMUSICHERE.ogg </music>
	<modes>
		<mode type="gpm_cq">
			<maptype players="16" type="aasinfantry" locid="GAMEMODE_DESCRIPTION_aasinfantry"></maptype>
			<maptype players="32" type="aasalternative" locid="GAMEMODE_DESCRIPTION_aasalternative"></maptype>
			<maptype players="64" type="aasfullassets" locid="GAMEMODE_DESCRIPTION_aasfullassets"></maptype>
			<maptype players="128" type="aaslarge" locid="GAMEMODE_DESCRIPTION_aaslarge"></maptype>
		</mode>
		<mode type="gpm_vehicles">
			<maptype players="16" type="vehiclewarfare" locid="GAMEMODE_DESCRIPTION_vehiclewarfare"></maptype>
			<maptype players="32" type="vehiclewarfare" locid="GAMEMODE_DESCRIPTION_vehiclewarfare"></maptype>
			<maptype players="64" type="vehiclewarfare" locid="GAMEMODE_DESCRIPTION_vehiclewarfare"></maptype>
			<maptype players="128" type="vehiclewarfare" locid="GAMEMODE_DESCRIPTION_vehiclewarfare"></maptype>
		</mode>
		<mode type="gpm_skirmish">
			<maptype players="16" type="skirmish" locid="GAMEMODE_DESCRIPTION_skirmish"></maptype>
			<maptype players="32" type="skirmish" locid="GAMEMODE_DESCRIPTION_skirmish"></maptype>
			<maptype players="64" type="skirmish" locid="GAMEMODE_DESCRIPTION_skirmish"></maptype>
			<maptype players="128" type="skirmish" locid="GAMEMODE_DESCRIPTION_skirmish"></maptype>
		</mode>
		<mode type="gpm_insurgency">
			<maptype players="16" type="insurgency" locid="GAMEMODE_DESCRIPTION_insurgency"></maptype>
			<maptype players="32" type="insurgency" locid="GAMEMODE_DESCRIPTION_insurgency"></maptype>
			<maptype players="64" type="insurgency" locid="GAMEMODE_DESCRIPTION_insurgency"></maptype>
			<maptype players="128" type="insurgency" locid="GAMEMODE_DESCRIPTION_insurgency"></maptype>
		</mode>
		<mode type="gpm_cnc">
			<maptype players="16" type="cnc" locid="GAMEMODE_DESCRIPTION_cnc"></maptype>
			<maptype players="32" type="cnc" locid="GAMEMODE_DESCRIPTION_cnc"></maptype>
			<maptype players="64" type="cnc" locid="GAMEMODE_DESCRIPTION_cnc"></maptype>
			<maptype players="128" type="cnc" locid="GAMEMODE_DESCRIPTION_cnc"></maptype>
		</mode>
		<mode type="gpm_coop">
			<maptype ai="1" players="16" type="coopinfantry" locid="GAMEMODE_DESCRIPTION_coopinfantry"></maptype>
			<maptype ai="1" players="32" type="coopalternative" locid="GAMEMODE_DESCRIPTION_coopalternative"></maptype>
			<maptype ai="1" players="64" type="coopfullassets" locid="GAMEMODE_DESCRIPTION_coopfullassets"></maptype>
			<maptype ai="1" players="128" type="coopfulllarge" locid="GAMEMODE_DESCRIPTION_coopfulllarge"></maptype>
		</mode>
	</modes>
</map>

Outlawz7 is offline
Last edited by [R-DEV]Outlawz7; 2018-04-29 at 15:34..
Reply With Quote
Old 2016-09-11, 09:36   #2
ALADE3N
Project Reality Beta Tester

ALADE3N's Avatar
Default Re: Default .desc file content

this really helps a lot sir , thank you for this
ALADE3N is offline Reply With Quote
Reply


Tags
content, default, desc, file
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 11:19.