Jump to content

Graw 2 not responding


Recommended Posts

Hi Guys,

I have modified Mexbob's Ahmada map and all was going well and all working and all of a sudden i can't play it.( this is in testing before bundling) All other maps work fine. Just gets to loading screen and doesn't continue, no error comes up but in task manager says graw 2 not responding. can still use editor as normal.

Below is my system and mission... everthing was working fine. Any help would be greatly appreciated

System

OS Name    Microsoft Windows 7 Home Premium    
Version    6.1.7601 Service Pack 1 Build 7601    
Other OS Description     Not Available    
OS Manufacturer    Microsoft Corporation    
System Name    POPEY-PC    
System Manufacturer    Gigabyte Technology Co., Ltd.    
System Model    GA-MA74GMT-S2    
System Type    x64-based PC    
Processor    AMD Athlon(tm) II X4 620 Processor, 2600 Mhz, 4 Core(s), 4 Logical Processor(s)    
BIOS Version/Date    Award Software International, Inc. F1, 19/11/2009    
SMBIOS Version    2.4    
Windows Directory    C:\Windows    
System Directory    C:\Windows\system32    
Boot Device    \Device\HarddiskVolume2    
Locale    Australia    
Hardware Abstraction Layer    Version = "6.1.7601.17514"    
User Name    Popey-PC\Popey    
Time Zone    E. Australia Standard Time    
Installed Physical Memory (RAM)    4.00 GB    
Total Physical Memory    4.00 GB    
Available Physical Memory    2.31 GB    
Total Virtual Memory    8.00 GB    
Available Virtual Memory    6.26 GB    
Page File Space    4.00 GB   

 

Mission

  <?xml version="1.0" encoding="ISO-8859-1"?>
<!--
This is a basic mission template created by davros for the wiki at graw2.pbwiki.com
Please register and contribute to the community of knowledge on making GRAW2  coop missions

It required you to define the following things in the map editor.
coop_spawn : the initial spawn location for the ghosts
loc_trig01        : the first trigger location - causes the enemy patrol to spawn
loc_trig02         : another location on the map. Displays a message on the screen...up to you to make it do more :)
loc_extraction : the location the ghosts need to get to to extract
Patrol01          : a mexical patrol

=============================================================================================

Mission created by <put your details here> - <date created>
CONTACT ME AT <your contact details> FOR INFORMATION ON THIS MISSION

====================    popey_ahmada_v1   ==========================================
-->
<mission_script>
    <xi:include href = "/data/levels/common/common.xml#xpointer(/common/*)"/>
    <xi:include href = "/data/levels/common/coop_ranks_ogr_quarry.xml"/>
    <xi:include href = "/data/levels/common/coop_rules.xml"/>


<!--Set up for the game
==================-->
   <event name = "start_mission">
        <!--Environment variables wind, smoke etc-->
        <element type = "SetWindEnable" value = "true" start_time = "2"/>
        <element type = "SetWindDirection" degrees = "90" variation = "30" time = "5" start_time = "4"/>
        <element type = "SetWindTilt" degrees = "-5" variation = "15" time = "8" start_time = "6"/>
        <element type = "SetWindSpeed" unit = "beaufort" speed = "2" variation = "2" time = "7" start_time = "3"/>
        <element type = "SetSpawnLocation" location = "coop_spawn" side = "1" set = "true"/>

        <!--Start the first trigget location, and a trigger for group01 dying and for the objectives complete/end of game trigger-->
        <element type="StartTrigger" name="t_loc_trig01" start_time = "1"/>
        
        
    <!--DEBUG CODE - Useful for making the ghost invisible/tough for testing the mission
            <element type="AlterGroupStats" player_type="team_a"  invisible="true" max_health="5000" health="5000" start_time="15"/>
    <!--DEBUG CODE - REMOVE-->
           
        <element type = "CreateUnit" weapon="predator" pos="-16094.966 -26440.396 -1071.7456" spare_clips="1" yaw_pitch_roll="0 0 50" />
        <element type = "CreateUnit" weapon="predator" pos="-22244.076 -18816.762 -970.76996" spare_clips="1" yaw_pitch_roll="0 0 50" />
        <element type = "CreateUnit" weapon="predator" pos="-24814.146 -18003.928 -970.45221" spare_clips="1" yaw_pitch_roll="0 0 50" />
        <element type = "CreateUnit" weapon="predator" pos="-8194.3174 14787.844 31.996658" spare_clips="1" yaw_pitch_roll="0 0 50" />
        <element type = "CreateUnit" weapon="predator" pos="-6026.3262 17863.893 42.435692" spare_clips="1" yaw_pitch_roll="0 0 50" />
          <element type = "CreateUnit" weapon="predator" pos="-22853.723 24419.492 111.98942" spare_clips="1" yaw_pitch_roll="0 0 50" />
        <element type = "CreateUnit" weapon="predator" pos="7157.2676 -11197.269 -902.28265" spare_clips="1" yaw_pitch_roll="0 0 50" />
        <element type = "CreateUnit" weapon="predator" pos="13597.596 -6993.3784 31.996628" spare_clips="1" yaw_pitch_roll="0 0 50" />
        <element type = "CreateUnit" weapon="predator" pos="13320.648 14859.841 31.996643" spare_clips="1" yaw_pitch_roll="0 0 50" />
          <element type = "CreateUnit" weapon="predator" pos="18174.471 14430.469 32.040939" spare_clips="1" yaw_pitch_roll="0 0 50" />
        <element type = "CreateUnit" weapon="predator" pos="9011.8633 4379.7637 1035.8419" spare_clips="1" yaw_pitch_roll="0 0 50" />

        <element type = "ActivateVehicle" vehicle_id="abrams01" start_time = ".5"/>
        

</event>

<!--Location 01
============-->
     <trigger name ="t_loc_trig01" interval="2" preserved="false">
        <condition type ="UnitInLocation" location ="loc_trig01" player_type = "team_a" greater_than="0"/>
        <event name ="e_loc_trig01"/>
    </trigger>    
    <event name = "e_loc_trig01">
        <element type = "StopTrigger" name = "t_loc_trig01"/>
        <element type="Objective" id="obj1" state="add" headline_id="Destroy Adat01" txt_id="Adat01" waypoint_id="ADAT01" vehicle_id="adat01"  start_time="2"/>
        <element type="MakeAttachable" attach="true" vehicle_id="adat01" start_time="1"/>
        <element type="ShowMessage" msg="Let's rock and roll " />
        <element type="StartTrigger" name="t_loc_trig02" start_time = "4"/>

        <element type = "ActivateVehicle" vehicle_id="abrams02" start_time = "1"/>
         <element type = "MakeAttachable" attach="true" detonate_event="e_destroyed_abrams02" vehicle_id="abrams02" start_time = "2"/>
        <element type="OrderTank" vehicle_id="abrams02" ai="true" order="patrol" speed="1" start_time="5">    
<!--    POS 3     -->    <waypoint position="-23920.986 -10788.164 -918.367"/>
<!--    POS 2 -->    <waypoint position="-19408.438 -14190.503 -812.27539"/>
<!--    POS 1 -->    <waypoint position="-10918.91 -13483.637 -743.80103"/>

        </element>     

         <element type = "ActivateVehicle" vehicle_id="abrams03" start_time = "5"/>
         <element type = "MakeAttachable" attach="true" detonate_event="e_destroyed_abrams03" vehicle_id="abrams03" start_time = "6"/>
        <element type="OrderTank" vehicle_id="abrams03" ai="true" order="patrol" speed="1" start_time="9">    
<!--    POS 2 -->    <waypoint position="-19679.51 -14334.377 -794.15668"/>
<!--    POS 1 -->    <waypoint position="-11139.1 -14828.47 -584.05988"/>

        </element>     

        <element type = "ActivateVehicle" vehicle_id="abrams15" start_time = "3"/>
         <element type = "MakeAttachable" attach="true" detonate_event="e_destroyed_abrams15" vehicle_id="abrams15" start_time = "4"/>
        <element type="OrderTank" vehicle_id="abrams15" ai="true" order="patrol" speed="1" start_time="7">    
<!--    POS 3     -->    <waypoint position="-11497.84 -10546.482 -863.92963"/>
<!--    POS 2 -->    <waypoint position="-12336.221 -5944.3472 -552.33051"/>
<!--    POS 1 -->    <waypoint position="-11717.967 2052.4441 -869.41449"/>

        </element>     


        <element type="ActivateVehicle" vehicle_id="havoc02" start_time="3"/>
        <element type="OrderHeli" vehicle_id="havoc02" order="move" speed="5" up="3000" start_time="5"/>
        <element type="OrderHeli" vehicle_id="havoc02" order="guard" speed="8" position="-4006.7551 -25595.627 -782.84454"inner_radius="1600" outer_radius="3000" start_time="6"/>     

        <element type="ActivateVehicle" vehicle_id="havoc08" start_time="4"/>
        <element type="OrderHeli" vehicle_id="havoc08" order="move" speed="5" up="3000" start_time="6"/>
        <element type="OrderHeli" vehicle_id="havoc08" order="guard" speed="8" position="-4006.7551 -25595.627 -782.84454"inner_radius="1800" outer_radius="3200" start_time="7"/>     


        <element type="ActivateVehicle" vehicle_id="panhard02" start_time="30"/>
        <element type="OrderCar" vehicle_id="panhard02" order="move" position="-16651 -16897 -1000" start_time="31"/>       
        <element type="StartTrigger" name="t_panhard02_unload"/>


        <element type="ActivateVehicle" vehicle_id="panhard01" start_time="20"/>
        <element type="OrderCar" vehicle_id="panhard01" order="move" position="-14222 -17214 -1000" start_time="21"/>       
        <element type="StartTrigger" name="t_panhard01_unload"/>-->

<!--Activate the enemy soldiers-->
        <element type = "ActivateGroup" group_id = "patrol01"/>
        <element type = "ActivateGroup" group_id = "sniper01"/>
        
         

</event>

<!--Location 02
============-->
     <trigger name ="t_loc_trig02" interval="2" preserved="false">
        <condition type ="UnitInLocation" location ="loc_trig02" player_type = "team_a" greater_than="0"/>
        <event name ="e_loc_trig02"/>
    </trigger>    

    <event name = "e_loc_trig02">
        <element type = "StopTrigger" name = "t_loc_trig02"/>
        <element type="ShowMessage" msg="location02 " />
        <element type="Objective" id="obj2" state="add" headline_id="Destroy Adat02" txt_id="Adat02" waypoint_id="ADAT02" vehicle_id="adat02"  start_time="2"/>
        <element type="MakeAttachable" attach="true" vehicle_id="adat02" start_time="1"/>
        <element type="StartTrigger" name="t_loc_trig03" start_time = "4"/>
        <element type = "SetSpawnLocation" location = "coop_spawn" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn01" side = "1" set = "true"/>
        
        <element type = "ActivateVehicle" vehicle_id="abrams04" start_time = "1"/>
         <element type = "MakeAttachable" attach="true" detonate_event="e_destroyed_abrams04" vehicle_id="abrams04" start_time = "2"/>
        <element type="OrderTank" vehicle_id="abrams04" ai="true" order="patrol" speed="1" start_time="5">    
<!--    POS 3     -->    <waypoint position="-2480.3193 7017.8711 -1000.0135"/>
<!--    POS 2 -->    <waypoint position="-11114.406 5682.0801 -1000.0136"/>
<!--    POS 1 -->    <waypoint position="-21717.621 606.62872 -1000.0135"/>

        </element>     

        <element type = "ActivateVehicle" vehicle_id="abrams05" start_time = "8"/>
         <element type = "MakeAttachable" attach="true" detonate_event="e_destroyed_abrams05" vehicle_id="abrams05" start_time = "9"/>
        <element type="OrderTank" vehicle_id="abrams05" ai="true" order="patrol" speed="1" start_time="12">    
<!--    POS 3     -->    <waypoint position="-15715.313 4048.0693 -1000.0136"/>
<!--    POS 2 -->    <waypoint position="-22878.975 11096.733 -508.5799"/>
<!--    POS 1 -->    <waypoint position="-22585.691 21083.82 -15.88295"/>

        </element>     

<!--Activate the enemy soldiers-->
        <element type = "ActivateGroup" group_id = "patrol02"/>
        <element type = "ActivateGroup" group_id = "sniper02"/>
        
 

</event>

<!--Location 03
============-->
     <trigger name ="t_loc_trig03" interval="2" preserved="false">
        <condition type ="UnitInLocation" location ="loc_trig03" player_type = "team_a" greater_than="0"/>
        <event name ="e_loc_trig03"/>
    </trigger>    

    <event name = "e_loc_trig03">
        <element type = "StopTrigger" name = "t_loc_trig03"/>
        <element type="Objective" id="obj3" state="add" headline_id="Destroy Adat03" txt_id="Adat03" waypoint_id="ADAT03" vehicle_id="adat03"  start_time="2"/>
        <element type="MakeAttachable" attach="true" vehicle_id="adat03" start_time="1"/>
        <element type="ShowMessage" msg="location03" />
        <element type="StartTrigger" name="t_loc_trig04" start_time = "4"/>
        <element type = "SetSpawnLocation" location = "coop_spawn" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn01" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn02" side = "1" set = "true"/>

        <element type = "ActivateVehicle" vehicle_id="abrams06" start_time = "1"/>
         <element type = "MakeAttachable" attach="true" detonate_event="e_destroyed_abrams06" vehicle_id="abrams06" start_time = "2"/>
        <element type="OrderTank" vehicle_id="abrams06" ai="true" order="patrol" speed="1" start_time="5">    
<!--    POS 3     -->    <waypoint position="-3807.7949 26941.256 -0"/>
<!--    POS 2 -->    <waypoint position="-10168.387 26823.461 -2.7543488"/>
<!--    POS 1 -->    <waypoint position="-16117.165 25274.176 0"/>

        </element>     

 

<!--Activate the enemy soldiers-->
        <element type = "ActivateGroup" group_id = "patrol03"/>
        <element type = "ActivateGroup" group_id = "sniper03"/>
        
</event>


<!--Location 04
============-->
     <trigger name ="t_loc_trig04" interval="2" preserved="false">
        <condition type ="UnitInLocation" location ="loc_trig04" player_type = "team_a" greater_than="0"/>
        <event name ="e_loc_trig04"/>
    </trigger>    

    <event name = "e_loc_trig04">
        <element type = "StopTrigger" name = "t_loc_trig04"/>
        <element type="Objective" id="obj4" state="add" headline_id="Destroy Adat04" txt_id="Adat04" waypoint_id="ADAT04" vehicle_id="adat04"  start_time="2"/>
        <element type="MakeAttachable" attach="true" vehicle_id="adat04" start_time="1"/>
        <element type="ShowMessage" msg="location04" />
        <element type="StartTrigger" name="t_loc_trig05" start_time = "4"/>
        <element type = "SetSpawnLocation" location = "coop_spawn" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn01" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn02" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn03" side = "1" set = "true"/>

        <element type="ActivateVehicle" vehicle_id="havoc06" start_time="3"/>
        <element type="OrderHeli" vehicle_id="havoc06" order="move" speed="5" up="3100" start_time="5"/>
        <element type="OrderHeli" vehicle_id="havoc06" order="guard" speed="8" position="-265.88168 18564.811 6.6073828"inner_radius="1800" outer_radius="3200" start_time="6"/>     

        <element type="ActivateVehicle" vehicle_id="havoc07" start_time="4"/>
        <element type="OrderHeli" vehicle_id="havoc07" order="move" speed="5" up="3300" start_time="6"/>
        <element type="OrderHeli" vehicle_id="havoc07" order="guard" speed="8" position="-265.88168 18564.811 6.6073828"inner_radius="1600" outer_radius="3000" start_time="7"/>     


        <element type="ActivateVehicle" vehicle_id="pickup01" start_time="2"/>
        <element type="OrderCar" vehicle_id="pickup01" order="move" position="-1912 18019 0" start_time="3"/>       
        <element type="StartTrigger" name="t_pickup01_unload"/>
        
        <element type="ActivateVehicle" vehicle_id="pickup02" start_time="5"/>
        <element type="OrderCar" vehicle_id="pickup02" order="move" position="-2277 18991 -0" start_time="6"/>       
        <element type="StartTrigger" name="t_pickup02_unload"/>

        <element type = "ActivateVehicle" vehicle_id="abrams07" start_time = ".5"/>
        <element type="MakeAttachable" attach="true" vehicle_id="abrams07" start_time="1"/>
        <element type = "ActivateVehicle" vehicle_id="abrams08" start_time = "2"/>
        <element type="MakeAttachable" attach="true" vehicle_id="abrams08" start_time="3"/>
        <element type = "ActivateVehicle" vehicle_id="abrams09" start_time = "3"/>
        <element type="MakeAttachable" attach="true" vehicle_id="abrams09" start_time="4"/>
        <element type = "ActivateVehicle" vehicle_id="abrams10" start_time = "4"/>
        <element type="MakeAttachable" attach="true" vehicle_id="abrams10" start_time="5"/>

 

<!--Activate the enemy soldiers-->
        <element type = "ActivateGroup" group_id = "patrol04"/>
        <element type = "ActivateGroup" group_id = "sniper04"/>
        

</event>


<!--Location 05
============-->
     <trigger name ="t_loc_trig05" interval="2" preserved="false">
        <condition type ="UnitInLocation" location ="loc_trig05" player_type = "team_a" greater_than="0"/>
        <event name ="e_loc_trig05"/>
    </trigger>    

    <event name = "e_loc_trig05">
        <element type = "StopTrigger" name = "t_loc_trig05"/>
        <element type="Objective" id="obj5" state="add" headline_id="Destroy Adat05" txt_id="Adat05" waypoint_id="ADAT05" vehicle_id="adat05"  start_time="2"/>
        <element type="MakeAttachable" attach="true" vehicle_id="adat05" start_time="1"/>
        <element type="ShowMessage" msg="location05" />
        <element type="StartTrigger" name="t_loc_trig06" start_time = "4"/>
        <element type = "SetSpawnLocation" location = "coop_spawn" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn01" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn02" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn03" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn04" side = "1" set = "true"/>
 
        <element type="ActivateVehicle" vehicle_id="panhard03" start_time="10"/>
        <element type="OrderCar" vehicle_id="panhard03" order="move" position="5017 -12278 -956" start_time="11"/>       
        <element type="StartTrigger" name="t_panhard03_unload"/>

<!--Activate the enemy soldiers-->
        <element type = "ActivateGroup" group_id = "patrol05"/>
        <element type = "ActivateGroup" group_id = "sniper05"/>
        
</event>


<!--Location 06
============-->
     <trigger name ="t_loc_trig06" interval="2" preserved="false">
        <condition type ="UnitInLocation" location ="loc_trig06" player_type = "team_a" greater_than="0"/>
        <event name ="e_loc_trig06"/>
    </trigger>    

    <event name = "e_loc_trig06">
        <element type = "StopTrigger" name = "t_loc_trig06"/>
        <element type="Objective" id="obj6" state="add" headline_id="Destroy Adat06" txt_id="Adat06" waypoint_id="ADAT06" vehicle_id="adat06"  start_time="2"/>
        <element type="MakeAttachable" attach="true" vehicle_id="adat06" start_time="1"/>
        <element type="ShowMessage" msg="location06" />
        <element type="StartTrigger" name="t_loc_trig07" start_time = "4"/>

        <element type = "ActivateVehicle" vehicle_id="abrams11" start_time = ".5"/>
        <element type="MakeAttachable" attach="true" vehicle_id="abrams11" start_time="1"/>
        <element type = "ActivateVehicle" vehicle_id="abrams14" start_time = "2"/>
        <element type="MakeAttachable" attach="true" vehicle_id="abrams14" start_time="3"/>

<!--Activate the enemy soldiers-->
        <element type = "ActivateGroup" group_id = "patrol06"/>
        <element type = "ActivateGroup" group_id = "sniper06"/>
        
</event>

<!--Location 07
============-->
     <trigger name ="t_loc_trig07" interval="2" preserved="false">
        <condition type ="UnitInLocation" location ="loc_trig07" player_type = "team_a" greater_than="0"/>
        <event name ="e_loc_trig07"/>
    </trigger>    

    <event name = "e_loc_trig07">
        <element type = "StopTrigger" name = "t_loc_trig07"/>
        <element type="Objective" id="obj7" state="add" headline_id="Destroy Mule01" txt_id="Mule01" waypoint_id="MULE01" vehicle_id="mule01"  start_time="2"/>
        <element type="MakeAttachable" attach="true" vehicle_id="mule01" start_time="1"/>
        <element type="ShowMessage" msg="location07 " />
        <element type="StartTrigger" name="t_loc_trig08" start_time = "4"/>
        <element type = "SetSpawnLocation" location = "coop_spawn" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn01" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn02" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn03" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn04" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn05" side = "1" set = "true"/>

        <element type="ActivateVehicle" vehicle_id="havoc03" start_time="3"/>
        <element type="OrderHeli" vehicle_id="havoc03" order="move" speed="5" up="3600" start_time="5"/>
        <element type="OrderHeli" vehicle_id="havoc03" order="guard" speed="8" position="18325.959 27541.906 -175.60918"inner_radius="1800" outer_radius="3200" start_time="6"/>

        <element type="ActivateVehicle" vehicle_id="panhard04" start_time="12"/>
        <element type="OrderCar" vehicle_id="panhard04" order="move" position="23322 24682 -1000" start_time="13"/>       
        <element type="StartTrigger" name="t_panhard04_unload"/>

        <element type = "ActivateVehicle" vehicle_id="abrams16" start_time = ".5"/>
        <element type="MakeAttachable" attach="true" vehicle_id="abrams16" start_time="5"/>

<!--Activate the enemy soldiers-->
        <element type = "ActivateGroup" group_id = "patrol07"/>
        <element type = "ActivateGroup" group_id = "sniper07"/>
        

</event>

<!--Location 08
============-->
     <trigger name ="t_loc_trig08" interval="2" preserved="false">
        <condition type ="UnitInLocation" location ="loc_trig08" player_type = "team_a" greater_than="0"/>
        <event name ="e_loc_trig08"/>
    </trigger>    

    <event name = "e_loc_trig08">
        <element type = "StopTrigger" name = "t_loc_trig08"/>
        <element type="Objective" id="obj8" state="add" headline_id="Destroy Adat07" txt_id="Adat07" waypoint_id="ADAT07" vehicle_id="adat07"  start_time="2"/>
        <element type="MakeAttachable" attach="true" vehicle_id="adat07" start_time="1"/>
        <element type="ShowMessage" msg="location08" />
        <element type="StartTrigger" name="t_loc_trig09" start_time = "4"/>
        <element type = "ActivateVehicle" vehicle_id="abrams12" start_time = ".5"/>
        <element type="MakeAttachable" attach="true" vehicle_id="abrams12" start_time="5"/>

<!--Activate the enemy soldiers-->
        <element type = "ActivateGroup" group_id = "patrol08"/>
        <element type = "ActivateGroup" group_id = "sniper08"/>
        

</event>

<!--Location 09
============-->
     <trigger name ="t_loc_trig09" interval="2" preserved="false">
        <condition type ="UnitInLocation" location ="loc_trig09" player_type = "team_a" greater_than="0"/>
        <event name ="e_loc_trig09"/>
    </trigger>    

    <event name = "e_loc_trig09">
        <element type = "StopTrigger" name = "t_loc_trig09"/>
        <element type="ShowMessage" msg="location09" />
        <element type="StartTrigger" name="t_loc_trig10" start_time = "4"/>
        <element type = "ActivateVehicle" vehicle_id="abrams13" start_time = ".5"/>
        <element type="MakeAttachable" attach="true" vehicle_id="abrams13" start_time="5"/>
        <element type = "SetSpawnLocation" location = "coop_spawn" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn01" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn02" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn03" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn04" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn05" side = "1" set = "false"/>
        <element type = "SetSpawnLocation" location = "loc_respawn06" side = "1" set = "true"/>

<!--Activate the enemy soldiers-->
        <element type = "ActivateGroup" group_id = "patrol09"/>
        <element type = "ActivateGroup" group_id = "sniper09"/>
        

</event>


<!--Location 10
============-->
     <trigger name ="t_loc_trig10" interval="2" preserved="false">
        <condition type ="UnitInLocation" location ="loc_trig10" player_type = "team_a" greater_than="0"/>
        <event name ="e_loc_trig10"/>
    </trigger>    

    <event name = "e_loc_trig10">
        <element type = "StopTrigger" name = "t_loc_trig10"/>
        <element type="ShowMessage" msg="location10" />
        <element type="StartTrigger" name="t_patrol10_dead" start_time = "3"/>

        <element type="ActivateVehicle" vehicle_id="havoc04" start_time="3"/>
        <element type="OrderHeli" vehicle_id="havoc04" order="move" speed="5" up="3600" start_time="5"/>
        <element type="OrderHeli" vehicle_id="havoc04" order="guard" speed="8" position="7272.228 2180.5415 2649.9998"inner_radius="1800" outer_radius="3200" start_time="6"/>     

        <element type="ActivateVehicle" vehicle_id="havoc05" start_time="4"/>
        <element type="OrderHeli" vehicle_id="havoc05" order="move" speed="5" up="3400" start_time="6"/>
        <element type="OrderHeli" vehicle_id="havoc05" order="guard" speed="8" position="7272.228 2180.5415 2649.9998"inner_radius="1600" outer_radius="3000" start_time="7"/>     

<!--Activate the enemy soldiers-->
        <element type = "ActivateGroup" group_id = "patrol10"/>
        <element type = "ActivateGroup" group_id = "sniper10"/>
        

</event>


<!--
=============================================================================================
            MISC EVENTS
=============================================================================================
-->

<!--Unload Panhard01
---------------------------->
    <trigger name="t_panhard01_unload" interval="2.0" preserved="false">
        <condition type="UnitInLocation" location="loc_panhard01_unload" vehicle_id="panhard01" equal="1"/>
      <event name="e_dropoff01"/>
    </trigger>

    <event name="e_dropoff01">
        <element type = "StopTrigger" name = "t_panhard01_unload"/>
        <element type="ExitPassengers" vehicle_id="panhard01" />
    
</event>  

<!--Unload Panhard02
---------------------------->
    <trigger name="t_panhard02_unload" interval="2.0" preserved="false">
        <condition type="UnitInLocation" location="loc_panhard02_unload" vehicle_id="panhard02" equal="1"/>
      <event name="e_dropoff02"/>
    </trigger>

    <event name="e_dropoff02">
        <element type = "StopTrigger" name = "t_panhard02_unload"/>
        <element type="ExitPassengers" vehicle_id="panhard02" />
    
</event>  

<!--Unload Panhard03
---------------------------->
    <trigger name="t_panhard03_unload" interval="2.0" preserved="false">
        <condition type="UnitInLocation" location="loc_panhard03_unload" vehicle_id="panhard03" equal="1"/>
      <event name="e_dropoff04"/>
    </trigger>

    <event name="e_dropoff04">
        <element type = "StopTrigger" name = "t_panhard03_unload"/>
        <element type="ExitPassengers" vehicle_id="panhard03" />
    
</event>  

<!--Unload Panhard04
---------------------------->
    <trigger name="t_panhard04_unload" interval="2.0" preserved="false">
        <condition type="UnitInLocation" location="loc_panhard04_unload" vehicle_id="panhard04" equal="1"/>
      <event name="e_dropoff05"/>
    </trigger>

    <event name="e_dropoff05">
        <element type = "StopTrigger" name = "t_panhard04_unload"/>
        <element type="ExitPassengers" vehicle_id="panhard04" />
    
</event>  

<!--Unload pickup01
---------------------------->
    <trigger name="t_pickup01_unload" interval="2.0" preserved="false">
        <condition type="UnitInLocation" location="loc_pickup01_unload" vehicle_id="pickup01" equal="1"/>
      <event name="e_dropoff03"/>
    </trigger>

    <event name="e_dropoff03">
        <element type = "StopTrigger" name = "t_pickup01_unload"/>
        <element type="ExitPassengers" vehicle_id="pickup01" />
    </event>  

<!--Unload pickup02
---------------------------->
    <trigger name="t_pickup02_unload" interval="2.0" preserved="false">
        <condition type="UnitInLocation" location="loc_pickup02_unload" vehicle_id="pickup02" equal="1"/>
      <event name="e_dropoff06"/>
    </trigger>

    <event name="e_dropoff06">
        <element type = "StopTrigger" name = "t_pickup02_unload"/>
        <element type="ExitPassengers" vehicle_id="pickup02" />
    </event>  

<!--patrol10 all dead
========================-->
     <trigger name="t_patrol10_dead" interval="2" preserved="false">
        <condition type = "SoldiersKilled" group_id = "patrol10" amount = "all"/>
        <event name="e_patrol10_dead"/>
    </trigger>    

    <event name = "e_patrol10_dead">
          <element type="ShowMessage" msg="You killed group01 - now extract!" kind="splash" start_time="0"/>
        <element type = "StopTrigger" name = "t_patrol10_dead"/>
        <element type="Objective" id="obj10" state="add" headline_id="Extraction" txt_id="Extraction" waypoint_id="loc_extraction" waypoint="7272.228 2180.5415 2649.9998" />
        <element type="CreateUnit" unit="efx_hh_zone_smoke" location="loc_extraction" center="true" name_id="smoke_extract1" start_time="3"/>
        <element type="CreateUnit" unit="efx_hh_zone_smoke" location="loc_extraction" center="true" name_id="smoke_extract2" start_time="5"/>
         <element type="ColorSmoke" side="1" name_id="smoke_extract1" start_time="3.5"/>
         <element type="ColorSmoke" side="2" name_id="smoke_extract2" start_time="5.5"/>
        <element type="StartTrigger" name="t_extraction" />

</event>

<!--Extraction/End of Game
========================-->

    <!--Check to see if players are all in extract location and if so, call e_win to complete the game-->
    <trigger name ="t_extraction" interval="2" preserved="false">
    <if_all>
        <condition type="VehicleDestroyed" vehicle_id="adat01"/>
        <condition type="VehicleDestroyed" vehicle_id="adat02"/>    
        <condition type="VehicleDestroyed" vehicle_id="adat03"/>    
        <condition type="VehicleDestroyed" vehicle_id="adat04"/>
        <condition type="VehicleDestroyed" vehicle_id="adat05"/>    
        <condition type="VehicleDestroyed" vehicle_id="adat06"/>    
        <condition type="VehicleDestroyed" vehicle_id="adat07"/>
        <condition type="VehicleDestroyed" vehicle_id="mule01"/>
        <condition type="UnitInLocation" location="loc_extraction" player_type="team_a" amount="all"/>
    </if_all>
        <event name = "e_win"/>
    </trigger>

    <!--Complete the game-->
    <event name = "e_win">
          <element type="ShowMessage" msg="Well done ghosts - You won!" kind="splash" start_time="0"/>
        <element type = "EndRound" winner_side = "1" reason = "Well done ghosts - Let's go home!" start_time = "5"/>
    </event>

    <gametype_info name = "enemies_to_kill" value = "1"/>
</mission_script>


<!--Notes and stuff
=================
Coding rules:
Comment your code and then comment some more.
Triggers start with t_
Events start with e_
Locations start with loc_


-->

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...