Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sat Apr 27, 2024 3:56 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Wed Sep 01, 2004 5:11 pm 
Offline

Joined: Sat Aug 28, 2004 12:00 am
Posts: 344
Location: Anaheim, CA
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.

_________________
Image


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 186 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group