Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4903


Ignore:
Timestamp:
Jun 19, 2007, 6:40:57 PM (17 years ago)
Author:
snellen
Message:

first step towards the vs level

Location:
data/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • data/trunk/levels/vertical_scroller.oxw

    r4902 r4903  
    2828      <name>Noxon01</name>
    2929      <model>models/spaceships/noxon_spaceship_fighter.obj,0.2</model>
    30       <abs-coor>895.826904, 118.867111, -283.239410</abs-coor>
     30       <abs-coor>1156.826904, 348.867111, 719.239410</abs-coor>
    3131      <abs-dir> 0.193116, -0.090633, -0.976817, 0.017918 </abs-dir>
    3232    </ActionboxEnemy>
     
    135135      <Camera>
    136136        <name>cameraOne</name>
    137         <abs-coor>3604.608398, 155.705444, -312.326019</abs-coor>
     137        <abs-coor>3684.220215, 124.081573, -493.947571</abs-coor>
    138138      </Camera>
    139139    </Cameras>
  • data/trunk/scripts/vertical_scroller/vs1.lua

    r4902 r4903  
    99triggerFadeOut:setScript("vs1.lua")
    1010triggerFadeOut:setFunction("explodeSpaceship")
    11 triggerFadeOut:setRadius(280)
     11triggerFadeOut:setRadius(380)
    1212triggerFadeOut:setTarget("Player")
    1313triggerFadeOut:setAbsCoor(3610, 116, -656)
     
    1717triggerSwitchCam:setScript("vs1.lua")
    1818triggerSwitchCam:setFunction("switchCam")
    19 triggerSwitchCam:setRadius(300)
     19triggerSwitchCam:setRadius(400)
    2020triggerSwitchCam:setTarget("Player")
    2121triggerSwitchCam:setAbsCoor(3610, 116, -656)
     
    3232
    3333-- globals
    34 boomSize = 100
     34boomSize = 25
    3535
    3636
     
    4545        explosion:setAbsCoor(Player:getAbsCoorX(),Player:getAbsCoorY(),Player:getAbsCoorZ())
    4646        explosion:explode(boomSize,boomSize,boomSize)
    47         boomSize = boomSize + 10
    48         if boomSize == 600 then
     47        boomSize = boomSize + 4
     48        if boomSize > 150 then
    4949                  triggerEndLevel:start()
    5050                  cameraManager:toggleFade()
     
    5656function switchCam(timestep)
    5757cameraManager:setCam("cameraOne")
    58 cameraManager:jumpCurrCam(3604.608398, 155.705444, -312.326019)
    5958return true
    6059end
Note: See TracChangeset for help on using the changeset viewer.