Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 31, 2015, 7:15:11 PM (9 years ago)
Author:
paulsc
Message:

Implemented EffectBeacon for quest 2.1 and added platform for FpsPlayer. Unfortunately, the latter cannot be rotated by rotationaxis: the coordinates are hardcoded! So either we fix this ourselves or we have to go back to the x,z,y scheme :(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/data/levels/Campaign1.oxw

    r10730 r10735  
    6767        </hints>
    6868        <complete-effects>
    69             <!-- Quest 2 not made as of yet
    7069            <AddQuest questId="quest2" />
    7170            <AddQuest questId="quest2.1" />
    7271            <AddQuest questId="quest2.2" />
    7372            <AddQuest questId="quest2.3" />
    74             -->
    75             <AddQuest questId="quest3" />
    7673        </complete-effects>
    7774    </GlobalQuest>
     
    178175    </EventMultiTrigger>
    179176
    180     <DistanceTrigger name="reachedA" position="5000,-3000,0" distance=200 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true />
     177    <DistanceTrigger name="reachedA" position="5000,-3000,0" distance=1500 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true />
    181178
    182179    <EventMultiTrigger name="wave1" activations="1" stayactive="true" >
    183180        <events>
    184181            <trigger>
    185                 <EventListener event="reachedA" />
     182                <EventListener event="dockA" />
    186183            </trigger>
    187184        </events>
     
    258255            <execute>
    259256                <EventListener event="reachedA" />
     257            </execute>
     258        </events>
     259    </QuestEffectBeacon>
     260
     261    <QuestEffectBeacon times=1>
     262        <effects>
     263            <CompleteQuest questId="quest2.1" />
     264        </effects>
     265        <events>
     266            <execute>
     267                <EventListener event="dockA" />
    260268            </execute>
    261269        </events>
     
    432440    </Pawn>
    433441
    434     <!-- New SpaceShip as destination of dock C-->
     442    <!-- New SpaceShip as destination of dock A-->
    435443    <SpaceShip
    436444        template            = "spaceshipassff2"
     
    455463
    456464    <!-- FPS Player as destination of dock C-->
    457     <FpsPlayer template = "fps" radarname = "First Person Player" position = "0,-2300,640" lookat="0,0,0" >
     465    <FpsPlayer template = "fps" radarname = "First Person Player" position = "0,-2300,1201">
    458466        <attached>
    459467            <DockingTarget name="fpsMode" />
     
    462470    </FpsPlayer>
    463471
     472    <StaticEntity position="0,-2300,1001" direction="0,0,-1" collisionType=static mass=100000 friction=0.01 >
     473        <attached>
     474          <Model position="0,0,0" mesh="crate.mesh" scale3D="80,80,5" />
     475        </attached>
     476        <collisionShapes>
     477          <BoxCollisionShape position="0,0,0" halfExtents="400,400,25" />
     478        </collisionShapes>
     479    </StaticEntity>
     480
     481    <ForceField position="0,-2300,1001" direction="0,0,1" mode="homogen" diameter="400" forcedirection = "0,0,-500" />
     482
    464483    <!--ELEMENTS -->
    465484
     
    470489
    471490    <?lua
     491    --[[
    472492        dofile("includes/fog.lua")
    473493       fogField(0,0,500,150,20)
     494       ]]--
    474495    ?>
    475496
     
    559580    </SpaceShip>
    560581
    561 
    562 
    563582    </Scene>
    564583</Level>
Note: See TracChangeset for help on using the changeset viewer.