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

Thread Tools Display Modes
Old 02-21-2010, 05:01 AM   #1

orunes's Avatar
Post [Question] how can I change a faction on a map?

I asked myself how I could change a faction on a map. (in SP)
Maybe you can tell me how to change the map name an its discription either.
For example: Fushe pass: PLA vs USMC
How can I change this into PLA vs MEC?
I'm asking it here because I can't find it on google or other forums and because you have shown me great modding work.
I can't install BF2 map editor because of my vista computer,

Please help me.

(Sorry about my English)
orunes is offline Reply With Quote
Old 02-21-2010, 10:33 AM   #2

Wakain's Avatar
Default Re: [Question] how can I change a faction on a map?

that's really quite simple, in the init.con located in the maps you can change factions
with fushe pass you'll see this:

gameLogic.setTeamName 1 "CH"
gameLogic.setTeamName 2 "US"

gameLogic.setTeamLanguage 1 "Chinese"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_ch"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "CH_Specops" "ch_light_soldier"
gameLogic.setKit 2 0 "US_Specops" "us_light_soldier"

gameLogic.setKit 1 1 "CH_Sniper" "ch_light_soldier"
gameLogic.setKit 2 1 "US_Sniper" "us_light_soldier"

gameLogic.setKit 1 2 "CH_Assault" "ch_heavy_soldier"
gameLogic.setKit 2 2 "US_Assault" "US_heavy_soldier"

gameLogic.setKit 1 3 "CH_Support" "ch_heavy_soldier"
gameLogic.setKit 2 3 "US_Support" "US_heavy_soldier"

gameLogic.setKit 1 4 "CH_Engineer" "ch_light_soldier"
gameLogic.setKit 2 4 "US_Engineer" "us_light_soldier"

gameLogic.setKit 1 5 "CH_Medic" "ch_light_soldier"
gameLogic.setKit 2 5 "US_Medic" "us_light_soldier"

gameLogic.setKit 1 6 "CH_AT" "ch_heavy_soldier"
gameLogic.setKit 2 6 "US_AT" "US_heavy_soldier"

now open up the init.con of a map in which the mec plays for reference and copy all mec related lines in the place of the US lines.

to change the init.con you have to extract it somewhere, open it with a program that can(I use BFEdit, just search it on the web)and after you're finished you put it into the it belonged, override the old version and you're done.
Wakain is offline Reply With Quote
Old 02-21-2010, 10:35 AM   #3

gazzthompson's Avatar
Default Re: [Question] how can I change a faction on a map?

Modding Tutorials - Project Reality Forums

gazzthompson is offline Reply With Quote
Old 02-21-2010, 10:39 AM   #4

orunes's Avatar
Smile Re: [Question] how can I change a faction on a map?

Both thank you for your help!
I´m sure this is enough for me for now!!!!
Thnx again!
orunes is offline Reply With Quote

change, faction, map, question
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 -4. The time now is 01:54 PM.

Powered by: vBulletin. ©vBulletin Solutions, Inc.
All Content Copyright ©2004 - 2018, Project Reality