Page 1 of 1

VERY simple mod

Posted: Mon Apr 30, 2012 2:08 pm
by Kaisaros
Hi everybody;
i'd like to know how it is possible to mod a map
in order to change the army you use.

For example to mod a map to use
the Italian army instead of german army,
without modding the rest.

Just the same map and mission,with another army.
Is it possible?
I hope it's not that complicated.

Thank you!

Re: VERY simple mod

Posted: Tue May 01, 2012 11:20 pm
by Shrooms
What mod are you making a map for? Forgotten hope? I don't have that installed. Regular bf1942 doesn't have an Italian army, I'm unsure of what the kit names you need are. Anyways I'm sure you can substitute for the correct army you want.

Open your map's init.con

find
game.setTeamSkin #
game.setKit # 0
game.setKit # 1
game.setKit # 2
game.setKit # 3
game.setKit # 4

# is 1 or 2, which ever one german is set to

example
game.setTeamSkin 1 GermanSoldier
game.setKit 1 0 German_Scout
game.setKit 1 1 German_Assault
game.setKit 1 2 German_AT
game.setKit 1 3 German_Medic
game.setKit 1 4 German_Engineer

replace with needed kit names. For example, i'm replacing the german team with the russian team

game.setTeamSkin 1 RussianSoldier
game.setKit 1 0 Rus_Scout
game.setKit 1 1 Rus_Assault
game.setKit 1 2 Rus_AT
game.setKit 1 3 Rus_Medic
game.setKit 1 4 Rus_Engineer

You also need to make sure you have the team flags correct

Since team 1 was german, yet now russian, find the following, still in init.con

ObjectTemplate.create Flag BlueFlag
ObjectTemplate.team 1
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 5
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedGeFlag

you need to change what is in bold, the russian flag the the following AnimatedSoFlag

Re: VERY simple mod

Posted: Fri May 04, 2012 12:48 am
by dudejo
Don't forget to change the vehicles if it applies.

For example, if you bring in Russians instead of Americans, you'll still have Shermans unless you mod the object spawn template file to get the proper T-34 tanks.