Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 2, 2011, 4:33:24 PM (13 years ago)
Author:
jo
Message:

fix quest structure (almost finished).

Location:
code/branches/gamecontent/data/levels
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamecontent/data/levels/dynamicMatch.oxw

    r8706 r8922  
    3333
    3434<!-- -----------12-Spawnpoints around the planet------------- -->
     35<!-- inner Spawnpoints -->
    3536<TeamSpawnPoint team=0 position="1000,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff/>
    3637<TeamSpawnPoint team=0 position="-1000,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff/>
  • code/branches/gamecontent/data/levels/lastManStanding.oxw

    r8706 r8922  
    5151                    <Model position="0,0,0" scale=140 mesh="asteroid_UV.mesh" shadow=true />
    5252                    <Model position="-160,40,28.4" scale=1 mesh="sphere.mesh" /><!--EasterEgg indicator-->
    53                     <PickupSpawner position="-160,40,17" triggerDistance="20" respawnTime="5" maxSpawnedItems="15"><!--EasterEgg-->
     53                    <PickupSpawner position="-160,40,17" triggerDistance="20" respawnTime="5" maxSpawnedItems="15"><!--EasterEgg : invisible pickup is hidden inside the asteroid -->
    5454                        <pickup>
    5555                            <InvisiblePickup template=hugeinvisiblepickup />
  • code/branches/gamecontent/data/levels/lastTeamStandingII.oxw

    r8891 r8922  
    9595   </StaticEntity>
    9696<!-- END of CUBE-->
     97
    9798<!-------------- Centered Thin Gate -------------->
    9899
     
    412413    <TeamSpawnPoint team=3 position="845,350,835" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
    413414    <TeamSpawnPoint team=3 position="845,-300,835" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    414 <Bot />
     415<Bot /><!-- at least one bot is needed to stat the game properly. Else the game finishes. This could be avoided, if the menue allows a preselection of the number of players. -->
    415416
    416417  </Scene>
  • code/branches/gamecontent/data/levels/missionOne.oxw

    r8910 r8922  
    9696        </QuestEffectBeacon>
    9797
    98         <!-- //TODO: end weaponsystemI -->
     98<!--helper trigger to end the weaponsystemI quest -->
     99    <DistanceTrigger name="boxend" position="0,0,0" distance=950 target="SpaceShip" stayActive="false" delay=0.1>
     100              <EventTrigger>
     101                <events>
     102                  <trigger>
     103                    <EventListener event="boxtrigger4" />
     104                  </trigger>
     105                </events>
     106              </EventTrigger>
     107    </DistanceTrigger>
    99108
    100109        <QuestEffectBeacon times=1>
     
    104113            <events>
    105114                <execute>
    106                     <EventListener event="boxtrigger4" />
     115                    <EventListener event="boxend" />
    107116                </execute>
    108117            </events>
    109118        </QuestEffectBeacon>
    110119
    111 
     120<!--helper trigger to end the weaponsystemII quest -->
     121    <DistanceTrigger name="piratesend" position="0,0,0" distance=2000 target="SpaceShip" stayActive="false" delay=0.1>
     122              <EventTrigger>
     123                <events>
     124                  <trigger>
     125                    <EventListener event="movingpirates2" />
     126                  </trigger>
     127                </events>
     128              </EventTrigger>
     129    </DistanceTrigger>
    112130
    113131        <QuestEffectBeacon times=1>
     
    117135            <events>
    118136                <execute>
    119                     <EventListener event=movingpirates2 />
     137                    <EventListener event=piratesend />
    120138                </execute>
    121139            </events>
    122140        </QuestEffectBeacon>
     141
     142<!--helper trigger to end the DuBallStation quest -->
     143    <DistanceTrigger name="duballend" position="-1000,-300,700" distance=2000 target="SpaceShip" stayActive="false" delay=0.1>
     144              <EventTrigger>
     145                <events>
     146                  <trigger>
     147                    <EventListener event="duball3" />
     148                  </trigger>
     149                </events>
     150              </EventTrigger>
     151    </DistanceTrigger>
     152
    123153
    124154        <QuestEffectBeacon times=1>
     
    128158            <events>
    129159                <execute>
    130                     <EventListener event=duball3 />
     160                    <EventListener event=duballend />
    131161                </execute>
    132162            </events>
    133163        </QuestEffectBeacon>
     164
     165<!--helper trigger to end the getHelp quest -->
     166    <DistanceTrigger name="getHelpEnd" position="-48900,0,0" distance=2000 target="SpaceShip" stayActive="false" delay=0.1>
     167              <EventTrigger>
     168                <events>
     169                  <trigger>
     170                    <EventListener event="ondock" />
     171                  </trigger>
     172                </events>
     173              </EventTrigger>
     174    </DistanceTrigger>
    134175
    135176        <QuestEffectBeacon times=1>
     
    139180            <events>
    140181                <execute>
    141                     <EventListener event=ondock />
     182                    <EventListener event=getHelpEnd />
    142183                </execute>
    143184            </events>
    144185        </QuestEffectBeacon>
     186
     187<!--helper trigger to end the getHome quest -->
     188    <DistanceTrigger name="getHomeEnd" position="0,0,0" distance=4000 target="SpaceShip" stayActive="false" delay=0.1>
     189              <EventTrigger>
     190                <events>
     191                  <trigger>
     192                    <EventListener event="attack" />
     193                  </trigger>
     194                </events>
     195              </EventTrigger>
     196    </DistanceTrigger>
    145197
    146198        <QuestEffectBeacon times=1>
     
    150202            <events>
    151203                <execute>
    152                     <EventListener event=attack />
     204                    <EventListener event=getHomeEnd />
    153205                </execute>
    154206            </events>
    155207        </QuestEffectBeacon>
     208
     209<!--helper trigger to end the defence quest -->
     210    <DistanceTrigger name="defenceEnd" position="0,0,0" distance=4000 target="SpaceShip" stayActive="false" delay=0.1>
     211              <EventTrigger>
     212                <events>
     213                  <trigger>
     214                    <EventListener event="attacktrigger6" />
     215                  </trigger>
     216                </events>
     217              </EventTrigger>
     218    </DistanceTrigger>
    156219
    157220        <QuestEffectBeacon times=1>
     
    161224            <events>
    162225                <execute>
    163                     <EventListener event=attacktrigger6 />
     226                    <EventListener event=defenceEnd />
    164227                </execute>
    165228            </events>
  • code/branches/gamecontent/data/levels/templates/spaceshipSpacecruiser.oxt

    r8904 r8922  
    6767    </collisionShapes>
    6868<?lua
    69   include("includes/weaponSettingsSpacecruiser.oxi")
     69  include("../includes/weaponSettingsSpacecruiser.oxi")
    7070?>
    7171  </SpaceShip>
Note: See TracChangeset for help on using the changeset viewer.