Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4722 for data/trunk


Ignore:
Timestamp:
Jan 31, 2007, 7:48:21 AM (18 years ago)
Author:
bknecht
Message:

vertical_scroller update

Location:
data/trunk
Files:
2 edited

Legend:

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

    r4710 r4722  
    1 <WorldDataFile> <name>Mission 1</name>
     1<WorldDataFile>
     2  <name>Mission 1</name>
    23  <description>This is the vertical scroller level.</description>
    34  <menu-item-image>textures/menu/Scienceproject_512x512.jpg</menu-item-image>
     
    3031      <Size>100</Size>
    3132    </Rotor>
    32 <!--- -->
    33     <Rotor>
    34       <name>meteorit01.1</name>
    35       <model>models/planets/asteroid_FA48.obj, 18</model>
    36       <abs-coor>900,-100,-40</abs-coor>
    37       <rotation>1,0,0</rotation>
    38       <Size>100</Size>
    39     </Rotor>
    40 
    41 
    42     <Rotor>
    43       <name>meteorit01.2</name>
    44       <model>models/planets/asteroid_FA48.obj, 16</model>
    45       <abs-coor>1160,-50,-50</abs-coor>
    46       <rotation>0,2,0</rotation>
    47       <Size>100</Size>
    48     </Rotor>
    49     <Rotor>
    50       <name>meteorit01.3</name>
    51       <model>models/planets/asteroid_FA48.obj, 5</model>
    52       <abs-coor>1150,-100,-25</abs-coor>
    53       <rotation>0,6,0</rotation>
    54       <Size>100</Size>
    55     </Rotor>
    56     <Rotor>
    57       <name>meteorit01.4</name>
    58       <model>models/planets/asteroid_FA48.obj, 10</model>
    59       <abs-coor>1240,-100,-10</abs-coor>
    60       <rotation>1,2,0</rotation>
    61       <Size>100</Size>
    62     </Rotor>
    63     <Rotor>
    64       <name>meteorit01.5</name>
    65       <model>models/planets/asteroid_FA48.obj, 25</model>
    66       <abs-coor>1170,-100,20</abs-coor>
    67       <rotation>0,0.5,0</rotation>
    68       <Size>100</Size>
    69     </Rotor>
    70     <Rotor>    <Rotor>
    71       <name>meteorit01.6</name>
    72       <model>models/planets/asteroid_FA48.obj, 10</model>
    73       <abs-coor>1300,-50,-30</abs-coor>
    74       <rotation>0,2,0</rotation>
    75       <Size>100</Size>
    76     </Rotor>
    77     <!--- -->
     33
     34    <Rotor>
    7835      <name>meteorit02</name>
    7936      <model>models/planets/asteroid_FA48.obj, 20</model>
    8037      <abs-coor>1500,-200,40</abs-coor>
    81       <rotation>0,0,2</rotation>
     38      <rotation>0,0,3</rotation>
    8239      <Size>100</Size>
    8340    </Rotor>
     
    235192
    236193    <NPC>
     194      <name>Pirate53</name>
     195      <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
     196      <team>1</team>
     197      <swarm>1</swarm>
     198      <list>group00</list>
     199      <attackDistance>60</attackDistance>
     200      <maxSpeed>500</maxSpeed>
     201      <Weapons>HeavyBlaster</Weapons>
     202      <abs-coor>3450, 0, -20</abs-coor>
     203      <abs-dir> 3.14,0,1,0 </abs-dir>
     204    </NPC>
     205
     206    <NPC>
     207      <name>Pirate54</name>
     208      <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
     209      <team>1</team>
     210      <swarm>1</swarm>
     211      <list>group00</list>
     212      <attackDistance>60</attackDistance>
     213      <maxSpeed>500</maxSpeed>
     214      <Weapons>HeavyBlaster</Weapons>
     215      <abs-coor>3450, 0, 20</abs-coor>
     216      <abs-dir> 3.14,0,1,0 </abs-dir>
     217    </NPC>
     218
     219
     220
     221    <NPC>
    237222      <name>Pirate04</name>
    238223      <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
     
    243228      <maxSpeed>500</maxSpeed>
    244229      <Weapons>HeavyBlaster</Weapons>
    245       <abs-coor>5000, 0, -10</abs-coor>
     230      <abs-coor>5000, 0, -30</abs-coor>
    246231      <abs-dir> 3.14,0,1,0 </abs-dir>
    247232    </NPC>
     
    256241      <maxSpeed>500</maxSpeed>
    257242      <Weapons>HeavyBlaster</Weapons>
    258       <abs-coor>5000, 0, 10</abs-coor>
     243      <abs-coor>5000, 0, -40</abs-coor>
    259244      <abs-dir> 3.14,0,1,0 </abs-dir>
    260245    </NPC>
     
    269254      <maxSpeed>500</maxSpeed>
    270255      <Weapons>HeavyBlaster</Weapons>
    271       <abs-coor>4960, 0, 0</abs-coor>
    272       <abs-dir> 3.14,0,1,0 </abs-dir>
    273     </NPC>
     256      <abs-coor>4960, 0, -40</abs-coor>
     257      <abs-dir> 3.14,0,1,0 </abs-dir>
     258    </NPC>
     259
     260    <NPC>
     261      <name>Pirate56</name>
     262      <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
     263      <team>2</team>
     264      <swarm>2</swarm>
     265      <list>group00</list>
     266      <attackDistance>60</attackDistance>
     267      <maxSpeed>500</maxSpeed>
     268      <Weapons>HeavyBlaster</Weapons>
     269      <abs-coor>4980, 0, -40</abs-coor>
     270      <abs-dir> 3.14,0,1,0 </abs-dir>
     271    </NPC>
     272
     273    <NPC>
     274      <name>Pirate57</name>
     275      <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
     276      <team>2</team>
     277      <swarm>2</swarm>
     278      <list>group00</list>
     279      <attackDistance>60</attackDistance>
     280      <maxSpeed>500</maxSpeed>
     281      <Weapons>HeavyBlaster</Weapons>
     282      <abs-coor>4980, 0, 40</abs-coor>
     283      <abs-dir> 3.14,0,1,0 </abs-dir>
     284    </NPC>
     285
     286
    274287
    275288    <NPC>
     
    282295      <maxSpeed>500</maxSpeed>
    283296      <Weapons>HeavyBlaster</Weapons>
    284       <abs-coor>6000, 0, -40</abs-coor>
     297      <abs-coor>6000, 0, -200</abs-coor>
    285298      <abs-dir> 3.14,0,1,0 </abs-dir>
    286299    </NPC>
     
    294307      <maxSpeed>500</maxSpeed>
    295308      <Weapons>HeavyBlaster</Weapons>
    296       <abs-coor>6010, 0, -30</abs-coor>
     309      <abs-coor>6010, 0, -205</abs-coor>
    297310      <abs-dir> 3.14,0,1,0 </abs-dir>
    298311    </NPC>
     
    306319      <maxSpeed>500</maxSpeed>
    307320      <Weapons>HeavyBlaster</Weapons>
    308       <abs-coor>6010, 0, -50</abs-coor>
    309       <abs-dir> 3.14,0,1,0 </abs-dir>
    310     </NPC>
     321      <abs-coor>6010, 0, -195</abs-coor>
     322      <abs-dir> 3.14,0,1,0 </abs-dir>
     323    </NPC>
     324
     325    <NPC>
     326      <name>Pirate59</name>
     327      <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
     328      <team>2</team>
     329      <swarm>3</swarm>
     330      <list>group00</list>
     331      <attackDistance>60</attackDistance>
     332      <maxSpeed>500</maxSpeed>
     333      <Weapons>HeavyBlaster</Weapons>
     334      <abs-coor>6020, 0, -210</abs-coor>
     335      <abs-dir> 3.14,0,1,0 </abs-dir>
     336    </NPC>
     337
     338    <NPC>
     339      <name>Pirate49</name>
     340      <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
     341      <team>2</team>
     342      <swarm>3</swarm>
     343      <list>group00</list>
     344      <attackDistance>60</attackDistance>
     345      <maxSpeed>500</maxSpeed>
     346      <Weapons>HeavyBlaster</Weapons>
     347      <abs-coor>6020, 0, -220</abs-coor>
     348      <abs-dir> 3.14,0,1,0 </abs-dir>
     349    </NPC>
     350
     351    <NPC>
     352      <name>Pirate79</name>
     353      <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
     354      <team>2</team>
     355      <swarm>3</swarm>
     356      <list>group00</list>
     357      <attackDistance>60</attackDistance>
     358      <maxSpeed>500</maxSpeed>
     359      <Weapons>HeavyBlaster</Weapons>
     360      <abs-coor>6010, 0, -185</abs-coor>
     361      <abs-dir> 3.14,0,1,0 </abs-dir>
     362    </NPC>
     363
     364
    311365
    312366    <NPC>
     
    316370      <Track>
    317371        <mode>0</mode>
    318         <speed>55</speed>
     372        <speed>60</speed>
    319373        <addPoint>3600,-100,200</addPoint>
    320374        <addPoint>3700,-100,100</addPoint>
     
    330384      <name>Ragnar02</name>
    331385      <model>models/spaceships/pirates_spaceship_ragnar.obj,6</model>
    332       <abs-coor>7000, 0, -350</abs-coor>
     386      <abs-coor>7000, 0, -500</abs-coor>
    333387      <abs-dir> 1,5,0,1,0 </abs-dir>
    334388      <team>3</team>
    335389      <swarm>1</swarm>
    336390      <list>group00</list>
    337       <attackDistance>50</attackDistance>
     391      <attackDistance>60</attackDistance>
    338392      <Weapons>HeavyBlaster</Weapons>
    339393      <maxSpeed>400</maxSpeed>
     
    349403      <maxSpeed>500</maxSpeed>
    350404      <Weapons>HeavyBlaster</Weapons>
    351       <abs-coor>7500, 0, -1000</abs-coor>
     405      <abs-coor>7500, 0, -1145</abs-coor>
    352406      <abs-dir> 3.14,0,1,0 </abs-dir>
    353407    </NPC>
     
    355409    <NPC>
    356410      <name>Noxon02</name>
    357       <model>models/spaceships/noxon_spaceship_fighter.obj,1</model>
     411      <model>models/spaceships/noxon_spaceship_scout.obj,1</model>
    358412      <team>2</team>
    359413      <swarm>3</swarm>
     
    362416      <maxSpeed>500</maxSpeed>
    363417      <Weapons>HeavyBlaster</Weapons>
    364       <abs-coor>7500, 0, -1010</abs-coor>
     418      <abs-coor>7510, 0, -1150</abs-coor>
    365419      <abs-dir> 3.14,0,1,0 </abs-dir>
    366420    </NPC>
     
    368422    <NPC>
    369423      <name>Noxon03</name>
    370       <model>models/spaceships/noxon_spaceship_fighter.obj,1</model>
     424      <model>models/spaceships/noxon_spaceship_scout.obj,1</model>
    371425      <team>2</team>
    372426      <swarm>3</swarm>
     
    375429      <maxSpeed>500</maxSpeed>
    376430      <Weapons>HeavyBlaster</Weapons>
    377       <abs-coor>7500, 0, -990</abs-coor>
     431      <abs-coor>7520, 0, -1155</abs-coor>
    378432      <abs-dir> 3.14,0,1,0 </abs-dir>
    379433    </NPC>
     
    387441      <maxSpeed>500</maxSpeed>
    388442      <Weapons>HeavyBlaster</Weapons>
    389       <abs-coor>7550, 0, -1020</abs-coor>
     443      <abs-coor>7530, 0, -1160</abs-coor>
    390444      <abs-dir> 3.14,0,1,0 </abs-dir>
    391445    </NPC>
     
    399453      <maxSpeed>500</maxSpeed>
    400454      <Weapons>HeavyBlaster</Weapons>
    401       <abs-coor>7550, 0, -980</abs-coor>
     455      <abs-coor>7540, 0, -1147</abs-coor>
    402456      <abs-dir> 3.14,0,1,0 </abs-dir>
    403457    </NPC>
  • data/trunk/scripts/vertical_scroller/vs1.lua

    r4710 r4722  
    66thisscript:addObject("NPC", "Ragnar01")
    77thisscript:addObject("NPC", "Ragnar02")
     8
    89thisscript:addObject("NPC", "Pirate01")
    910thisscript:addObject("NPC", "Pirate02")
    1011thisscript:addObject("NPC", "Pirate03")
     12thisscript:addObject("NPC", "Pirate53")
     13thisscript:addObject("NPC", "Pirate54")
     14
    1115thisscript:addObject("NPC", "Pirate04")
    1216thisscript:addObject("NPC", "Pirate05")
    1317thisscript:addObject("NPC", "Pirate06")
     18thisscript:addObject("NPC", "Pirate56")
     19thisscript:addObject("NPC", "Pirate57")
     20
    1421thisscript:addObject("NPC", "Pirate07")
    1522thisscript:addObject("NPC", "Pirate08")
    1623thisscript:addObject("NPC", "Pirate09")
     24thisscript:addObject("NPC", "Pirate59")
     25thisscript:addObject("NPC", "Pirate49")
     26thisscript:addObject("NPC", "Pirate79")
    1727
    1828-- The Noxons
     
    7181triggerRagnar:setRadius(50)
    7282triggerRagnar:setTarget("Player")
    73 triggerRagnar:setAbsCoor(3600 , 0 , -10)
     83triggerRagnar:setAbsCoor(3600 , 0 , -15)
    7484triggerRagnar:setDebugDraw(true)
    7585triggerRagnar:setActiveOnCreation(false)
     
    91101triggerAI02:setRadius(50)
    92102triggerAI02:setTarget("Player")
    93 triggerAI02:setAbsCoor(4900, 0, 0)
     103triggerAI02:setAbsCoor(4900, 0, -45)
    94104triggerAI02:setDebugDraw(true)
    95105triggerAI02:setActiveOnCreation(false)
     
    101111triggerAI03:setRadius(50)
    102112triggerAI03:setTarget("Player")
    103 triggerAI03:setAbsCoor(5850, 0, -70)
     113triggerAI03:setAbsCoor(5850, 0, -170)
    104114triggerAI03:setDebugDraw(true)
    105115triggerAI03:setActiveOnCreation(false)
     
    111121triggerAI04:setRadius(50)
    112122triggerAI04:setTarget("Player")
    113 triggerAI04:setAbsCoor(6500, 0, -200)
     123triggerAI04:setAbsCoor(6500, 0, -400)
    114124triggerAI04:setDebugDraw(true)
    115125triggerAI04:setActiveOnCreation(false)
     
    125135time = 0
    126136
     137-- init function
    127138function init(timestep)
    128139-- cameraManager:setCam("GameWorld-Camera")
    129140cameraManager:atachCameraToWorldEntity("CameraOne", "NPC", "Pirate01")
    130141cameraManager:atachCameraToWorldEntity("CameraTwo", "NPC", "Noxon01")
    131 cameraManager:setRelCoor("CameraOne", 10, 8 , 5)
     142cameraManager:setRelCoor("CameraOne", 10, 8 , -5)
    132143cameraManager:setRelCoor("CameraTwo", 10, 8 , 5)
    133 --Player:setCameraDistance(100)
    134144
    135145
    136146Ragnar01:pause(true)
    137 -- cameraManager:changeTarget("CameraOne", "NPC", "Pirate01")
    138 -- cameraManager:jumpCam("CameraOne", 3300, 0, 50)
    139147
    140148return true
     
    145153Player:pause(true)
    146154cameraManager:setCam("CameraOne")
    147 -- gameWorld:showText("Kill those traitorous bastards")
    148 -- cameraManager:changeCurrTarget("NPC", "Pirate01")
    149 -- cameraManager:atachCurrCameraToWorldEntity("NPC", "Pirate01")
    150155cutsceneRunning = true
    151156return true
     
    186191Pirate02:setAI(true)
    187192Pirate03:setAI(true)
     193Pirate53:setAI(true)
     194Pirate54:setAI(true)
    188195
    189196return true
     
    196203Pirate05:setAI(true)
    197204Pirate06:setAI(true)
     205Pirate56:setAI(true)
     206Pirate57:setAI(true)
    198207
    199208return true
     
    206215Pirate08:setAI(true)
    207216Pirate09:setAI(true)
     217Pirate59:setAI(true)
     218Pirate49:setAI(true)
     219Pirate79:setAI(true)
    208220
    209221return true
     
    215227Ragnar02:setAI(true)
    216228bossFight = true
    217 Player:setCameraDist(100)
    218 
     229cameraManager:setRelCoorSoft("GameWorld-Camera", -0.05, 120, 0)
     230Player:pause(true)
    219231return true
    220232end
     
    236248end
    237249
     250
    238251function onNoxons(timestep)
    239252
    240253if bossFightEnd then
    241254cameraManager:setCam("CameraTwo")
    242 Player:pause(true)
    243255end
    244256
     
    246258return cutscene2End
    247259end
     260
     261
     262function ragnarBoom(timestep)
     263Ragnar01:destroy()
     264return true
     265end
Note: See TracChangeset for help on using the changeset viewer.