Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 23, 2017, 2:56:00 PM (7 years ago)
Author:
patricwi
Message:

reset back in time

Location:
code/branches/HUD_HS16
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/HUD_HS16

  • code/branches/HUD_HS16/data/levels/events.oxw

    r11497 r11499  
    5757    -->
    5858
    59     <DistanceTrigger name="test" position="0,0,0" target="Pawn" distance=25 stayActive="true" />
    60     <Backlight position="0,0,0" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,0,1"/>
    61    
    62     <NextQuestion  question="Continue?" a1="yes" a2="no" >
    63      <possibleQuestions>
    64         <NextQuestion  question="Are you sure?" a1="yep let me continue" a2="no actually not" />
    65         <NextQuestion  question="Why?" a1="Got a dentist's appointment" a2="this sucks" >
    66         <possibleQuestions>
    67           <NextQuestion  question="Are your teeth that bad mate?" a1="yep" a2="leave me alone godammit" />
    68           <NextQuestion  question="You suck" a1="..." a2="Im going now okay" />
    69         </possibleQuestions>
    70       </NextQuestion>
    71       </possibleQuestions>   
     59
     60    <!-- red -->
     61    <!--
     62      Standard:
     63      Direct event-connection between an event-listener (Billboard) and an event source (DistanceTrigger).
     64      Every fired event of the source is mapped to the "visibility" state of the listener.
     65
     66      This is a 1:1 mapping between event-listener and event-source.
     67    -->
     68    <Billboard position="300,150,0" material="Examples/Flare" colour="1.0, 1.0, 1.0" visible=0>
     69      <events>
     70        <visibility>
     71          <DistanceTrigger position="300,100,0" distance=25 target="ControllableEntity" />
     72        </visibility>
     73      </events>
     74    </Billboard>
     75
     76    <!-- HELLO THERE ................................................................ ITS ME -->
     77    <DistanceTrigger name="test" position="0,0,0" target="Pawn" distance=25 stayActive="true"/>
     78    <Backlight position="0,0,0" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,0,0"/>
     79    <DDDialogue string="Hello World3" >
    7280      <events>
    7381        <execute>
     
    7583        </execute>
    7684      </events>
    77     </NextQuestion>
    78 
    79     <DistanceTrigger name="test1" position="100,300,0" target="Pawn" distance=25 stayActive="true" />
    80     <Backlight position="100,300,0" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,1"/>
    81    
    82     <NextQuestion  question="Wazzp bud?" a1="yes" a2="no" >
    83      <possibleQuestions>
    84         <NextQuestion  question="Do you like fish" a1="yep let me continue" a2="no actually not" />
    85         <NextQuestion  question="Whats your favourite pastime?" a1="Got a dentist's appointment" a2="this sucks" >
    86         <possibleQuestions>
    87           <NextQuestion  question="Whatever?" a1="yep" a2="leave me alone godammit" />
    88           <NextQuestion  question="Turtles then?" a1="..." a2="Im going now okay" />
    89         </possibleQuestions>
    90       </NextQuestion>
    91       </possibleQuestions>   
    92       <events>
    93         <execute>
    94            <EventListener event="test1" />
    95         </execute>
    96       </events>
    97     </NextQuestion>
    98 
    99 
    100     <!-- red -->
    101     <!--
    102       Standard:
    103       Direct event-connection between an event-listener (Billboard) and an event source (DistanceTrigger).
    104       Every fired event of the source is mapped to the "visibility" state of the listener.
    105 
    106       This is a 1:1 mapping between event-listener and event-source.
    107     -->
    108     <Billboard position="300,150,0" material="Examples/Flare" colour="1.0, 1.0, 1.0" visible=0>
    109       <events>
    110         <visibility>
    111           <DistanceTrigger position="300,100,0" distance=25 target="ControllableEntity" />
    112         </visibility>
    113       </events>
    114     </Billboard>
    115 
    116     <!-- HELLO THERE ................................................................ ITS ME -->
    117     <DistanceTrigger name="test" position="0,0,0" target="Pawn" distance=25 stayActive="true"/>
    118     <Backlight position="0,0,0" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,0,0"/>
    119     <DialogueManager question="Hello World3">
    120       <events>
    121         <execute>
    122            <EventListener event="test" />
    123         </execute>
    124       </events>
    125     </DialogueManager>
    126 
     85    </DDDialogue>
    12786
    12887    <!-- orange -->
Note: See TracChangeset for help on using the changeset viewer.