Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4899 for data


Ignore:
Timestamp:
Jun 18, 2007, 6:27:40 PM (17 years ago)
Author:
stefalie
Message:

vertical scroller lvl

Location:
data/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • data/trunk/levels/DefaultCampaign.oxc

    r4871 r4899  
    1414    <SinglePlayerWorld>
    1515      <identifier>1</identifier>
    16       <nextid>1</nextid>
    17       <name>Space Station</name>
    18       <path>levels/sp_level_spacestation1.oxw</path>
     16      <nextid>2</nextid>
     17      <name>Moonstation</name>
     18      <path>levels/sp_level_moonstation.oxw</path>
    1919      <menu-entry>1</menu-entry>
    2020    </SinglePlayerWorld>
    2121
    2222    <SinglePlayerWorld>
    23       <identifier>2</identifier>
    24       <nextid>1</nextid>
     23      <identifier>3</identifier>
     24      <nextid>4</nextid>
    2525      <name>Space Station</name>
    2626      <path>levels/sp_level_spacestation1B.oxw</path>
    2727      <menu-entry>1</menu-entry>
    2828    </SinglePlayerWorld>
    29    
     29
    3030    <SinglePlayerWorld>
    31       <identifier>3</identifier>
    32       <nextid>1</nextid>
    33       <name>Mission 1</name>
     31      <identifier>4</identifier>
     32      <nextid>5</nextid>
    3433      <path>levels/vertical_scroller.oxw</path>
    3534      <menu-entry>1</menu-entry>
    3635    </SinglePlayerWorld>
    37    
    38     <SinglePlayerWorld>
    39       <identifier>4</identifier>
    40       <nextid>1</nextid>
    41       <name>Moonstation</name>
    42       <path>levels/sp_level_moonstation.oxw</path>
    43       <menu-entry>1</menu-entry>
    44     </SinglePlayerWorld>
    45    
     36
    4637    <SinglePlayerWorld>
    4738      <identifier>5</identifier>
    48       <nextid>1</nextid>
     39      <nextid>6</nextid>
    4940      <name>Moonstation Hangar</name>
    5041      <path>levels/sp_level_moonstation_hangar.oxw</path>
    5142      <menu-entry>1</menu-entry>
    5243    </SinglePlayerWorld>
    53        
     44
    5445    <SinglePlayerWorld>
    55       <identifier>6</identifier>
     46      <identifier>7</identifier>
    5647      <nextid>1</nextid>
    5748      <name>Cut Scene</name>
     
    6152
    6253    <SinglePlayerWorld>
    63         <identifier>7</identifier>
    64         <nextid>1</nextid>
    65         <name>Enemy Debug</name>
    66         <path>levels/debug_enemy.oxw</path>
    67         <menu-entry>1</menu-entry>
     54      <identifier>7</identifier>
     55      <nextid>0</nextid>
     56      <name>Enemy Debug</name>
     57      <path>levels/debug_enemy.oxw</path>
     58      <menu-entry>1</menu-entry>
    6859    </SinglePlayerWorld>
    6960
    7061    <SinglePlayerWorld>
    71       <identifier>8</identifier>
     62      <identifier>1</identifier>
    7263      <nextid>1</nextid>
    7364      <name>Adm Test</name>
  • data/trunk/levels/vertical_scroller.oxw

    r4880 r4899  
    2323    </Building>
    2424
    25     <Building>
    26       <name>zhara</name>
    27       <model>models/space_stations/ZHARA_Space_Station.obj,30</model>
    28       <abs-coor>7950,0,-2000</abs-coor>
     25    <Planet>
     26      <name>Moon</name>
     27      <texture>textures/planets/mars.png</texture>
     28      <size>100</size>
     29      <abs-coor>3610, 116, -656</abs-coor>
    2930      <abs-dir>0.3,0,1,0</abs-dir>
    30     </Building>
     31    </Planet>
    3132
    3233    <Rotor>
    3334      <name>meteorit01</name>
    3435      <model>models/planets/asteroid_FA48.obj, 20</model>
    35       <abs-coor>1100,-100,30</abs-coor>
     36      <abs-coor>1395, 185, 521</abs-coor>
    3637      <rotation>0,2,0</rotation>
    3738      <Size>100</Size>
     39      <Track>
     40        <!--<ActionBox>45, 25, 450, 6</ActionBox>-->
     41        <mode>1</mode>
     42        <speed>50</speed>
     43        <addPoint>1395, 185, 521</addPoint>
     44        <addPoint>1227, 349, 728</addPoint>
     45        <addPoint>1155, 425, 823</addPoint>
     46      </Track>
    3847    </Rotor>
    39 
    40     <Rotor>
    41       <name>meteorit02</name>
    42       <model>models/planets/asteroid_FA48.obj, 20</model>
    43       <abs-coor>1500,-200,40</abs-coor>
    44       <rotation>0,0,3</rotation>
    45       <Size>100</Size>
    46     </Rotor>
    47 
    48     <Rotor>
    49       <name>meteorit03</name>
    50       <model>models/planets/asteroid_FA108.obj, 25</model>
    51       <abs-coor>1700,-1000,-10</abs-coor>
    52       <rotation>4,2,1</rotation>
    53       <Size>100</Size>
    54     </Rotor>
    55 
    56     <Rotor>
    57       <name>meteorit04</name>
    58       <model>models/planets/asteroid_FA108.obj, 20</model>
    59       <abs-coor>2300,-500,-10</abs-coor>
    60       <rotation>0,2,1</rotation>
    61       <Size>100</Size>
    62     </Rotor>
    63 
    64     <Rotor>
    65       <name>meteorit05</name>
    66       <model>models/planets/asteroid_FA48.obj, 10</model>
    67       <abs-coor>2200,-50,50</abs-coor>
    68       <rotation>5,0,1</rotation>
    69       <Size>100</Size>
    70     </Rotor>
    71 
    72     <Rotor>
    73       <name>meteorit06</name>
    74       <model>models/planets/asteroid_FA48.obj, 5</model>
    75       <abs-coor>2000,-50,0</abs-coor>
    76       <rotation>0,3,5</rotation>
    77       <Size>100</Size>
    78     </Rotor>
    79 
    80     <Rotor>
    81       <name>meteorit07</name>
    82       <model>models/planets/asteroid_FA108.obj, 20</model>
    83       <abs-coor>3100,-500,15</abs-coor>
    84       <rotation>1,2,0</rotation>
    85       <Size>100</Size>
    86     </Rotor>
    87 
    88     <Rotor>
    89       <name>meteorit08</name>
    90       <model>models/planets/asteroid_FA108.obj, 20</model>
    91       <abs-coor>3400,-500,-30</abs-coor>
    92       <rotation>0,5,0</rotation>
    93       <Size>100</Size>
    94     </Rotor>
    95 
    96     <Rotor>
    97       <name>meteorit09</name>
    98       <model>models/planets/asteroid_FA108.obj, 15</model>
    99       <abs-coor>3700,-400,-10</abs-coor>
    100       <rotation>0,1,3</rotation>
    101       <Size>100</Size>
    102     </Rotor>
    103 
    104     <Rotor>
    105       <name>meteorit10</name>
    106       <model>models/planets/asteroid_FA48.obj, 10</model>
    107       <abs-coor>3800,-500,20</abs-coor>
    108       <rotation>1,2,0</rotation>
    109       <Size>100</Size>
    110     </Rotor>
    111 
    112     <Rotor>
    113       <name>meteorit11</name>
    114       <model>models/planets/asteroid_FA108.obj, 20</model>
    115       <abs-coor>4000,-600,-20</abs-coor>
    116       <rotation>3,4,0</rotation>
    117       <Size>100</Size>
    118     </Rotor>
    119 
    120     <Rotor>
    121       <name>meteorit12</name>
    122       <model>models/planets/asteroid_FA48.obj, 5</model>
    123       <abs-coor>4200,-50,20</abs-coor>
    124       <rotation>1,0,5</rotation>
    125       <Size>100</Size>
    126     </Rotor>
    127 
    128     <Rotor>
    129       <name>meteorit13</name>
    130       <model>models/planets/asteroid_FA108.obj, 20</model>
    131       <abs-coor>4500,-500,30</abs-coor>
    132       <rotation>2,1,0</rotation>
    133       <Size>100</Size>
    134     </Rotor>
    135 
    136     <Rotor>
    137       <name>meteorit14</name>
    138       <model>models/planets/asteroid_FA48.obj, 15</model>
    139       <abs-coor>4700,-300,20</abs-coor>
    140       <rotation>0,6,2</rotation>
    141       <Size>100</Size>
    142     </Rotor>
    143 
    144     <Rotor>
    145       <name>meteorit15</name>
    146       <model>models/planets/asteroid_FA108.obj, 20</model>
    147       <abs-coor>5000,-800,40</abs-coor>
    148       <rotation>1,1,0</rotation>
    149       <Size>100</Size>
    150     </Rotor>
    151 
    152     <Rotor>
    153       <name>meteorit16</name>
    154       <model>models/planets/asteroid_FA108.obj, 15</model>
    155       <abs-coor>5200,-400,30</abs-coor>
    156       <rotation>0,2,3</rotation>
    157       <Size>100</Size>
    158     </Rotor>
    159 <!--
    160     <NPC>
    161       <name>Pirate111</name>
    162       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    163       <team>1</team>
    164       <list>group00</list>
    165       <swarm>5</swarm>
    166       <enableAI>1</enableAI>
    167       <attackDistance>60</attackDistance>
    168       <maxSpeed>500</maxSpeed>
    169       <Weapons>HeavyBlaster</Weapons>
    170       <abs-coor>2680, 0, 10</abs-coor>
    171       <abs-dir> 3.14,0,1,0 </abs-dir>
    172     </NPC>
    173 
    174     <NPC>
    175       <name>Pirate112</name>
    176       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    177       <team>5</team>
    178       <list>group00</list>
    179       <swarm>1</swarm>
    180       <enableAI>1</enableAI>
    181       <attackDistance>60</attackDistance>
    182       <maxSpeed>500</maxSpeed>
    183       <Weapons>HeavyBlaster</Weapons>
    184       <abs-coor>2680, 0, 10</abs-coor>
    185       <abs-dir> 3.14,0,1,0 </abs-dir>
    186     </NPC>
    187 
    188     <NPC>
    189       <name>Pirate113</name>
    190       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    191       <team>1</team>
    192       <list>group00</list>
    193       <swarm>5</swarm>
    194       <enableAI>1</enableAI>
    195       <attackDistance>60</attackDistance>
    196       <maxSpeed>500</maxSpeed>
    197       <Weapons>HeavyBlaster</Weapons>
    198       <abs-coor>2680, 0, 10</abs-coor>
    199       <abs-dir> 3.14,0,1,0 </abs-dir>
    200     </NPC>
    201 
    202     <NPC>
    203       <name>Pirate01</name>
    204       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    205       <mountpoints>models/spaceships/pirates_spaceship_fighter.oif</mountpoints>
    206       <team>1</team>
    207       <list>group00</list>
    208       <swarm>1</swarm>
    209       <enableAI>1</enableAI>
    210       <attackDistance>60</attackDistance>
    211       <maxSpeed>500</maxSpeed>
    212       <Weapons>HeavyBlaster</Weapons>
    213       <abs-coor>3480, 0, 10</abs-coor>
    214       <abs-dir> 3.14,0,1,0 </abs-dir>
    215     </NPC>
    216 
    217     <NPC>
    218       <name>Pirate02</name>
    219       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    220       <mountpoints>models/spaceships/pirates_spaceship_fighter.oif</mountpoints>
    221       <team>1</team>
    222       <swarm>1</swarm>
    223       <list>group00</list>
    224       <enableAI>1</enableAI>
    225       <attackDistance>60</attackDistance>
    226       <maxSpeed>500</maxSpeed>
    227       <Weapons>HeavyBlaster</Weapons>
    228       <abs-coor>3500, 0, 0</abs-coor>
    229       <abs-dir> 3.14,0,1,0 </abs-dir>
    230     </NPC>
    231 
    232     <NPC>
    233       <name>Pirate03</name>
    234       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    235       <mountpoints>models/spaceships/pirates_spaceship_fighter.oif</mountpoints>
    236       <team>1</team>
    237       <swarm>1</swarm>
    238       <list>group00</list>
    239       <enableAI>1</enableAI>
    240       <attackDistance>60</attackDistance>
    241       <maxSpeed>500</maxSpeed>
    242       <Weapons>HeavyBlaster</Weapons>
    243       <abs-coor>3480, 0, -10</abs-coor>
    244       <abs-dir> 3.14,0,1,0 </abs-dir>
    245     </NPC>
    246 
    247     <NPC>
    248       <name>Pirate53</name>
    249       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    250       <team>1</team>
    251       <swarm>1</swarm>
    252       <list>group00</list>
    253       <enableAI>1</enableAI>
    254       <attackDistance>60</attackDistance>
    255       <maxSpeed>500</maxSpeed>
    256       <Weapons>HeavyBlaster</Weapons>
    257       <abs-coor>3450, 0, -20</abs-coor>
    258       <abs-dir> 3.14,0,1,0 </abs-dir>
    259     </NPC>
    260 
    261     <NPC>
    262       <name>Pirate54</name>
    263       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    264       <team>1</team>
    265       <swarm>1</swarm>
    266       <list>group00</list>
    267       <enableAI>1</enableAI>
    268       <attackDistance>60</attackDistance>
    269       <maxSpeed>500</maxSpeed>
    270       <Weapons>HeavyBlaster</Weapons>
    271       <abs-coor>3450, 0, 20</abs-coor>
    272       <abs-dir> 3.14,0,1,0 </abs-dir>
    273     </NPC>
    274 
    275 
    276 
    277     <NPC>
    278       <name>Pirate04</name>
    279       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    280       <team>1</team>
    281       <swarm>2</swarm>
    282       <list>group00</list>
    283       <enableAI>1</enableAI>
    284       <attackDistance>60</attackDistance>
    285       <maxSpeed>500</maxSpeed>
    286       <Weapons>HeavyBlaster</Weapons>
    287       <abs-coor>5000, 0, -30</abs-coor>
    288       <abs-dir> 3.14,0,1,0 </abs-dir>
    289     </NPC>
    290 
    291     <NPC>
    292       <name>Pirate05</name>
    293       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    294       <team>1</team>
    295       <swarm>2</swarm>
    296       <list>group00</list>
    297       <enableAI>1</enableAI>
    298       <attackDistance>60</attackDistance>
    299       <maxSpeed>500</maxSpeed>
    300       <Weapons>HeavyBlaster</Weapons>
    301       <abs-coor>5000, 0, -40</abs-coor>
    302       <abs-dir> 3.14,0,1,0 </abs-dir>
    303     </NPC>
    304 
    305     <NPC>
    306       <name>Pirate06</name>
    307       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    308       <team>2</team>
    309       <swarm>2</swarm>
    310       <list>group00</list>
    311       <enableAI>1</enableAI>
    312       <attackDistance>60</attackDistance>
    313       <maxSpeed>500</maxSpeed>
    314       <Weapons>HeavyBlaster</Weapons>
    315       <abs-coor>4960, 0, -40</abs-coor>
    316       <abs-dir> 3.14,0,1,0 </abs-dir>
    317     </NPC>
    318 
    319     <NPC>
    320       <name>Pirate56</name>
    321       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    322       <team>2</team>
    323       <swarm>2</swarm>
    324       <list>group00</list>
    325       <enableAI>1</enableAI>
    326       <attackDistance>60</attackDistance>
    327       <maxSpeed>500</maxSpeed>
    328       <Weapons>HeavyBlaster</Weapons>
    329       <abs-coor>4980, 0, -40</abs-coor>
    330       <abs-dir> 3.14,0,1,0 </abs-dir>
    331     </NPC>
    332 
    333     <NPC>
    334       <name>Pirate57</name>
    335       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    336       <team>2</team>
    337       <swarm>2</swarm>
    338       <list>group00</list>
    339       <enableAI>1</enableAI>
    340       <attackDistance>60</attackDistance>
    341       <maxSpeed>500</maxSpeed>
    342       <Weapons>HeavyBlaster</Weapons>
    343       <abs-coor>4980, 0, 40</abs-coor>
    344       <abs-dir> 3.14,0,1,0 </abs-dir>
    345     </NPC>
    346 
    347 
    348 
    349     <NPC>
    350       <name>Pirate07</name>
    351       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    352       <team>1</team>
    353       <swarm>2</swarm>
    354       <list>group00</list>
    355       <enableAI>1</enableAI>
    356       <attackDistance>60</attackDistance>
    357       <maxSpeed>500</maxSpeed>
    358       <Weapons>HeavyBlaster</Weapons>
    359       <abs-coor>6000, 0, -200</abs-coor>
    360       <abs-dir> 3.14,0,1,0 </abs-dir>
    361     </NPC>
    362     <NPC>
    363       <name>Pirate08</name>
    364       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    365       <team>1</team>
    366       <swarm>2</swarm>
    367       <list>group00</list>
    368       <enableAI>1</enableAI>
    369       <attackDistance>60</attackDistance>
    370       <maxSpeed>500</maxSpeed>
    371       <Weapons>HeavyBlaster</Weapons>
    372       <abs-coor>6010, 0, -205</abs-coor>
    373       <abs-dir> 3.14,0,1,0 </abs-dir>
    374     </NPC>
    375     <NPC>
    376       <name>Pirate09</name>
    377       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    378       <team>1</team>
    379       <swarm>2</swarm>
    380       <list>group00</list>
    381       <enableAI>1</enableAI>
    382       <attackDistance>60</attackDistance>
    383       <maxSpeed>500</maxSpeed>
    384       <abs-coor>6010, 0, -195</abs-coor>
    385       <abs-dir> 3.14,0,1,0 </abs-dir>
    386     </NPC>
    387 
    388     <NPC>
    389       <name>Pirate59</name>
    390       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    391       <team>1</team>
    392       <swarm>2</swarm>
    393       <list>group00</list>
    394       <enableAI>1</enableAI>
    395       <attackDistance>60</attackDistance>
    396       <maxSpeed>500</maxSpeed>
    397       <abs-coor>6020, 0, -210</abs-coor>
    398       <abs-dir> 3.14,0,1,0 </abs-dir>
    399     </NPC>
    400 
    401     <NPC>
    402       <name>Pirate49</name>
    403       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    404       <team>1</team>
    405       <swarm>2</swarm>
    406       <list>group00</list>
    407       <enableAI>1</enableAI>
    408       <attackDistance>60</attackDistance>
    409       <maxSpeed>500</maxSpeed>
    410       <abs-coor>6020, 0, -220</abs-coor>
    411       <abs-dir> 3.14,0,1,0 </abs-dir>
    412     </NPC>
    413 
    414     <NPC>
    415       <name>Pirate79</name>
    416       <model>models/spaceships/pirates_spaceship_fighter.obj,1</model>
    417       <team>1</team>
    418       <swarm>2</swarm>
    419       <list>group00</list>
    420       <enableAI>1</enableAI>
    421       <attackDistance>60</attackDistance>
    422       <maxSpeed>500</maxSpeed>
    423       <abs-coor>6010, 0, -185</abs-coor>
    424       <abs-dir> 3.14,0,1,0 </abs-dir>
    425     </NPC>
    426 
    427 
    428 
    429     <NPC>
    430       <name>Ragnar01</name>
    431       <model>models/spaceships/pirates_spaceship_ragnar.obj,6</model>
    432       <mountpoints>models/spaceships/pirates_spaceship_ragnar_vert.oif</mountpoints>
    433       <abs-coor>3450, 0, -10</abs-coor>
    434       <Track>
    435         <mode>1</mode>
    436         <speed>60</speed>
    437         <addPoint>3600,-100,200</addPoint>
    438         <addPoint>3700,-100,100</addPoint>
    439         <addPoint>3800,-100,50</addPoint>
    440         <addPoint>3900,-100,0</addPoint>
    441         <addPoint>4000,-50,-30</addPoint>
    442         <addPoint>4200,-30,-50</addPoint>
    443         <addPoint>4500,0,-200</addPoint>
    444       </Track>
    445     </NPC>
    446 -->
    447 <!--
    448     <NPC>
    449       <name>Ragnar02</name>
    450       <model>models/spaceships/pirates_spaceship_ragnar.obj,6</model>
    451       <abs-coor>7000, 0, -350</abs-coor>
    452       <abs-dir> 3.14,0,1,0 </abs-dir>
    453       <enableAI>1</enableAI>
    454       <team>3</team>
    455       <swarm>1</swarm>
    456       <list>group00</list>
    457       <attackDistance>60</attackDistance>
    458       <maxSpeed>400</maxSpeed>
    459     </NPC>
    460 -->
    461 <!--
    462     <NPC>
    463       <name>Noxon01</name>
    464       <model>models/spaceships/noxon_spaceship_fighter.obj,1</model>
    465       <team>4</team>
    466       <swarm>1</swarm>
    467       <list>group00</list>
    468       <enableAI>1</enableAI>
    469       <attackDistance>60</attackDistance>
    470       <maxSpeed>500</maxSpeed>
    471       <weapon-config>3</weapon-config>
    472       <abs-coor>7500, 0, -1145</abs-coor>
    473       <abs-dir> 3.14,0,1,0 </abs-dir>
    474     </NPC>
    475 
    476     <NPC>
    477       <name>Noxon02</name>
    478       <model>models/spaceships/noxon_spaceship_scout.obj,1</model>
    479       <team>4</team>
    480       <swarm>1</swarm>
    481       <list>group00</list>
    482       <enableAI>1</enableAI>
    483       <attackDistance>60</attackDistance>
    484       <weapon-config>3</weapon-config>
    485       <maxSpeed>500</maxSpeed>
    486       <abs-coor>7510, 0, -1150</abs-coor>
    487       <abs-dir> 3.14,0,1,0 </abs-dir>
    488     </NPC>
    489 
    490     <NPC>
    491       <name>Noxon03</name>
    492       <model>models/spaceships/noxon_spaceship_scout.obj,1</model>
    493       <team>4</team>
    494       <swarm>1</swarm>
    495       <list>group00</list>
    496       <enableAI>1</enableAI>
    497       <attackDistance>60</attackDistance>
    498       <weapon-config>3</weapon-config>
    499       <maxSpeed>500</maxSpeed>
    500       <abs-coor>7520, 0, -1155</abs-coor>
    501       <abs-dir> 3.14,0,1,0 </abs-dir>
    502     </NPC>
    503     <NPC>
    504       <name>Noxon04</name>
    505       <model>models/spaceships/noxon_spaceship_bomber.obj,1</model>
    506       <team>4</team>
    507       <swarm>2</swarm>
    508       <list>group00</list>
    509       <enableAI>1</enableAI>
    510       <attackDistance>60</attackDistance>
    511       <weapon-config>3</weapon-config>
    512       <maxSpeed>500</maxSpeed>
    513       <abs-coor>7530, 0, -1160</abs-coor>
    514       <abs-dir> 3.14,0,1,0 </abs-dir>
    515     </NPC>
    516     <NPC>
    517       <name>Noxon05</name>
    518       <model>models/spaceships/noxon_spaceship_bomber.obj,1</model>
    519       <team>4</team>
    520       <swarm>2</swarm>
    521       <list>group00</list>
    522       <enableAI>1</enableAI>
    523       <attackDistance>60</attackDistance>
    524       <weapon-config>3</weapon-config>
    525       <maxSpeed>500</maxSpeed>
    526       <abs-coor>7540, 0, -1147</abs-coor>
    527       <abs-dir> 3.14,0,1,0 </abs-dir>
    528     </NPC>
    529 -->
    53048
    53149    <SpaceShip>
     
    54260      <actionWidthPercentage>70</actionWidthPercentage>
    54361      <Track>
    544         <ActionBox>45, 25, 200, 4</ActionBox>
     62        <ActionBox>45, 25, 450, 6</ActionBox>
    54563        <mode>1</mode>
    54664        <speed>50</speed>
    54765        <addPoint>0,0,0</addPoint>
    548         <addPoint>1000,0,200</addPoint>
    549         <addPoint>2000,0,0</addPoint>
    550         <addPoint>3000,0,-200</addPoint>
    551         <addPoint>4000,0,0</addPoint>
    552         <addPoint>5000,0,200</addPoint>
    553         <addPoint>6000,0,0</addPoint>
    554         <addPoint>7000,0,-200</addPoint>
    555         <addPoint>7500,0,-700</addPoint>
    556         <addPoint>7500,0,-1000</addPoint>
    557         <addPoint>7500,0,-1500</addPoint>
    558         <addPoint>8000,0,-2000</addPoint>
     66        <addPoint>219.837738, -0.605457, 37.411240</addPoint>
     67        <addPoint>225.830383, -0.594443, 37.732834</addPoint>
     68        <addPoint>476.373810, 1.972882, 87.780724</addPoint>
     69        <addPoint>525.073425, 11.045420, 158.684738</addPoint>
     70        <addPoint>573.796875, 53.013050, 277.995331</addPoint>
     71        <addPoint>641.345520, 191.439758, 470.532043</addPoint>
     72        <addPoint>644.873962, 200.623535, 480.493805</addPoint>
     73        <addPoint>714.454956, 346.079803, 633.238831</addPoint>
     74        <addPoint>811.807983, 435.029388, 763.965637</addPoint>
     75        <addPoint>949.991882, 471.741425, 902.679993</addPoint>
     76        <addPoint>1183.444336, 411.088043, 1024.882690</addPoint>
     77        <addPoint>3158.161865, 182.301956, 637.366394</addPoint>
     78        <addPoint>3886.473633, 125.085068, 67.849152</addPoint>
     79        <addPoint>3865.079590, 105.373840, -416.046570</addPoint>
     80        <addPoint>3610, 116, -656</addPoint>
    55981      </Track>
    56082    </SpaceShip>
    561 <!--
    562     <NPC>
    563       <name>Noxon111</name>
    564       <model>models/spaceships/noxon_spaceship_fighter.obj,1</model>
    565       <team>2</team>
    566       <swarm>3</swarm>
    567       <list>group00</list>
    568       <enableAI>1</enableAI>
    569       <attackDistance>60</attackDistance>
    570       <maxSpeed>500</maxSpeed>
    571       <weapon-config>3</weapon-config>
    572       <abs-coor>7700, 0, -1525</abs-coor>
    573       <abs-dir> 3.14,0,1,0 </abs-dir>
    574     </NPC>
    575     <NPC>
    576       <name>Noxon112</name>
    577       <model>models/spaceships/noxon_spaceship_scout.obj,1</model>
    578       <team>2</team>
    579       <swarm>3</swarm>
    580       <list>group00</list>
    581       <enableAI>1</enableAI>
    582       <attackDistance>60</attackDistance>
    583       <maxSpeed>500</maxSpeed>
    584       <weapon-config>3</weapon-config>
    585       <abs-coor>7700, 0, -1535</abs-coor>
    586       <abs-dir> 3.14,0,1,0 </abs-dir>
    587     </NPC>
    588     <NPC>
    589       <name>Noxon113</name>
    590       <model>models/spaceships/noxon_spaceship_bomber.obj,1</model>
    591       <team>2</team>
    592       <swarm>3</swarm>
    593       <list>group00</list>
    594       <enableAI>1</enableAI>
    595       <attackDistance>60</attackDistance>
    596       <maxSpeed>500</maxSpeed>
    597       <weapon-config>3</weapon-config>
    598       <abs-coor>7700, 0, -1545</abs-coor>
    599       <abs-dir> 3.14,0,1,0 </abs-dir>
    600     </NPC>
    601     <NPC>
    602       <name>Noxon114</name>
    603       <model>models/spaceships/noxon_spaceship_fighter.obj,1</model>
    604       <team>2</team>
    605       <swarm>3</swarm>
    606       <list>group00</list>
    607       <enableAI>1</enableAI>
    608       <attackDistance>60</attackDistance>
    609       <maxSpeed>500</maxSpeed>
    610       <weapon-config>3</weapon-config>
    611       <abs-coor>7700, 0, -1565</abs-coor>
    612       <abs-dir> 3.14,0,1,0 </abs-dir>
    613     </NPC>
    61483
    615     <NPC>
    616       <name>Noxon115</name>
    617       <model>models/spaceships/noxon_spaceship_bomber.obj,1</model>
    618       <team>2</team>
    619       <swarm>3</swarm>
    620       <list>group00</list>
    621       <enableAI>1</enableAI>
    622       <attackDistance>60</attackDistance>
    623       <maxSpeed>500</maxSpeed>
    624       <weapon-config>3</weapon-config>
    625       <abs-coor>7900, 0, -1865</abs-coor>
    626       <abs-dir> 3.14,0,1,0 </abs-dir>
    627     </NPC>
    628 
    629     <NPC>
    630       <name>Noxon116</name>
    631       <model>models/spaceships/noxon_spaceship_fighter.obj,1</model>
    632       <team>2</team>
    633       <swarm>3</swarm>
    634       <list>group00</list>
    635       <enableAI>1</enableAI>
    636       <attackDistance>60</attackDistance>
    637       <maxSpeed>500</maxSpeed>
    638       <weapon-config>3</weapon-config>
    639       <abs-coor>7900, 0, -1855</abs-coor>
    640       <abs-dir> 3.14,0,1,0 </abs-dir>
    641     </NPC>
    642 
    643     <NPC>
    644       <name>Noxon117</name>
    645       <model>models/spaceships/noxon_spaceship_scout.obj,1</model>
    646       <team>2</team>
    647       <swarm>3</swarm>
    648       <list>group00</list>
    649       <enableAI>1</enableAI>
    650       <attackDistance>60</attackDistance>
    651       <maxSpeed>500</maxSpeed>
    652       <weapon-config>3</weapon-config>
    653       <abs-coor>7900, 0, -1845</abs-coor>
    654       <abs-dir> 3.14,0,1,0 </abs-dir>
    655     </NPC>
    656 -->
    657    <SkyBox>
     84    <SkyBox>
    65885      <name>Sky</name>
    65986      <Materialset>textures/sky/simple_space</Materialset>
     
    679106
    680107  <ScriptManager>
    681    <Scripts>
    682 
    683     <Script>
    684      <file>vertical_scroller/vs1.lua</file>
    685     </Script>
    686 
    687    </Scripts>
    688 
     108    <Scripts>
     109      <Script>
     110        <file>vertical_scroller/vs1.lua</file>
     111      </Script>
     112    </Scripts>
    689113  </ScriptManager>
    690114
    691    <CameraMan>
    692     <name> cameraManager </name>
     115  <CameraMan>
     116    <name>cameraManager</name>
    693117    <Cameras>
    694      <Camera>
    695       <name> CameraOne </name>
    696       <abs-coor>2800,5,50</abs-coor>
    697      </Camera>
    698      <Camera>
    699       <name> CameraTwo </name>
    700       <abs-coor>7000,0,-50</abs-coor>
    701      </Camera>
     118      <Camera>
     119        <name>cameraOne</name>
     120          <abs-coor>2800,5,50</abs-coor>
     121      </Camera>
    702122    </Cameras>
    703    </CameraMan>
     123  </CameraMan>
    704124
    705 
    706    <Music>music/task_horizon_-_pinky.ogg</Music>
    707 
    708 
     125  <Music>music/task_horizon_-_pinky.ogg</Music>
    709126</WorldDataFile>
  • data/trunk/scripts/vertical_scroller/vs1.lua

    r4765 r4899  
    22thisscript:addObject("SpaceShip", "Player")
    33thisscript:addObject("CameraMan", "cameraManager")
     4thisscript:addObjectAsName("GameWorld", "Mission 1", "gameWorld")
    45
    5 -- The Pirates
    6 thisscript:addObject("NPC", "Ragnar01")
    7 --thisscript:addObject("NPC", "Ragnar02")
     6triggerFadeOut = SpaceTrigger()
     7triggerFadeOut:setScript("vs1.lua")
     8triggerFadeOut:setFunction("fadeOut")
     9triggerFadeOut:setRadius(250)
     10triggerFadeOut:setTarget("Player")
     11triggerFadeOut:setAbsCoor(3610, 116, -656)
     12triggerFadeOut:setDebugDraw(true)
    813
    9 thisscript:addObject("NPC", "Pirate01")
    10 thisscript:addObject("NPC", "Pirate02")
    11 thisscript:addObject("NPC", "Pirate03")
    12 thisscript:addObject("NPC", "Pirate53")
    13 thisscript:addObject("NPC", "Pirate54")
     14triggerEndLevel = TimeTrigger()
     15triggerEndLevel:setScript("vs1.lua")
     16triggerEndLevel:setFunction("changeLevel")
     17triggerEndLevel:setDelay(5)
    1418
    15 thisscript:addObject("NPC", "Pirate04")
    16 thisscript:addObject("NPC", "Pirate05")
    17 thisscript:addObject("NPC", "Pirate06")
    18 thisscript:addObject("NPC", "Pirate56")
    19 thisscript:addObject("NPC", "Pirate57")
     19teststring = "asdf";
    2020
    21 thisscript:addObject("NPC", "Pirate07")
    22 thisscript:addObject("NPC", "Pirate08")
    23 thisscript:addObject("NPC", "Pirate09")
    24 thisscript:addObject("NPC", "Pirate59")
    25 thisscript:addObject("NPC", "Pirate49")
    26 thisscript:addObject("NPC", "Pirate79")
    27 
    28 -- The Noxons
    29 thisscript:addObject("NPC", "Noxon01")
    30 thisscript:addObject("NPC", "Noxon02")
    31 thisscript:addObject("NPC", "Noxon03")
    32 thisscript:addObject("NPC", "Noxon04")
    33 thisscript:addObject("NPC", "Noxon05")
    34 --thisscript:addObject("NPC", "Noxon06")
    35 --thisscript:addObject("NPC", "Noxon07")
    36 --thisscript:addObject("NPC", "Noxon08")
    37 --thisscript:addObject("NPC", "Noxon09")
    38 --thisscript:addObject("NPC", "Noxon10")
    39 --thisscript:addObject("NPC", "Noxon11")
    40 --thisscript:addObject("NPC", "Noxon12")
    41 
    42 -- thisscript:addObjectAsName("GameWorld", "Mission 1", "gameWorld")
    43 
    44 triggerInit = TickTrigger()
    45 triggerInit:setScript("vs1.lua")
    46 triggerInit:setFunction("init")
    47 
    48 -- Create the cutscene trigger
    49 triggerCutscene = SpaceTrigger()
    50 triggerCutscene:setScript("vs1.lua")
    51 triggerCutscene:setFunction("startSequence")
    52 triggerCutscene:setRadius(50)
    53 triggerCutscene:setTarget("Player")
    54 triggerCutscene:setAbsCoor(2300 , 0 , 0)
    55 triggerCutscene:setDebugDraw(false)
    56 
    57 -- Create another cutscene trigger
    58 triggerCutscene02 = TickTrigger()
    59 triggerCutscene02:setScript("vs1.lua")
    60 triggerCutscene02:setFunction("switchToOtherPirate")
    61 
    62 -- Create another cutscene trigger
    63 triggerCutscene03 = TickTrigger()
    64 triggerCutscene03:setScript("vs1.lua")
    65 triggerCutscene03:setFunction("surviver")
    66 
    67 -- Create another cutscene trigger
    68 triggerCutscene04 = TickTrigger()
    69 triggerCutscene04:setScript("vs1.lua")
    70 triggerCutscene04:setFunction("onNoxons")
    71 
    72 -- Create another cutscene trigger
    73 triggerCutscene05 = TickTrigger()
    74 triggerCutscene05:setScript("vs1.lua")
    75 triggerCutscene05:setFunction("changeFromNoxon")
    76 
    77 
    78 -- Create another trigger
    79 triggerStop = SpaceTrigger()
    80 triggerStop:setScript("vs1.lua")
    81 triggerStop:setFunction("stopPlayer")
    82 triggerStop:setRadius(50)
    83 triggerStop:setTarget("Player")
    84 triggerStop:setAbsCoor(8000 , 0 , -2000)
    85 triggerStop:setDebugDraw(false)
    86 
    87 -- Create the cool Ragnar trigger
    88 triggerRagnar = SpaceTrigger()
    89 triggerRagnar:setScript("vs1.lua")
    90 triggerRagnar:setFunction("startRagnar")
    91 triggerRagnar:setRadius(50)
    92 triggerRagnar:setTarget("Player")
    93 triggerRagnar:setAbsCoor(3600 , 0 , -15)
    94 triggerRagnar:setDebugDraw(false)
    95 
    96 -- Create a great AI activater
    97 --triggerAI01 = SpaceTrigger()
    98 --triggerAI01:setScript("vs1.lua")
    99 --triggerAI01:setFunction("activateGroup1")
    100 --triggerAI01:setRadius(50)
    101 --triggerAI01:setTarget("Player")
    102 --triggerAI01:setAbsCoor(2600, 0, -10)
    103 --triggerAI01:setDebugDraw(false)
    104 --triggerAI01:setActiveOnCreation(false)
    105 
    106 -- Create another great AI activater
    107 --triggerAI02 = SpaceTrigger()
    108 --triggerAI02:setScript("vs1.lua")
    109 --triggerAI02:setFunction("activateGroup2")
    110 --triggerAI02:setRadius(50)
    111 --triggerAI02:setTarget("Player")
    112 --triggerAI02:setAbsCoor(4900, 0, -45)
    113 --triggerAI02:setDebugDraw(false)
    114 
    115 -- Create another great AI activater
    116 --triggerAI03 = SpaceTrigger()
    117 --triggerAI03:setScript("vs1.lua")
    118 --triggerAI03:setFunction("activateGroup3")
    119 --triggerAI03:setRadius(50)
    120 --triggerAI03:setTarget("Player")
    121 --triggerAI03:setAbsCoor(5850, 0, -170)
    122 --triggerAI03:setDebugDraw(false)
    123 
    124 -- Create another great AI activater
    125 --triggerAI04 = SpaceTrigger()
    126 --triggerAI04:setScript("vs1.lua")
    127 --triggerAI04:setFunction("startRagnar2")
    128 --triggerAI04:setRadius(50)
    129 --triggerAI04:setTarget("Player")
    130 --triggerAI04:setAbsCoor(6500, 0, -350)
    131 --triggerAI04:setDebugDraw(false)
    132 
    133 
    134 
    135 -- Global Variables
    136 counter = 0
    137 cutsceneRunning = false
    138 cutscene2Running = false
    139 cutsceneEnd = false
    140 cutscene2End = false
    141 bossFight = false
    142 bossFightEnd = false
    143 time = 0
    144 time2 = 0
    145 
    146 -- init function
    147 function init(timestep)
    148 -- cameraManager:setCam("GameWorldCamera")
    149 cameraManager:attachCamera("CameraOne", "NPC", "Pirate01")
    150 cameraManager:attachCamera("CameraTwo", "NPC", "Noxon01")
    151 cameraManager:setRelCoor("CameraOne", 10, 8 , -5)
    152 cameraManager:setRelCoor("CameraTwo", 30, 15 , -10)
    153 
    154 
    155 Ragnar01:pause(true)
    156 
    157 return true
     21function fadeOut(timestep)
     22  cameraManager:toggleFade()
     23  print(teststring)
     24  triggerEndLevel:start()
     25  return true
    15826end
    15927
    160 function startSequence(timestep)
    161 
    162 Player:pause(true)
    163 cameraManager:setCam("CameraOne")
    164 cutsceneRunning = true
    165 return true
     28function changeLevel(timestep)
     29  print("changelvl now\n\n\n\n\n\n")
     30  gameWorld:setNextStoryName("Moonstation")
     31  gameWorld:stop()
     32  return true
    16633end
    167 
    168 function switchToOtherPirate(timestep)
    169 
    170 if cutsceneRunning then
    171 counter = counter + timestep
    172 end
    173 
    174 if counter > 5 and counter < 6 then
    175 cameraManager:attachCamera("CameraOne", "NPC", "Pirate03")
    176 cameraManager:setRelCoorSoft("CameraOne", 10, 8 , 5, 6)
    177 
    178 end
    179 
    180 if counter > 11 then
    181 cutsceneEnd = true
    182 Player:pause(false)
    183 cameraManager:setCam("GameWorldCamera")
    184 end
    185 
    186 return cutsceneEnd
    187 end
    188 
    189 
    190 function startRagnar(timestep)
    191 
    192 Ragnar01:pause(false)
    193 return true
    194 end
    195 
    196 
    197 --function activateGroup1(timestep)
    198 
    199 --Pirate01:setAI(true)
    200 --Pirate02:setAI(true)
    201 --Pirate03:setAI(true)
    202 --Pirate53:setAI(true)
    203 --Pirate54:setAI(true)
    204 
    205 --return true
    206 --end
    207 
    208 
    209 --function activateGroup2(timestep)
    210 
    211 --Pirate04:setAI(true)
    212 --Pirate05:setAI(true)
    213 --Pirate06:setAI(true)
    214 --Pirate56:setAI(true)
    215 --Pirate57:setAI(true)
    216 
    217 --return true
    218 --end
    219 
    220 
    221 --function activateGroup3(timestep)
    222 
    223 --Pirate07:setAI(true)
    224 --Pirate08:setAI(true)
    225 --Pirate09:setAI(true)
    226 --Pirate59:setAI(true)
    227 --Pirate49:setAI(true)
    228 --Pirate79:setAI(true)
    229 
    230 --return true
    231 --end
    232 
    233 
    234 function startRagnar2(timestep)
    235 
    236 --Ragnar02:setAI(true)
    237 bossFight = true
    238 cameraManager:setRelCoorSoft("GameWorldCamera", -0.05, 140, 0, 20)
    239 -- Player:setCameraDist(140)
    240 Player:pause(true)
    241 return true
    242 end
    243 
    244 
    245 function surviver(timestep)
    246 
    247 if bossFight then
    248 time = time + timestep
    249 end
    250 
    251 if time > 25 then
    252 --Ragnar02:setAI(false)
    253 bossFight = false
    254 bossFightEnd = true
    255 end
    256 
    257 return bossFightEnd
    258 end
    259 
    260 
    261 function onNoxons(timestep)
    262 
    263 if bossFightEnd then
    264 cameraManager:setCam("CameraTwo")
    265 cameraManager:setRelCoorSoft("GameWorldCamera", -0.05, 70, 0)
    266 end
    267 
    268 return false
    269 end
    270 
    271 function changeFromNoxon(timestep)
    272 if bossFightEnd then
    273 time2 = time2 + timestep
    274 end
    275 
    276 if time2 > 6 and time2 < 8 then
    277 Noxon01:fire()
    278 Noxon02:fire()
    279 Noxon03:fire()
    280 --cameraManager:attachCameraToWorldEntity("CameraTwo", "NPC", "Ragnar02")
    281 cameraManager:setRelCoorSoft("CameraTwo", 60, 20 , -10, 6)
    282 end
    283 
    284 if time2 > 9 and time2 < 10 then
    285 --Ragnar02:destroy()
    286 end
    287 
    288 if time2 > 11 then
    289 bossFightEnd = false
    290 cutscene2End = true
    291 
    292 cameraManager:setRelCoorSoft("GameWorldCamera", -0.05, 70, 0)
    293 cameraManager:setCam("GameWorldCamera")
    294 
    295 Player:pause(false)
    296 end
    297 
    298 return cutscene2End
    299 end
    300 
    301 function stopPlayer(timestep)
    302 
    303 Player:pause(true)
    304 
    305 return true
    306 end
Note: See TracChangeset for help on using the changeset viewer.