This will kill any enemy that enters or gets on top of the hanger,
Open the GPO(gameplayobjects.con) file of your choice! Step 1.
Paste the following code just above the controlpoint templates ex: Code:
RIGHT HERE
rem ********** Control Points **********
rem [ControlPointTemplate: CPNAME_Iraqi_Main]
Heres the code: Code:ObjectTemplate.create SupplyObject killhanger_americans
ObjectTemplate.modifiedByUser psh
ObjectTemplate.createdInEditor 1
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.radius 31
ObjectTemplate.damageSpeed 50
ObjectTemplate.team 2
ObjectTemplate.create SupplyObject killhanger_iraqis
ObjectTemplate.modifiedByUser psh
ObjectTemplate.createdInEditor 1
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.radius 31
ObjectTemplate.damageSpeed 50
ObjectTemplate.team 1
[b]Step 2.
Now open "staticobjects.con", Search for "hangar1" and copy the entire code block for each hanger1 you find to a notepad file You should have 1 block like this from EACH hanger on the map with
correct coords not
?/?/?:
Code:rem *** hangar1 ***
Object.create hangar1
Object.absolutePosition ?/?/?
Object.rotation ?/?/?
Object.layer 1
for the american hangers block change the following:
Replace
Object.create hangar1 with
Object.create killhanger_iraqis for the iraqi hangers block change the following:
Replace
Object.create hangar1 with
Object.create killhanger_americans Now paste both the blocks into the gameplayobjects.con file just after the controlpoints:
Code: rem [ControlPoint: CPNAME_South_Outpost]
Object.create CPNAME_South_Outpost
Object.absolutePosition -102.533/104.350/-459.717
Object.layer 1
RIGHT HERE
endIf
save, repackage into the zip in correct gpm and size folder