This page is under construction
Archives/bf1942/levels/maps - with documentation/Bocage/Bocage_003.rfa
Bf1942/Levels/Bocage/Ctf.con
run Ctf/SpawnpointManagerSettings
run Ctf/SoldierSpawnTemplates
run Ctf/SoldierSpawns
run Ctf/ObjectSpawnTemplates
run Ctf/ControlPointTemplates
rem
rem *** Define flags ***
rem
ObjectTemplate.create Flag AxisFlag
ObjectTemplate.team 1
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 5
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedGeFlag
ObjectTemplate.create Flag AlliedFlag
ObjectTemplate.team 2
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 5
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedUsFlag
run Ctf/ObjectSpawns v_arg1
run Ctf/ControlPoints v_arg1
if v_arg1 == "host"
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** CREATE FLAG BASES ***
object.create GEbase
Object.absolutePosition 590/33.9902/1078
Object.rotation 0/0/0
object.create USbase
Object.absolutePosition 1214/20.6109/566
Object.rotation 0/0/0
rem ----------------------------------------------------------------------------
else
rem ----- Join
rem ----------------------------------------------------------------------------
rem *** CREATE FLAG BASES ***
object.create FlagPole
Object.absolutePosition 590/33.9902/1078
Object.rotation 0/0/0
object.create FlagPole
Object.absolutePosition 1214/20.6109/566
Object.rotation 0/0/0
rem ----------------------------------------------------------------------------
endIf
run Ctf/SoldierSpawnTemplates
run Ctf/SoldierSpawns
run Ctf/ObjectSpawnTemplates
run Ctf/ControlPointTemplates
rem
rem *** Define flags ***
rem
ObjectTemplate.create Flag AxisFlag
ObjectTemplate.team 1
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 5
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedGeFlag
ObjectTemplate.create Flag AlliedFlag
ObjectTemplate.team 2
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 5
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedUsFlag
run Ctf/ObjectSpawns v_arg1
run Ctf/ControlPoints v_arg1
if v_arg1 == "host"
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** CREATE FLAG BASES ***
object.create GEbase
Object.absolutePosition 590/33.9902/1078
Object.rotation 0/0/0
object.create USbase
Object.absolutePosition 1214/20.6109/566
Object.rotation 0/0/0
rem ----------------------------------------------------------------------------
else
rem ----- Join
rem ----------------------------------------------------------------------------
rem *** CREATE FLAG BASES ***
object.create FlagPole
Object.absolutePosition 590/33.9902/1078
Object.rotation 0/0/0
object.create FlagPole
Object.absolutePosition 1214/20.6109/566
Object.rotation 0/0/0
rem ----------------------------------------------------------------------------
endIf