Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8213 for code/trunk/data


Ignore:
Timestamp:
Apr 9, 2011, 3:33:06 PM (14 years ago)
Author:
dafrick
Message:

Adding changes made to DistanceTrigger also in trunk.
Also documenting trigger.

Location:
code/trunk/data/levels
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/levels/fightInOurBack.oxw

    r8079 r8213  
    135135            </events>
    136136            <attached>
    137                 <DistanceTrigger name="FightInOurBack_MainStart_FollowStart" position="0,0,0" distance="50" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" />
     137                <DistanceTrigger name="FightInOurBack_MainStart_FollowStart" position="0,0,0" distance="50" target="Pawn" beaconMode="identify" targetname="PlayerDistanceTrigger" />
    138138                <!--<Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Examples/Flare" />-->
    139139            </attached>
     
    153153            <attached>
    154154                <!--<Billboard position="0,0,0" colour="1,1,1" material="Examples/Flare" />-->
    155                 <DistanceTrigger name="FightInOurBack_FollowEnd_DTranspStart_AssisStart" position="0,0,0" distance="1000" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" stayactive=1 activations=1 />
     155                <DistanceTrigger name="FightInOurBack_FollowEnd_DTranspStart_AssisStart" position="0,0,0" distance="1000" target="Pawn" beaconMode="identify" targetname="PlayerDistanceTrigger" stayactive=1 activations=1 />
    156156            </attached>
    157157        </QuestEffectBeacon>
     
    316316<!---->
    317317<!--Trigger to activate this Team (TEAM NO 1)-->
    318     <DistanceTrigger name="activateTeam0No1" position="8000,0,3100" distance="1000" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" activations="1" stayactive="true" />
     318    <DistanceTrigger name="activateTeam0No1" position="8000,0,3100" distance="1000" target="Pawn" beaconMode="identify" targetname="PlayerDistanceTrigger" activations="1" stayactive="true" />
    319319
    320320<!--TEAM NO 1 (activationType : distance || killing a spaceship what belongs to TEAM 0 NO 0)-->
     
    476476
    477477<Trigger invert=true name="activateFirstSpawnpoint">
    478     <DistanceTrigger name="activateSecondSpawnpoint" position="10000,0,3000" distance="1000" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" activations="1" stayactive="true" />
     478    <DistanceTrigger name="activateSecondSpawnpoint" position="10000,0,3000" distance="1000" target="Pawn" beaconMode="identify" targetname="PlayerDistanceTrigger" activations="1" stayactive="true" />
    479479</Trigger>
    480480
  • code/trunk/data/levels/pirateAttack.oxw

    r7679 r8213  
    142142            </events>
    143143            <attached>
    144                 <DistanceTrigger name=questbeacon1 position="0,0,0" distance=100 target=DistanceTriggerBeacon targetname=Me/>
     144                <DistanceTrigger name=questbeacon1 position="0,0,0" distance=100 target="Pawn" beaconMode="identify" targetname=Me/>
    145145            </attached>
    146146            </QuestEffectBeacon>
     
    156156                    <attached>
    157157                        <Billboard position="0,0,0" scale=3 colour="1.0,1.0,0" material="Examples/Flare" />
    158                         <DistanceTrigger name=questbeacon2 targetname=Me position="0,0,0" target=DistanceTriggerBeacon distance=400 />
     158                        <DistanceTrigger name=questbeacon2 targetname=Me position="0,0,0" target="Pawn" beaconMode="identify" distance=400 />
    159159                    </attached>
    160160                    <effects>
     
    171171        <QuestEffectBeacon position="0,0,0" times=1>
    172172                    <attached>
    173                         <DistanceTrigger name=questbeacon3  position="0,0,0" distance=300 target=DistanceTriggerBeacon targetname=Me delay="5" />
     173                        <DistanceTrigger name=questbeacon3  position="0,0,0" distance=300 target="Pawn" beaconMode="identify" targetname=Me delay="5" />
    174174                    </attached>
    175175                    <effects>
     
    188188                    <attached>
    189189                        <Billboard position="0,0,0" scale=3 colour="0,1.0,0" material="Examples/Flare" />
    190                         <DistanceTrigger name=questbeacon4  position="0,0,0" distance=200 target=DistanceTriggerBeacon targetname=Me />
     190                        <DistanceTrigger name=questbeacon4  position="0,0,0" distance=200 target="Pawn" beaconMode="identify" targetname=Me />
    191191                    </attached>
    192192   
     
    207207        <QuestEffectBeacon position="7600,300,-8000" times=1>
    208208                    <attached>
    209                         <DistanceTrigger name=questbeacon5  position="0,0,0" distance=300 target=DistanceTriggerBeacon targetname=Me />
     209                        <DistanceTrigger name=questbeacon5  position="0,0,0" distance=300 target="Pawn" beaconMode="identify" targetname=Me />
    210210                    </attached>
    211211                    <effects>
     
    222222        <QuestEffectBeacon position="1600,2300,-10000" times=1>
    223223                    <attached>
    224                         <DistanceTrigger name=questbeacon8  position="0,0,0" distance=300 target=DistanceTriggerBeacon targetname=Me />
     224                        <DistanceTrigger name=questbeacon8  position="0,0,0" distance=300 target="Pawn" beaconMode="identify" targetname=Me />
    225225                    </attached>
    226226                    <effects>
     
    237237        <QuestEffectBeacon position="4600,5300,-11000" times=1>
    238238                    <attached>
    239                         <DistanceTrigger name=questbeacon6  position="0,0,0" distance=600 target=DistanceTriggerBeacon targetname=Me />
     239                        <DistanceTrigger name=questbeacon6  position="0,0,0" distance=600 target="Pawn" beaconMode="identify" targetname=Me />
    240240                    </attached>
    241241                    <effects>
     
    255255        <QuestEffectBeacon position="4800,5785,-10725" times=1>
    256256                    <attached>
    257                         <DistanceTrigger name=questbeacon7  position="0,0,0" distance=30 target=DistanceTriggerBeacon targetname=Me />
     257                        <DistanceTrigger name=questbeacon7  position="0,0,0" distance=30 target="Pawn" beaconMode="identify" targetname=Me />
    258258                    </attached>
    259259                    <effects>
     
    274274                    <attached>
    275275                        <Billboard position="0,0,0" scale=3 colour="0,0,1.0" material="Examples/Flare" />
    276                         <DistanceTrigger name=questbeacon9 position="0,0,0" distance=500 target=DistanceTriggerBeacon targetname=Me />
     276                        <DistanceTrigger name=questbeacon9 position="0,0,0" distance=500 target="Pawn" beaconMode="identify" targetname=Me />
    277277                    </attached>
    278278                    <effects>
  • code/trunk/data/levels/theTimeMachine.oxw

    r7845 r8213  
    9494   
    9595        <!--TRIGGERS IF THE PLAYERS REACHES THE "TIME MACHINE"-->
    96         <DistanceTrigger name="EnterTimeMachine" position="0,0,0" distance="100" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" >
     96        <DistanceTrigger name="EnterTimeMachine" position="0,0,0" distance="100" target="Pawn" beaconMode="identify" targetname="PlayerDistanceTrigger" >
    9797            <attached>
    9898                <Billboard position="0,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/>
Note: See TracChangeset for help on using the changeset viewer.