rem ********** Object Spawner **********
if v_arg1 == host

endIf

rem ********** Spawn Points **********
rem [SpawnPointTemplate: US_HeadQuarters_1]
ObjectTemplate.create SpawnPoint US_HeadQuarters_1
ObjectTemplate.activeSafe SpawnPoint US_HeadQuarters_1
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 1

rem [SpawnPoint: US_HeadQuarters_1]
Object.create US_HeadQuarters_1
Object.absolutePosition -172.929/62.000/169.078
Object.rotation 29.317/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: US_HeadQuarters_2]
ObjectTemplate.create SpawnPoint US_HeadQuarters_2
ObjectTemplate.activeSafe SpawnPoint US_HeadQuarters_2
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 1

rem [SpawnPoint: US_HeadQuarters_2]
Object.create US_HeadQuarters_2
Object.absolutePosition -169.240/62.000/172.151
Object.rotation -85.645/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: US_HeadQuarters_3]
ObjectTemplate.create SpawnPoint US_HeadQuarters_3
ObjectTemplate.activeSafe SpawnPoint US_HeadQuarters_3
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 1

rem [SpawnPoint: US_HeadQuarters_3]
Object.create US_HeadQuarters_3
Object.absolutePosition -190.908/62.000/175.108
Object.rotation 100.508/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: US_HeadQuarters_4]
ObjectTemplate.create SpawnPoint US_HeadQuarters_4
ObjectTemplate.activeSafe SpawnPoint US_HeadQuarters_4
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 1

rem [SpawnPoint: US_HeadQuarters_4]
Object.create US_HeadQuarters_4
Object.absolutePosition -180.426/62.000/187.491
Object.rotation 174.256/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: US_HeadQuarters_5]
ObjectTemplate.create SpawnPoint US_HeadQuarters_5
ObjectTemplate.activeSafe SpawnPoint US_HeadQuarters_5
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 1

rem [SpawnPoint: US_HeadQuarters_5]
Object.create US_HeadQuarters_5
Object.absolutePosition -183.670/62.000/166.385
Object.rotation 35.913/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: Town_Center_1]
ObjectTemplate.create SpawnPoint Town_Center_1
ObjectTemplate.activeSafe SpawnPoint Town_Center_1
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 2

rem [SpawnPoint: Town_Center_1]
Object.create Town_Center_1
Object.absolutePosition -21.759/62.000/8.956
Object.rotation 8.912/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: Town_Center_2]
ObjectTemplate.create SpawnPoint Town_Center_2
ObjectTemplate.activeSafe SpawnPoint Town_Center_2
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 2

rem [SpawnPoint: Town_Center_2]
Object.create Town_Center_2
Object.absolutePosition -9.173/62.000/15.285
Object.rotation -62.491/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: Town_Center_3]
ObjectTemplate.create SpawnPoint Town_Center_3
ObjectTemplate.activeSafe SpawnPoint Town_Center_3
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 2

rem [SpawnPoint: Town_Center_3]
Object.create Town_Center_3
Object.absolutePosition -18.587/62.067/18.459
Object.rotation -37.900/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: Town_Center_4]
ObjectTemplate.create SpawnPoint Town_Center_4
ObjectTemplate.activeSafe SpawnPoint Town_Center_4
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 2

rem [SpawnPoint: Town_Center_4]
Object.create Town_Center_4
Object.absolutePosition -21.608/62.000/28.063
Object.rotation 166.580/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: Town_Center_5]
ObjectTemplate.create SpawnPoint Town_Center_5
ObjectTemplate.activeSafe SpawnPoint Town_Center_5
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 2

rem [SpawnPoint: Town_Center_5]
Object.create Town_Center_5
Object.absolutePosition -29.363/62.000/15.677
Object.rotation 61.283/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: CHINESE_HEADQUARTERS_1_0]
ObjectTemplate.create SpawnPoint CHINESE_HEADQUARTERS_1_0
ObjectTemplate.activeSafe SpawnPoint CHINESE_HEADQUARTERS_1_0
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 3

rem [SpawnPoint: CHINESE_HEADQUARTERS_1_0]
Object.create CHINESE_HEADQUARTERS_1_0
Object.absolutePosition 184.201/62.000/-181.987
Object.rotation -160.200/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: CHINESE_HEADQUARTERS_2_0]
ObjectTemplate.create SpawnPoint CHINESE_HEADQUARTERS_2_0
ObjectTemplate.activeSafe SpawnPoint CHINESE_HEADQUARTERS_2_0
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 3

rem [SpawnPoint: CHINESE_HEADQUARTERS_2_0]
Object.create CHINESE_HEADQUARTERS_2_0
Object.absolutePosition 179.604/62.000/-164.679
Object.rotation -165.091/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: CHINESE_HEADQUARTERS_3_0]
ObjectTemplate.create SpawnPoint CHINESE_HEADQUARTERS_3_0
ObjectTemplate.activeSafe SpawnPoint CHINESE_HEADQUARTERS_3_0
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 3

rem [SpawnPoint: CHINESE_HEADQUARTERS_3_0]
Object.create CHINESE_HEADQUARTERS_3_0
Object.absolutePosition 166.831/62.000/-174.029
Object.rotation 92.246/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: CHINESE_HEADQUARTERS_4_0]
ObjectTemplate.create SpawnPoint CHINESE_HEADQUARTERS_4_0
ObjectTemplate.activeSafe SpawnPoint CHINESE_HEADQUARTERS_4_0
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 3

rem [SpawnPoint: CHINESE_HEADQUARTERS_4_0]
Object.create CHINESE_HEADQUARTERS_4_0
Object.absolutePosition 188.299/62.000/-176.468
Object.rotation -79.757/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: CHINESE_HEADQUARTERS_5_0]
ObjectTemplate.create SpawnPoint CHINESE_HEADQUARTERS_5_0
ObjectTemplate.activeSafe SpawnPoint CHINESE_HEADQUARTERS_5_0
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 3

rem [SpawnPoint: CHINESE_HEADQUARTERS_5_0]
Object.create CHINESE_HEADQUARTERS_5_0
Object.absolutePosition 177.199/62.000/-185.816
Object.rotation -0.957/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: OIL_FIELDS_1]
ObjectTemplate.create SpawnPoint OIL_FIELDS_1
ObjectTemplate.activeSafe SpawnPoint OIL_FIELDS_1
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 4

rem [SpawnPoint: OIL_FIELDS_1]
Object.create OIL_FIELDS_1
Object.absolutePosition 176.333/62.000/152.923
Object.rotation -85.689/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: OIL_FIELDS_2]
ObjectTemplate.create SpawnPoint OIL_FIELDS_2
ObjectTemplate.activeSafe SpawnPoint OIL_FIELDS_2
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 4

rem [SpawnPoint: OIL_FIELDS_2]
Object.create OIL_FIELDS_2
Object.absolutePosition 185.919/62.000/170.348
Object.rotation -144.114/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: OIL_FIELDS_3]
ObjectTemplate.create SpawnPoint OIL_FIELDS_3
ObjectTemplate.activeSafe SpawnPoint OIL_FIELDS_3
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 4

rem [SpawnPoint: OIL_FIELDS_3]
Object.create OIL_FIELDS_3
Object.absolutePosition 173.038/62.000/170.471
Object.rotation 178.577/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: OIL_FIELDS_4]
ObjectTemplate.create SpawnPoint OIL_FIELDS_4
ObjectTemplate.activeSafe SpawnPoint OIL_FIELDS_4
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 4

rem [SpawnPoint: OIL_FIELDS_4]
Object.create OIL_FIELDS_4
Object.absolutePosition 190.219/62.000/134.536
Object.rotation -42.002/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: OIL_FIELDS_5]
ObjectTemplate.create SpawnPoint OIL_FIELDS_5
ObjectTemplate.activeSafe SpawnPoint OIL_FIELDS_5
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 4

rem [SpawnPoint: OIL_FIELDS_5]
Object.create OIL_FIELDS_5
Object.absolutePosition 143.106/62.000/178.050
Object.rotation 129.367/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: Mines_1]
ObjectTemplate.create SpawnPoint Mines_1
ObjectTemplate.activeSafe SpawnPoint Mines_1
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 5

rem [SpawnPoint: Mines_1]
Object.create Mines_1
Object.absolutePosition -182.026/62.249/-152.164
Object.rotation 92.965/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: Mines_2]
ObjectTemplate.create SpawnPoint Mines_2
ObjectTemplate.activeSafe SpawnPoint Mines_2
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 5

rem [SpawnPoint: Mines_2]
Object.create Mines_2
Object.absolutePosition -179.967/61.622/-183.212
Object.rotation 11.629/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: Mines_3]
ObjectTemplate.create SpawnPoint Mines_3
ObjectTemplate.activeSafe SpawnPoint Mines_3
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 5

rem [SpawnPoint: Mines_3]
Object.create Mines_3
Object.absolutePosition -148.865/61.961/-153.517
Object.rotation -87.876/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: Mines_4]
ObjectTemplate.create SpawnPoint Mines_4
ObjectTemplate.activeSafe SpawnPoint Mines_4
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 5

rem [SpawnPoint: Mines_4]
Object.create Mines_4
Object.absolutePosition -158.277/60.516/-176.332
Object.rotation -32.959/0.000/0.000
Object.layer 1

rem [SpawnPointTemplate: Mines_5]
ObjectTemplate.create SpawnPoint Mines_5
ObjectTemplate.activeSafe SpawnPoint Mines_5
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.setSpawnPositionOffset 0/1.25/0
ObjectTemplate.setControlPointId 5

rem [SpawnPoint: Mines_5]
Object.create Mines_5
Object.absolutePosition -173.396/61.991/-137.631
Object.rotation -178.962/0.000/0.000
Object.layer 1

rem ********** Control Points **********
rem [ControlPointTemplate: US_HeadQuarters]
ObjectTemplate.create ControlPoint US_HeadQuarters
ObjectTemplate.activeSafe ControlPoint US_HeadQuarters
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.setNetworkableInfo ControlPointInfo
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
rem -------------------------------------
ObjectTemplate.addTemplate flagpole
rem -------------------------------------
ObjectTemplate.setControlPointName US_HeadQuarters
ObjectTemplate.radius 10
ObjectTemplate.team 1
ObjectTemplate.controlPointId 1
ObjectTemplate.hoistMinMax 0.2/0.9

rem [ControlPointTemplate: Town_Center]
ObjectTemplate.create ControlPoint Town_Center
ObjectTemplate.activeSafe ControlPoint Town_Center
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.setNetworkableInfo ControlPointInfo
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
rem -------------------------------------
ObjectTemplate.addTemplate flagpole
rem -------------------------------------
ObjectTemplate.setControlPointName Town_Center
ObjectTemplate.radius 10
ObjectTemplate.controlPointId 2
ObjectTemplate.hoistMinMax 0.2/0.9

rem [ControlPointTemplate: CHINESE_HEADQUARTERS]
ObjectTemplate.create ControlPoint CHINESE_HEADQUARTERS
ObjectTemplate.activeSafe ControlPoint CHINESE_HEADQUARTERS
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.setNetworkableInfo ControlPointInfo
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
rem -------------------------------------
ObjectTemplate.addTemplate flagpole
rem -------------------------------------
ObjectTemplate.setControlPointName CHINESE_HEADQUARTERS
ObjectTemplate.radius 10
ObjectTemplate.team 2
ObjectTemplate.controlPointId 3
ObjectTemplate.hoistMinMax 0.2/0.9

rem [ControlPointTemplate: OIL_FIELDS]
ObjectTemplate.create ControlPoint OIL_FIELDS
ObjectTemplate.activeSafe ControlPoint OIL_FIELDS
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.setNetworkableInfo ControlPointInfo
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
rem -------------------------------------
ObjectTemplate.addTemplate flagpole
rem -------------------------------------
ObjectTemplate.setControlPointName OIL_FIELDS
ObjectTemplate.radius 10
ObjectTemplate.controlPointId 4
ObjectTemplate.hoistMinMax 0.2/0.9

rem [ControlPointTemplate: Mines]
ObjectTemplate.create ControlPoint Mines
ObjectTemplate.activeSafe ControlPoint Mines
ObjectTemplate.modifiedByUser "IMO_THJ"
ObjectTemplate.setNetworkableInfo ControlPointInfo
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
rem -------------------------------------
ObjectTemplate.addTemplate flagpole
rem -------------------------------------
ObjectTemplate.setControlPointName Mines
ObjectTemplate.radius 10
ObjectTemplate.controlPointId 5
ObjectTemplate.hoistMinMax 0.2/0.9

if v_arg1 == host

   rem [ControlPoint: US_HeadQuarters]
   Object.create US_HeadQuarters
   Object.absolutePosition -178.509/62.180/172.892
   Object.layer 1

   rem [ControlPoint: Town_Center]
   Object.create Town_Center
   Object.absolutePosition -19.891/62.000/20.867
   Object.layer 1

   rem [ControlPoint: CHINESE_HEADQUARTERS]
   Object.create CHINESE_HEADQUARTERS
   Object.absolutePosition 177.009/62.000/-174.428
   Object.layer 1

   rem [ControlPoint: OIL_FIELDS]
   Object.create OIL_FIELDS
   Object.absolutePosition 173.468/62.000/153.139
   Object.layer 1

   rem [ControlPoint: Mines]
   Object.create Mines
   Object.absolutePosition -177.567/62.083/-152.568
   Object.layer 1

endIf

CombatAreaManager.use 0
CombatAreaManager.timeAllowedOutside 10.000000
