How To Swap the Main Bases

by tacoman

yes, this is a very simple mod, not sure if anyone else figured it out but this is what i did. i will use desert combats el_alamein for this example.

 

in ControlPointTemplates.con:

find the 2 teams bases you want to swap 2 settings for each team base:
ObjectTemplate.spawnGroupId ObjectTemplate.objectSpawnerId

the lines that were swapped are in bold. so for blue once it is swapped on el al it will look like

ObjectTemplate.create ControlPoint AlliesBase
ObjectTemplate.networkableInfo ControlPointInfo
ObjectTemplate.setControlPointName British_Base
ObjectTemplate.radius 5
ObjectTemplate.team 2
ObjectTemplate.spawnGroupId 1
ObjectTemplate.objectSpawnerId 5
ObjectTemplate.areaValue 0
ObjectTemplate.timeToGetControl 9999
ObjectTemplate.timeToLoseControl 9999
ObjectTemplate.disableIfEnemyInsideRadius 0
ObjectTemplate.disableWhenLosingControl 0
ObjectTemplate.loseControlWhenEnemyClose 1
ObjectTemplate.loseControlWhenNotClose 0
ObjectTemplate.geometry flagbase_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.unableToChangeTeam 1
ObjectTemplate.addTemplate AnimatedFlag
ObjectTemplate.unableToChangeTeam 1
ObjectTemplate.setPosition 0/8.2/0
ObjectTemplate.setTeamGeometry 1 flagge_m1
ObjectTemplate.setTeamGeometry 2 flagus_m1

and for red:

ObjectTemplate.create ControlPoint AxisBase
ObjectTemplate.networkableInfo ControlPointInfo
ObjectTemplate.setControlPointName German_Base
ObjectTemplate.radius 5
ObjectTemplate.team 1
ObjectTemplate.spawnGroupId 4
ObjectTemplate.objectSpawnerId 4
ObjectTemplate.areaValue 0
ObjectTemplate.timeToGetControl 9999
ObjectTemplate.timeToLoseControl 9999
ObjectTemplate.disableIfEnemyInsideRadius 0
ObjectTemplate.disableWhenLosingControl 0
ObjectTemplate.loseControlWhenEnemyClose 1
ObjectTemplate.loseControlWhenNotClose 0
ObjectTemplate.geometry flagbase_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.addTemplate AnimatedFlag
ObjectTemplate.unableToChangeTeam 1
ObjectTemplate.setPosition 0/8.2/0
ObjectTemplate.setTeamGeometry 1 flagge_m1
ObjectTemplate.setTeamGeometry 2 flagus_m1

swapping those two lines makes it so that the right vehicles and soldiers spawn at the bases once they are swapped.

 

in ControlPoints.con:

find the 2 teams bases you want to swap the Object.absolutePosition for each team base:
the lines that were swapped are in bold.

so once it is swapped on el al it will look like

Object.create AlliesBase
Object.absolutePosition 451.573/40.2/1271.61

Object.create AxisBase
Object.absolutePosition 1694.08/60/804.904

also just on a note i pulled the ControlPointTemplates.con from the el_alamein.rfa in the bf1942 mods folder since that file is not in the dc el_alamein.rfa.