This page is under construction
Archives/bf1942/levels/Baidoa.rfa
bf1942/Levels/Baidoa/ObjectiveMode/ObjectiveSpawnerTemplates.con
rem ======== Networkable ============================
NetworkableInfo.createNewInfo ObjectiveInfo
NetworkableInfo.setPredictionMode PMNone
NetworkableInfo.setBasePriority c_NIGhostAlways
rem ================ ObjectiveTemplates =====================
rem // Axis = 1 , Allied = 2
ObjectTemplate.create DestroyTargetObjective Destroyweaponscache01
ObjectTemplate.setNetworkableInfo ObjectiveInfo
ObjectTemplate.setTargetName weaponscache01
ObjectTemplate.ObjectiveName Weaponcache#1
ObjectTemplate.setObjectiveDelay 1.0
ObjectTemplate.setTeam 2
ObjectTemplate.create DestroyTargetObjective Destroyweaponscache02
ObjectTemplate.setNetworkableInfo ObjectiveInfo
ObjectTemplate.setTargetName weaponscache02
ObjectTemplate.ObjectiveName Weaponcache#2
ObjectTemplate.setObjectiveDelay 1.0
ObjectTemplate.setTeam 2
ObjectTemplate.create DestroyTargetObjective Destroyweaponscache03
ObjectTemplate.setNetworkableInfo ObjectiveInfo
ObjectTemplate.setTargetName weaponscache03
ObjectTemplate.ObjectiveName Weaponcache#3
ObjectTemplate.setObjectiveDelay 1.0
ObjectTemplate.setTeam 2
ObjectTemplate.create DestroyTargetObjective Destroyweaponscache04
ObjectTemplate.setNetworkableInfo ObjectiveInfo
ObjectTemplate.setTargetName weaponscache04
ObjectTemplate.ObjectiveName Weaponcache#4
ObjectTemplate.setObjectiveDelay 1.0
ObjectTemplate.setTeam 2
ObjectTemplate.create ANDCompositeObjective Composite
ObjectTemplate.setNetworkableInfo ObjectiveInfo
ObjectTemplate.addObjectiveSpawnerToComposite ObjectiveSpawner01
ObjectTemplate.addObjectiveSpawnerToComposite ObjectiveSpawner02
ObjectTemplate.addObjectiveSpawnerToComposite ObjectiveSpawner03
ObjectTemplate.addObjectiveSpawnerToComposite ObjectiveSpawner04
ObjectTemplate.setObjectiveDelay 3.0
ObjectTemplate.setTeam 2
ObjectTemplate.create TimerObjective Timer
ObjectTemplate.setNetworkableInfo ObjectiveInfo
ObjectTemplate.TimeLimit 1500.0
ObjectTemplate.setObjectiveDelay 3.0
ObjectTemplate.setTeam 2
rem ============== ObjectTemplate for the objects to be destoryed ================
rem if v_arg1 == host
rem -----------------------------------------
rem --- CIS_obj_weaponscache_Spawner ---
rem -----------------------------------------
ObjectTemplate.create ObjectSpawner CIS_obj_weaponscache_Spawner
ObjectTemplate.setObjectTemplate 1 CIS_obj_weaponscache
ObjectTemplate.setObjectTemplate 2 CIS_obj_weaponscache
ObjectTemplate.SpawnDelay 9999
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 0
ObjectTemplate.teamOnVehicle 1
rem ================= OjectiveSpawnerTemplates =======================================
ObjectTemplate.create ObjectSpawner DestroyObjectiveSpawner01
ObjectTemplate.setObjectTemplate 2 Destroyweaponscache01
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.setTeam 2
ObjectTemplate.create ObjectSpawner DestroyObjectiveSpawner02
ObjectTemplate.setObjectTemplate 2 Destroyweaponscache02
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.setTeam 2
ObjectTemplate.create ObjectSpawner DestroyObjectiveSpawner03
ObjectTemplate.setObjectTemplate 2 Destroyweaponscache03
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.setTeam 2
ObjectTemplate.create ObjectSpawner DestroyObjectiveSpawner04
ObjectTemplate.setObjectTemplate 2 Destroyweaponscache04
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.setTeam 2
ObjectTemplate.create ObjectSpawner ANDCompositeObjectiveSpawner
ObjectTemplate.setObjectTemplate 2 Composite
ObjectTemplate.setTeam 2
ObjectTemplate.create ObjectSpawner TimerObjectiveSpawner
ObjectTemplate.setObjectTemplate 1 Timer
ObjectTemplate.setSpawnDelay 1
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.setTeam 1
rem endIf