Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 18, 2017, 3:44:49 PM (8 years ago)
Author:
nyogaraj
Message:

i finished the project without ever making any commits

Location:
code/branches/Boss_FS17/data/levels
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Boss_FS17/data/levels/FinalBossFS17.oxw

    r11388 r11424  
    33 description = "Final Boss"
    44 tags = "test"
    5  screenshot = "emptylevel.png"
     5 screenshot = "frozen1.jpeg"
    66/>
    77
     
    1111  include("templates/lodInformation.oxt")
    1212  include("templates/HeavyCruiser.oxt")
     13   include("templates/pickupRepresentationTemplates.oxt")
    1314?>
    1415
     
    1617  include("templates/Bossspawnship.oxt")
    1718  include("templates/Bossship.oxt")
     19
     20  include("templates/spaceshipEscort.oxt")
     21  include("templates/endurancetest_template.oxt")
     22  include("templates/spaceshipAssff.oxt")
     23  include("templates/fastship.oxt")
    1824
    1925  ?>
     
    3238  >
    3339
     40  <?lua
     41      include("includes/pickups.oxi")
     42    ?>
     43
    3444    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
    3545
    36     <SpawnPoint team=0 position="-200,0,0" lookat="1,1,1" spawnclass=SpaceShip pawndesign=spaceshipescort />
    37 
    38     <ModularSpaceShip velocity= "20,0,0" position="0,0,200" lookat= "0,0,0" health="1000" maxhealth="1000" initialhealth="1000" scale3D="1,1,1">
     46    <SpawnPoint team=0 position="-200,0,0" lookat="1,1,1" spawnclass=SpaceShip pawndesign=spaceshipsputim />
     47
     48
     49
     50
     51
     52
     53<?lua
     54      for i = 1, 250, 1
     55      do
     56      j = math.random()
     57    ?>
     58
     59    <MovableEntity
     60      position = "<?lua print(math.random()* 15000 - 1000) ?>,<?lua print(math.random() * 12000 - 4000) ?>,<?lua print(math.random() * 12000 - 4000) ?>"
     61      collisionType = dynamic
     62      linearDamping = 0.8
     63      angularDamping = 0
     64      scale = "<?lua print(j * 150)?>"
     65      collisiondamage = 1
     66      enablecollisiondamage = true
     67    >
     68      <attached>
     69        <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
     70      </attached>
     71      <collisionShapes>
     72        <SphereCollisionShape radius="<?lua print(j * 350) ?>" />
     73      </collisionShapes>
     74    </MovableEntity>
     75
     76    <?lua
     77      end
     78    ?>
     79
     80
     81
     82
     83<Spawnpoint team= 1 position="0,10,10" lookat="0,1,0" spawnclass=SpaceShip pawndesign=fastship >
     84      <controller>
     85        <WaypointPatrolController alertnessradius=100 attackradius=90 />
     86      </controller>
     87    </Spawnpoint>
     88
     89    <SpaceShip position="0,10,10" velocity="50,50,50" team= 1>
     90      <templates>
     91        <Template link=fastship />
     92      </templates>
     93      <controller>
     94        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     95          <waypoints>
     96
     97                <?lua
     98                size = 1200
     99      for i = 1, 50, 1
     100      do
     101    ?>
     102            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     103            <?lua
     104      end
     105    ?>
     106           
     107          </waypoints>
     108        </WaypointPatrolController>
     109      </controller>
     110    </SpaceShip>
     111
     112
     113
     114
     115
     116
     117
     118
     119
     120
     121
     122
     123
     124    <SpaceShip position="0, 0, 100" lookat="0,0,0" team=0  name="d2sd1">
     125      <templates>
     126        <Template link=spaceshipassff />
     127      </templates>
     128      <controller>
     129        <DivisionController team=0 formationMode="DIAMOND" />
     130        <WaypointPatrolController alertnessradius=1000 attackradius=900 />
     131      </controller>
     132    </SpaceShip>
     133
     134     <SpaceShip position="-400, 150, -100" lookat="0,0,0" team=0 name="d1sd1">
     135      <templates>
     136        <Template link=spaceshipassff />
     137      </templates>
     138      <controller>
     139        <DivisionController team=0 formationMode="WALL">
     140                <SectionController team=0>
     141        </SectionController>
     142
     143        </DivisionController>
     144      </controller>
     145    </SpaceShip>
     146    <SpaceShip position="-400, 190, -100" lookat="0,0,0" team=0 name="d1ss1">
     147      <templates>
     148        <Template link=spaceshipassff />
     149      </templates>
     150      <controller>
     151        <SectionController team=0>
     152        </SectionController>
     153      </controller>
     154    </SpaceShip>
     155
     156 <!-- TRIGGERS -->
     157    <DistanceTrigger name="FormationInit" position="800,700,600"  target="Pawn" distance=60 stayActive="true" delay=0.1 />
     158    <DistanceTrigger name="LetsGo"        position="200,-200,1000" target="Pawn" distance=180 stayActive="true" delay=0.1 />
     159    <BlinkingBillboard colour="1,1,0.05" position="200,-200,1000" frequency=0.6 amplitude=3 material="Flares/lensflare" />
     160
     161    <Script code="formationcontroller formationflight true" onLoad="false">
     162        <events>
     163            <trigger>
     164                <EventListener event=FormationInit />
     165            </trigger>
     166        </events>
     167    </Script> <!-- !!! activates formation behaviour !!! -->
     168
     169    <Script code="artificialcontroller setbotlevel 5" onLoad="false">
     170        <events>
     171            <trigger>
     172                <EventListener event=FormationInit />
     173            </trigger>
     174        </events>
     175    </Script>
     176
     177    <SimpleNotification message="Let's go!">
     178        <events>
     179            <trigger>
     180                <EventListener event="LetsGo" />
     181            </trigger>
     182        </events>
     183    </SimpleNotification>
     184
     185
     186
     187
     188<!-- ADDING FORMATION: 2 Swallows -->
     189<?lua for i=0,1,1 do
     190?>
     191    <SpaceShip position="<?lua print(400+i*200) ?>,-200,1000" lookat="-1300,-600,900" visible="true">
     192        <templates>
     193            <Template link=spaceshipassff /> <!--spaceshipTransporter spaceshippirate-->
     194        </templates>
     195        <controller>
     196            <AIController team=0>
     197                <events>
     198                    <activity>
     199                        <EventListener event="LetsGo" />
     200                     </activity>
     201                </events>
     202            </AIController>
     203        </controller>
     204    </SpaceShip>
     205<?lua end ?>
     206
     207   
     208
     209    <ModularSpaceShip velocity= "20,0,0" position="0,0,200" lookat= "0,0,0" scale3D="1,1,1" health = 2000 initialhealth = 1000 maxhealth = 1000  Team= 1>
    39210      <templates>
    40211        <Template link= bossship />
    41212      </templates>
     213      <controller>
     214        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     215          <waypoints>
     216            <Model mesh="sphere.mesh" scale=4 position="300,100,100" />
     217            <Model mesh="sphere.mesh" scale=4 position="500,-200,-300" />
     218            <Model mesh="sphere.mesh" scale=4 position="-700,-300,-300" />
     219          </waypoints>
     220        </WaypointPatrolController>
     221      </controller>
    42222    </ModularSpaceShip>
    43223
    44224
    45 <MovableEntity position="0,0,0" rotationrate="45" rotationaxis="0,0,1">
    46     <attached>
    47         <Model position="0,0,0" mesh="IceStar.mesh" scale3D="100,100,100" />
    48         <MovableEntity position="0,0,0" rotationrate="180" rotationaxis="0,1,0">
     225
     226
     227    <Pawn team=1 health=30 velocity="0,0,0" shieldhealth=130 initialshieldhealth=130 maxshieldhealth=150 shieldabsorption=0.95 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=sat>
     228    <attached>
     229        <Model position="5,5,5" mesh="satellite.mesh" scale3D="3,3,3" />
     230        <PickupSpawner pickup=smallshieldpickup position="50,5,5" triggerDistance="10" maxSpawnedItems="1">
     231                        <events>
     232                    <activity>
     233                        <EventListener event="sattrigger" />
     234                    </activity>
     235                    <visibility>
     236                            <EventListener event="sattrigger" />
     237                    </visibility>
     238
     239                </events>
     240                </PickupSpawner>
     241    </attached>
     242    <collisionShapes>
     243        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     244    </collisionShapes>
     245
     246
     247
     248   
     249        </Pawn>
     250
     251        <EventTrigger name="sattrigger" activations="1" stayactive="true" delay=0.1>
     252            <events>
     253              <trigger>
     254                <EventListener event="sat" />
     255              </trigger>
     256            </events>
     257    </EventTrigger>
     258
     259        <PickupSpawner pickup=mediumboostpickup position="-50,305,5" triggerDistance="10" maxSpawnedItems="1">
     260                        <events>
     261                    <activity>
     262                        <EventListener event="sattrigger" />
     263                    </activity>
     264                    <visibility>
     265                            <EventListener event="sattrigger" />
     266                    </visibility>
     267
     268                </events>
     269                </PickupSpawner>
     270
     271
     272<Pawn team=1 health=30 velocity="0,0,0" shieldhealth=130 initialshieldhealth=130 maxshieldhealth=150 shieldabsorption=0.95 position="0,0,100" direction="0,-1,0" collisionType=dynamic mass=100000 name=sat>
     273    <attached>
     274        <Model position="5,5,5" mesh="satellite.mesh" scale3D="3,3,3" />
     275        <PickupSpawner pickup=smallshieldpickup position="50,5,5" triggerDistance="10" maxSpawnedItems="1">
     276                        <events>
     277                    <activity>
     278                        <EventListener event="sattrigger4" />
     279                    </activity>
     280                    <visibility>
     281                            <EventListener event="sattrigger4" />
     282                    </visibility>
     283
     284                </events>
     285                </PickupSpawner>
     286    </attached>
     287    <collisionShapes>
     288        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     289    </collisionShapes>
     290
     291
     292
     293   
     294        </Pawn>
     295
     296        <EventTrigger name="sattrigger4" activations="1" stayactive="true" delay=0.1>
     297            <events>
     298              <trigger>
     299                <EventListener event="sat" />
     300              </trigger>
     301            </events>
     302    </EventTrigger>
     303
     304        <PickupSpawner pickup=mediumboostpickup position="-50,305,5" triggerDistance="10" maxSpawnedItems="1">
     305                        <events>
     306                    <activity>
     307                        <EventListener event="sattrigger4" />
     308                    </activity>
     309                    <visibility>
     310                            <EventListener event="sattrigger4" />
     311                    </visibility>
     312
     313                </events>
     314                </PickupSpawner>
     315
     316
     317
     318
     319                <Pawn team=1 health=30 velocity="0,0,0" shieldhealth=130 initialshieldhealth=130 maxshieldhealth=150 shieldabsorption=0.95 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=sat>
     320    <attached>
     321        <Model position="2,2,2" mesh="satellite.mesh" scale3D="3,3,3" />
     322        <PickupSpawner pickup=smallshieldpickup position="50,5,5" triggerDistance="10" maxSpawnedItems="1">
     323                        <events>
     324                    <activity>
     325                        <EventListener event="sattrigger2" />
     326                    </activity>
     327                    <visibility>
     328                            <EventListener event="sattrigger2" />
     329                    </visibility>
     330
     331                </events>
     332                </PickupSpawner>
     333    </attached>
     334    <collisionShapes>
     335        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     336    </collisionShapes>
     337
     338
     339
     340   
     341        </Pawn>
     342
     343        <EventTrigger name="sattrigger2" activations="1" stayactive="true" delay=0.1>
     344            <events>
     345              <trigger>
     346                <EventListener event="sat" />
     347              </trigger>
     348            </events>
     349    </EventTrigger>
     350
     351        <PickupSpawner pickup=mediumboostpickup position="-50,305,5" triggerDistance="10" maxSpawnedItems="1">
     352                        <events>
     353                    <activity>
     354                        <EventListener event="sattrigger2" />
     355                    </activity>
     356                    <visibility>
     357                            <EventListener event="sattrigger2" />
     358                    </visibility>
     359
     360                </events>
     361                </PickupSpawner>
     362
     363                <Pawn team=1 health=30 velocity="0,0,0" shieldhealth=130 initialshieldhealth=130 maxshieldhealth=150 shieldabsorption=0.95 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=sat>
     364    <attached>
     365        <Model position="5,5,5" mesh="satellite.mesh" scale3D="3,3,3" />
     366        <PickupSpawner pickup=smallshieldpickup position="50,5,5" triggerDistance="10" maxSpawnedItems="1">
     367                        <events>
     368                    <activity>
     369                        <EventListener event="sattrigger3" />
     370                    </activity>
     371                    <visibility>
     372                            <EventListener event="sattrigger3" />
     373                    </visibility>
     374
     375                </events>
     376                </PickupSpawner>
     377    </attached>
     378    <collisionShapes>
     379        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     380    </collisionShapes>
     381
     382
     383
     384   
     385        </Pawn>
     386
     387        <EventTrigger name="sattrigger3" activations="1" stayactive="true" delay=0.1>
     388            <events>
     389              <trigger>
     390                <EventListener event="sat" />
     391              </trigger>
     392            </events>
     393    </EventTrigger>
     394
     395        <PickupSpawner pickup=mediumboostpickup position="-50,305,5" triggerDistance="10" maxSpawnedItems="1">
     396                        <events>
     397                    <activity>
     398                        <EventListener event="sattrigger3" />
     399                    </activity>
     400                    <visibility>
     401                            <EventListener event="sattrigger3" />
     402                    </visibility>
     403
     404                </events>
     405                </PickupSpawner>
     406
     407<!--
     408<MovableEntity position="-50,-50,-50" rotationrate="45" rotationaxis="0,0,1">
     409    <attached>
     410        <Model position="-50,-50,-50" mesh="IceStar.mesh" scale3D="100,100,100" />
     411        <MovableEntity position="-50,-50,-50" rotationrate="180" rotationaxis="0,1,0">
    49412            <attached>
    50                 <Model position="0,0,0" mesh="sphere.mesh" scale3D="1,1,10" />
     413                <Model position="-50,-50,-50" mesh="sphere.mesh" scale3D="1,1,10" />
    51414            </attached>
    52415        </MovableEntity>
    53416    </attached>
    54 </MovableEntity>
    55 
    56 <MovableEntity position="0,0,0" rotationrate="45" rotationaxis="0,1,0">
    57     <attached>
    58         <Model position="0,0,0" mesh="IceStar.mesh" scale3D="100,100,100" />
    59         <MovableEntity position="0,0,0" rotationrate="180" rotationaxis="0,1,0">
    60             <attached>
    61                 <Model position="0,0,0" mesh="sphere.mesh" scale3D="1,1,10" />
    62             </attached>
    63         </MovableEntity>
    64     </attached>
    65 </MovableEntity>
    66 <!--
    67 <StaticEntity position="0,-10000,0" direction="0,-1,0" collisionType=static mass=100000 friction=0.01 >
    68     <attached>
    69         <Model position="0,0,0" mesh="IceStar.mesh" scale3D="10000,10000,1000" />
    70     </attached>
    71     <collisionShapes>
    72         <BoxCollisionShape position="0,0,0" halfExtents="10000,10000,1000" />
    73     </collisionShapes>
    74 </StaticEntity>
    75 -->
    76 
    77 
    78 
    79     <!--
    80 
    81     <StaticEntity position="0,-10000,0" direction="0,-1,0" collisionType=static mass=100000 friction=0.01 >
    82     <attached>
    83         <Model position="0,0,0" mesh="Transporter.mesh" scale3D="10000,10000,1000" />
    84     </attached>
    85     <collisionShapes>
    86         <BoxCollisionShape position="0,0,0" halfExtents="10000,10000,1000" />
    87     </collisionShapes>
    88 </StaticEntity>
    89 
    90  
    91 -->
    92 
    93    
     417</MovableEntity>-->
     418
     419
     420
     421<Spawnpoint team= 1 position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" lookat="0,1,0" spawnclass=SpaceShip pawndesign=fastship >
     422      <controller>
     423        <WaypointPatrolController alertnessradius=100 attackradius=90 />
     424      </controller>
     425    </Spawnpoint>
     426
     427    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1 health=200>
     428      <templates>
     429        <Template link=fastship />
     430      </templates>
     431      <controller>
     432        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     433          <waypoints>
     434            <?lua
     435                size = 1200
     436      for i = 1, 50, 1
     437      do
     438    ?>
     439
     440
     441 <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     442    <attached>
     443            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     444</attached>
     445 </MovableEntity>
     446            <?lua
     447      end
     448    ?>
     449          </waypoints>
     450        </WaypointPatrolController>
     451      </controller>
     452    </SpaceShip>
     453
     454
     455<Spawnpoint team= 1 position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" lookat="0,1,0" spawnclass=SpaceShip pawndesign=fastship health=200 >
     456      <controller>
     457        <WaypointPatrolController alertnessradius=100 attackradius=90 />
     458      </controller>
     459    </Spawnpoint>
     460
     461    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1 health=200>
     462      <templates>
     463        <Template link=fastship />
     464      </templates>
     465      <controller>
     466        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     467          <waypoints>
     468            <?lua
     469                size = 1200
     470      for i = 1, 50, 1
     471      do
     472    ?>
     473             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     474    <attached>
     475            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     476</attached>
     477 </MovableEntity>
     478            <?lua
     479      end
     480    ?>
     481          </waypoints>
     482        </WaypointPatrolController>
     483      </controller>
     484    </SpaceShip>
     485
     486<Spawnpoint team= 1 position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" lookat="0,1,0" spawnclass=SpaceShip pawndesign=fastship >
     487      <controller>
     488        <WaypointPatrolController alertnessradius=100 attackradius=90 />
     489      </controller>
     490    </Spawnpoint>
     491
     492    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1 health=200>
     493      <templates>
     494        <Template link=fastship />
     495      </templates>
     496      <controller>
     497        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     498          <waypoints>
     499            <?lua
     500                size = 1200
     501      for i = 1, 50, 1
     502      do
     503    ?>
     504             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     505    <attached>
     506            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     507</attached>
     508 </MovableEntity>
     509            <?lua
     510      end
     511    ?>
     512          </waypoints>
     513        </WaypointPatrolController>
     514      </controller>
     515    </SpaceShip>
     516
     517
     518    <Spawnpoint team= 1 position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" lookat="0,1,0" spawnclass=SpaceShip pawndesign=fastship >
     519      <controller>
     520        <WaypointPatrolController alertnessradius=100 attackradius=90 />
     521      </controller>
     522    </Spawnpoint>
     523
     524    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     525      <templates>
     526        <Template link=fastship />
     527      </templates>
     528      <controller>
     529        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     530          <waypoints>
     531           <?lua
     532                size = 1200
     533      for i = 1, 50, 1
     534      do
     535    ?>
     536            <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     537    <attached>
     538            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     539</attached>
     540 </MovableEntity>
     541            <?lua
     542      end
     543    ?>
     544          </waypoints>
     545        </WaypointPatrolController>
     546      </controller>
     547    </SpaceShip>
     548
     549    <Spawnpoint team= 1 position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" lookat="0,1,0" spawnclass=SpaceShip pawndesign=fastship >
     550      <controller>
     551        <WaypointPatrolController alertnessradius=100 attackradius=90 />
     552      </controller>
     553    </Spawnpoint>
     554
     555    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     556      <templates>
     557        <Template link=fastship />
     558      </templates>
     559      <controller>
     560        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     561          <waypoints>
     562            <?lua
     563                size = 1200
     564      for i = 1, 50, 1
     565      do
     566    ?>
     567             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     568    <attached>
     569            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     570</attached>
     571 </MovableEntity>
     572            <?lua
     573      end
     574    ?>
     575          </waypoints>
     576        </WaypointPatrolController>
     577      </controller>
     578    </SpaceShip>
     579
     580
     581    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 0>
     582      <templates>
     583        <Template link=fastship />
     584      </templates>
     585      <controller>
     586        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     587          <waypoints>
     588            <?lua
     589                size = 1200
     590      for i = 1, 50, 1
     591      do
     592    ?>
     593             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     594    <attached>
     595            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     596</attached>
     597 </MovableEntity>
     598            <?lua
     599      end
     600    ?>
     601          </waypoints>
     602        </WaypointPatrolController>
     603      </controller>
     604    </SpaceShip>
     605
     606    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     607      <templates>
     608        <Template link=fastship />
     609      </templates>
     610      <controller>
     611        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     612          <waypoints>
     613            <?lua
     614                size = 1200
     615      for i = 1, 50, 1
     616      do
     617    ?>
     618             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     619    <attached>
     620            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     621</attached>
     622 </MovableEntity>
     623            <?lua
     624      end
     625    ?>
     626          </waypoints>
     627        </WaypointPatrolController>
     628      </controller>
     629    </SpaceShip>
     630
     631    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 0>
     632      <templates>
     633        <Template link=fastship />
     634      </templates>
     635      <controller>
     636        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     637          <waypoints>
     638            <?lua
     639                size = 1200
     640      for i = 1, 50, 1
     641      do
     642    ?>
     643             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     644    <attached>
     645            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     646</attached>
     647 </MovableEntity>
     648            <?lua
     649      end
     650    ?>
     651          </waypoints>
     652        </WaypointPatrolController>
     653      </controller>
     654    </SpaceShip>
     655
     656    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     657      <templates>
     658        <Template link=fastship />
     659      </templates>
     660      <controller>
     661        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     662          <waypoints>
     663            <?lua
     664                size = 1200
     665      for i = 1, 50, 1
     666      do
     667    ?>
     668             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     669    <attached>
     670            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     671</attached>
     672 </MovableEntity>
     673            <?lua
     674      end
     675    ?>
     676          </waypoints>
     677        </WaypointPatrolController>
     678      </controller>
     679    </SpaceShip>
     680
     681    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 0>
     682      <templates>
     683        <Template link=fastship />
     684      </templates>
     685      <controller>
     686        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     687          <waypoints>
     688            <?lua
     689                size = 1200
     690      for i = 1, 50, 1
     691      do
     692    ?>
     693             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     694    <attached>
     695            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     696</attached>
     697 </MovableEntity>
     698            <?lua
     699      end
     700    ?>
     701          </waypoints>
     702        </WaypointPatrolController>
     703      </controller>
     704    </SpaceShip>
     705
     706
     707    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     708      <templates>
     709        <Template link=fastship />
     710      </templates>
     711      <controller>
     712        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     713          <waypoints>
     714            <?lua
     715                size = 1200
     716      for i = 1, 50, 1
     717      do
     718    ?>
     719             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     720    <attached>
     721            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     722</attached>
     723 </MovableEntity>
     724            <?lua
     725      end
     726    ?>
     727          </waypoints>
     728        </WaypointPatrolController>
     729      </controller>
     730    </SpaceShip>
     731
     732    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 0>
     733      <templates>
     734        <Template link=fastship />
     735      </templates>
     736      <controller>
     737        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     738          <waypoints>
     739            <?lua
     740                size = 1200
     741      for i = 1, 50, 1
     742      do
     743    ?>
     744             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     745    <attached>
     746            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     747</attached>
     748 </MovableEntity>
     749            <?lua
     750      end
     751    ?>
     752          </waypoints>
     753        </WaypointPatrolController>
     754      </controller>
     755    </SpaceShip>
     756
     757    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     758      <templates>
     759        <Template link=fastship />
     760      </templates>
     761      <controller>
     762        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     763          <waypoints>
     764            <?lua
     765                size = 1200
     766      for i = 1, 50, 1
     767      do
     768    ?>
     769             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     770    <attached>
     771            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     772</attached>
     773 </MovableEntity>
     774            <?lua
     775      end
     776    ?>
     777          </waypoints>
     778        </WaypointPatrolController>
     779      </controller>
     780    </SpaceShip>
     781
     782    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 0>
     783      <templates>
     784        <Template link=fastship />
     785      </templates>
     786      <controller>
     787        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     788          <waypoints>
     789            <?lua
     790                size = 1200
     791      for i = 1, 50, 1
     792      do
     793    ?>
     794             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     795    <attached>
     796            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     797</attached>
     798 </MovableEntity>
     799            <?lua
     800      end
     801    ?>
     802          </waypoints>
     803        </WaypointPatrolController>
     804      </controller>
     805    </SpaceShip>
     806
     807    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     808      <templates>
     809        <Template link=fastship />
     810      </templates>
     811      <controller>
     812        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     813          <waypoints>
     814            <?lua
     815                size = 1200
     816      for i = 1, 50, 1
     817      do
     818    ?>
     819             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     820    <attached>
     821            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     822</attached>
     823 </MovableEntity>
     824            <?lua
     825      end
     826    ?>
     827          </waypoints>
     828        </WaypointPatrolController>
     829      </controller>
     830    </SpaceShip>
     831
     832    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 0>
     833      <templates>
     834        <Template link=fastship />
     835      </templates>
     836      <controller>
     837        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
     838          <waypoints>
     839            <?lua
     840                size = 1200
     841      for i = 1, 50, 1
     842      do
     843    ?>
     844             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     845    <attached>
     846            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     847</attached>
     848 </MovableEntity>
     849            <?lua
     850      end
     851    ?>
     852          </waypoints>
     853        </WaypointPatrolController>
     854      </controller>
     855    </SpaceShip>
     856    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     857      <templates>
     858        <Template link=fastship />
     859      </templates>
     860      <controller>
     861        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     862          <waypoints>
     863            <?lua
     864                size = 1200
     865      for i = 1, 50, 1
     866      do
     867    ?>
     868             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     869    <attached>
     870            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     871</attached>
     872 </MovableEntity>
     873            <?lua
     874      end
     875    ?>
     876          </waypoints>
     877        </WaypointPatrolController>
     878      </controller>
     879    </SpaceShip>
     880
     881    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     882      <templates>
     883        <Template link=fastship />
     884      </templates>
     885      <controller>
     886        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     887          <waypoints>
     888            <?lua
     889                size = 1200
     890      for i = 1, 50, 1
     891      do
     892    ?>
     893             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     894    <attached>
     895            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     896</attached>
     897 </MovableEntity>
     898            <?lua
     899      end
     900    ?>
     901          </waypoints>
     902        </WaypointPatrolController>
     903      </controller>
     904    </SpaceShip>
     905
     906<SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     907      <templates>
     908        <Template link=fastship />
     909      </templates>
     910      <controller>
     911        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     912          <waypoints>
     913            <?lua
     914                size = 1200
     915      for i = 1, 50, 1
     916      do
     917    ?>
     918             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     919    <attached>
     920            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     921</attached>
     922 </MovableEntity>
     923            <?lua
     924      end
     925    ?>
     926          </waypoints>
     927        </WaypointPatrolController>
     928      </controller>
     929    </SpaceShip>
     930
     931    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     932      <templates>
     933        <Template link=fastship />
     934      </templates>
     935      <controller>
     936        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     937          <waypoints>
     938            <?lua
     939                size = 1200
     940      for i = 1, 50, 1
     941      do
     942    ?>
     943             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     944    <attached>
     945            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     946</attached>
     947 </MovableEntity>
     948            <?lua
     949      end
     950    ?>
     951          </waypoints>
     952        </WaypointPatrolController>
     953      </controller>
     954    </SpaceShip>
     955
     956    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     957      <templates>
     958        <Template link=fastship />
     959      </templates>
     960      <controller>
     961        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     962          <waypoints>
     963            <?lua
     964                size = 1200
     965      for i = 1, 50, 1
     966      do
     967    ?>
     968             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     969    <attached>
     970            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     971</attached>
     972 </MovableEntity>
     973            <?lua
     974      end
     975    ?>
     976          </waypoints>
     977        </WaypointPatrolController>
     978      </controller>
     979    </SpaceShip>
     980
     981    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     982      <templates>
     983        <Template link=fastship />
     984      </templates>
     985      <controller>
     986        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     987          <waypoints>
     988            <?lua
     989                size = 1200
     990      for i = 1, 50, 1
     991      do
     992    ?>
     993             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     994    <attached>
     995            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     996</attached>
     997 </MovableEntity>
     998            <?lua
     999      end
     1000    ?>
     1001          </waypoints>
     1002        </WaypointPatrolController>
     1003      </controller>
     1004    </SpaceShip>
     1005
     1006
     1007    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     1008      <templates>
     1009        <Template link=fastship />
     1010      </templates>
     1011      <controller>
     1012        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     1013          <waypoints>
     1014            <?lua
     1015                size = 1200
     1016      for i = 1, 50, 1
     1017      do
     1018    ?>
     1019             <StaticEntity >
     1020    <attached>
     1021            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     1022</attached>
     1023 </StaticEntity>
     1024            <?lua
     1025      end
     1026    ?>
     1027          </waypoints>
     1028        </WaypointPatrolController>
     1029      </controller>
     1030    </SpaceShip>
     1031
     1032<SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
     1033      <templates>
     1034        <Template link=fastship />
     1035      </templates>
     1036      <controller>
     1037        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
     1038          <waypoints>
     1039            <?lua
     1040                size = 1200
     1041      for i = 1, 50, 1
     1042      do
     1043    ?>
     1044             <StaticEntity >
     1045    <attached>
     1046            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
     1047</attached>
     1048 </StaticEntity>
     1049            <?lua
     1050      end
     1051    ?>
     1052          </waypoints>
     1053        </WaypointPatrolController>
     1054      </controller>
     1055    </SpaceShip>
     1056
     1057    <MovableEntity rotationrate="45" rotationaxis="0,0,1">
     1058        <attached>
     1059                <Model mesh="Spacegate.mesh" scale=5 position="0,100, 1000"/>
     1060        </attached>
     1061    </MovableEntity>
     1062
     1063
     1064
    941065  </Scene>
    951066</Level>
  • code/branches/Boss_FS17/data/levels/includes/BossSpawnWeaponSetting.oxi

    r11388 r11424  
     1<!--
    12<weaponslots>
    23      <WeaponSlot position="-9.2,2,-13" />
    34      <WeaponSlot position=" 9.2,2,-13" />
    4     </weaponslots>
     5 </weaponslots>
    56    <weaponsets>
    67      <WeaponSet firemode=0 />
     
    1415        </links>
    1516        <Weapon>
    16           <!--<HsW01 mode=0 munitionpershot=1 delay=0.125 damage=9.3 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" projectileMesh="LaserBeam2.mesh" /> -->
    17           <IceGun mode=0 munitionpershot=1 delay=0.125 damage=9.3 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" projectileMesh="LaserBeam2.mesh" />
     17         
     18          <IceGun mode=0 munitionpershot=1 delay=0 damage=20 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" projectileMesh="LaserBeam2.mesh" />
    1819        </Weapon>
    1920        <Weapon>
    20           <IceGun mode=0 munitionpershot=1 delay=0     damage=9.3 material="Flares/point_lensflare" muzzleoffset=" 1.6, 1.3, -2.0" projectileMesh="LaserBeam2.mesh" />
     21          <IceGun mode=0 munitionpershot=1 delay=0     damage=20 material="Flares/point_lensflare" muzzleoffset=" 1.6, 1.3, -2.0" projectileMesh="LaserBeam2.mesh" />
    2122        </Weapon>
    2223      </WeaponPack>
     
    2829    </weaponpacks>
    2930    <munition>
    30       <!-- <LaserMunition initialmagazines=8 maxmagazines=8 munitionpermagazine=10 replenishamount=1 replenishinterval=7.5/> -->
     31   
    3132      <IceMunition initialmagazines=8 maxmagazines=8 munitionpermagazine=10 replenishamount=1 replenishinterval=7.5/>
    3233    </munition>
     34
     35-->
     36 <weaponslots>
     37      <WeaponSlot position="-15.0,-1.5,0" />
     38      <WeaponSlot position=" 15.0,-1.5,0" />
     39      <WeaponSlot position="    0,   0,0" />
     40    </weaponslots>
     41    <weaponsets>
     42      <WeaponSet firemode=0 />
     43      <WeaponSet firemode=1 />
     44      <WeaponSet firemode=2 />
     45      <WeaponSet firemode=3 />
     46    </weaponsets>
     47    <weaponpacks>
     48      <WeaponPack>
     49        <links>
     50          <DefaultWeaponmodeLink firemode=0 weaponmode=0 />
     51          <DefaultWeaponmodeLink firemode=1 weaponmode=1 />
     52          <DefaultWeaponmodeLink firemode=2 weaponmode=2 />
     53          <DefaultWeaponmodeLink firemode=3 weaponmode=3 />
     54        </links>
     55        <Weapon>
     56          <attached>
     57            <Model mesh="LightningGun.mesh" pitch="100" roll="90" yaw="90" position="0,-1.3,0" />
     58            <Model mesh="LightningGun-s.mesh" pitch="78" roll="90" yaw="90" position="0.2,-1.3,0" />
     59            <Model mesh="hs-w01_reduced.mesh" roll="90" pitch="-76" yaw="-90" position="-1.5,1,0.3" scale=0.6 />
     60            <IceGun mode=0 munitionpershot=1 delay=0     damage=20 material="Flares/point_lensflare" muzzleoffset=" 1.6, 1.3, -2.0" projectileMesh="LaserBeam2.mesh"  />
     61          </attached>
     62          <HsW01 mode=0 munitionpershot=1 delay=0.125 damage=20 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" />
     63          <HsW01 mode=0 munitionpershot=1 delay=0     damage=20 material="Flares/point_lensflare" muzzleoffset="-1.6, 1.3,-2" />
     64          <LightningGun mode=1 munitionpershot=1 muzzleoffset="0,0,0" damage=3.14159 shielddamage=20 />
     65        </Weapon>
     66        <Weapon>
     67          <attached>
     68            <Model mesh="LightningGun.mesh" pitch="103" roll="90" yaw="90" position="0,-1.35,0" />
     69            <Model mesh="LightningGun-s.mesh" pitch="103" roll="90" yaw="90" position="0.2,-1.35,0" />
     70            <Model mesh="hs-w01_reduced.mesh" roll="90" pitch="-104" yaw="-90" position="0,1.3,0.3" scale=0.6 />
     71          </attached>
     72          <HsW01 mode=0 munitionpershot=1 delay=0     damage=3.14159 material="Flares/point_lensflare" muzzleoffset=" 1.6, 1.3, -2.0" />
     73          <HsW01 mode=0 munitionpershot=1 delay=0.125 damage=3.14159 material="Flares/point_lensflare" muzzleoffset="-0.1, 1.6, -2.0" />
     74          <LightningGun mode=1 munitionpershot=1 muzzleoffset="0,0,0" damage=23 />
     75        </Weapon>
     76        <Weapon>
     77          <SimpleRocketFire mode=2 muzzleoffset="0,0,0" damage=30 healthdamage=50 shielddamage=20 />
     78          <RocketFire mode=3 muzzleoffset="0,0,0" damage=30 healthdamage=50 shielddamage=20 fuel=8 />
     79        </Weapon>
     80      </WeaponPack>
     81    </weaponpacks>
     82    <munition>
     83      <LaserMunition initialmagazines=8 maxmagazines=8 munitionpermagazine=10 replenishamount=2 replenishinterval=7.5/>
     84      <LightningMunition initialmagazines=4 maxmagazines=4 munitionpermagazine=8 />
     85      <RocketMunition initialmagazines=5 maxmagazines=5 munitionpermagazine=1 />
     86    </munition>
  • code/branches/Boss_FS17/data/levels/includes/weaponSettingsEscort.oxi

    r11388 r11424  
    2929    <munition>
    3030      <LaserMunition initialmagazines=8 maxmagazines=8 munitionpermagazine=10 replenishamount=1 replenishinterval=7.5/>
     31     
    3132    </munition>
  • code/branches/Boss_FS17/data/levels/shieldTest.oxw

    r11052 r11424  
    99  include("HUDTemplates3.oxo")
    1010  include("stats.oxo")
    11   include("templates/spaceshipImmTest.oxt")
     11  include("templates/spaceshipAssff.oxt")
    1212  include("templates/lodInformation.oxt")
    1313?>
     
    6161      for i = 1, 10, 1 do
    6262    ?>
    63       <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipimmtest />
     63      <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    6464    <?lua end ?>
    6565
  • code/branches/Boss_FS17/data/levels/templates/Bossship.oxt

    r11388 r11424  
    77        collisionType= "dynamic"
    88        mass = 10000000
    9 
    10         health = 1000
    11         initialhealth = 1000
    12         maxhealth = 1000
    13        
    14        
    15        
    16        
    17         rotationaxis = "1,0,0"
    18        
    19        
    20         rotationrate = "5"
     9 shieldhealth=750 initialshieldhealth=750 maxshieldhealth=750 shieldabsorption    = 1 shieldrechargerate  = 100 shieldrechargewaittime = 0.1
     10
     11   
     12       
     13       
     14       
     15       
     16        rotationaxis = "1,1,0"
     17       
     18       
     19        rotationrate = "100"
    2120        >
     21
     22       
     23  <?lua
     24  include("../includes/BossSpawnWeaponSetting.oxi")
     25  ?>
    2226       
    2327        <!-- Destructible parts -->
     
    2529        <parts>
    2630
    27                 <ShipPart name = "tunnelsystem" initialhealth="1000" maxhealth="1000" damageabsorption="0.5" explosionposition="0,0,0">
     31                <ShipPart name = "tunnelsystem" initialhealth="500" maxhealth="500" damageabsorption="0.5" explosionposition="0,0,0" >
    2832            <destructionevents>
    2933                <PartDestructionEvent targetType="ship"  operation="destroy" />
     
    3438            <destructionevents>
    3539                <PartDestructionEvent targetType="ship"  operation="destroy" />
     40                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    3641            </destructionevents>
    3742        </ShipPart>
     
    4045            <destructionevents>
    4146                <PartDestructionEvent targetType="ship"  operation="destroy" />
     47                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    4248            </destructionevents>
    4349        </ShipPart>
     
    4652            <destructionevents>
    4753                <PartDestructionEvent targetType="ship"  operation="destroy" />
     54                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    4855            </destructionevents>
    4956        </ShipPart>
     
    5259            <destructionevents>
    5360                <PartDestructionEvent targetType="ship"  operation="destroy" />
     61                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    5462            </destructionevents>
    5563        </ShipPart>
     
    5866            <destructionevents>
    5967                <PartDestructionEvent targetType="ship"  operation="destroy" />
     68                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    6069            </destructionevents>
    6170        </ShipPart>
     
    6473            <destructionevents>
    6574                <PartDestructionEvent targetType="ship"  operation="destroy" />
     75                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    6676            </destructionevents>
    6777        </ShipPart>
     
    7080            <destructionevents>
    7181                <PartDestructionEvent targetType="ship"  operation="destroy" />
     82                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    7283            </destructionevents>
    7384        </ShipPart>
     
    7687            <destructionevents>
    7788                <PartDestructionEvent targetType="ship"  operation="destroy" />
     89                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    7890            </destructionevents>
    7991        </ShipPart>
     
    8294            <destructionevents>
    8395                <PartDestructionEvent targetType="ship"  operation="destroy" />
     96                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    8497            </destructionevents>
    8598        </ShipPart>
     
    88101            <destructionevents>
    89102                <PartDestructionEvent targetType="ship"  operation="destroy" />
     103                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    90104            </destructionevents>
    91105        </ShipPart>
     
    94108            <destructionevents>
    95109                <PartDestructionEvent targetType="ship"  operation="destroy" />
     110                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    96111            </destructionevents>
    97112        </ShipPart>
     
    100115            <destructionevents>
    101116                <PartDestructionEvent targetType="ship"  operation="destroy" />
     117                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    102118            </destructionevents>
    103119        </ShipPart>
     
    106122            <destructionevents>
    107123                <PartDestructionEvent targetType="ship"  operation="destroy" />
     124                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    108125            </destructionevents>
    109126        </ShipPart>
     
    111128        <ShipPart name = "ct3" initialhealth="100" maxhealth="100" damageabsorption="0.5" explosionposition="0,0,0">
    112129            <destructionevents>
    113                 <PartDestructionEvent targetType="ship"  operation="destroy" />
     130               <PartDestructionEvent targetType="ship"  operation="destroy" />
     131                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    114132            </destructionevents>
    115133        </ShipPart>
     
    118136            <destructionevents>
    119137                <PartDestructionEvent targetType="ship"  operation="destroy" />
     138                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    120139            </destructionevents>
    121140        </ShipPart>
     
    124143            <destructionevents>
    125144                <PartDestructionEvent targetType="ship"  operation="destroy" />
     145                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    126146            </destructionevents>
    127147        </ShipPart>
     
    130150            <destructionevents>
    131151                <PartDestructionEvent targetType="ship"  operation="destroy" />
     152                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    132153                <PartDestructionEvent targetType="part" targetName ="ct12"   operation="destroy" />
    133154                <PartDestructionEvent targetType="part" targetName ="ct11"   operation="destroy" />
     
    138159            <destructionevents>
    139160                <PartDestructionEvent targetType="ship"  operation="destroy" />
     161                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    140162                <PartDestructionEvent targetType="part" targetName ="ct11"   operation="destroy" />
    141163                <PartDestructionEvent targetType="part" targetName ="ct10"   operation="destroy" />
     
    146168            <destructionevents>
    147169                <PartDestructionEvent targetType="ship"  operation="destroy" />
     170                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    148171                <PartDestructionEvent targetType="part" targetName ="ct10"   operation="destroy" />
    149172                <PartDestructionEvent targetType="part" targetName ="ct9"   operation="destroy" />
     
    154177            <destructionevents>
    155178                <PartDestructionEvent targetType="ship"  operation="destroy" />
     179                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    156180                <PartDestructionEvent targetType="part" targetName ="ct9"   operation="destroy" />
    157181                <PartDestructionEvent targetType="part" targetName ="ct8"   operation="destroy" />
     
    162186            <destructionevents>
    163187                <PartDestructionEvent targetType="ship"  operation="destroy" />
     188                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    164189                <PartDestructionEvent targetType="part" targetName ="ct8"   operation="destroy" />
    165190                <PartDestructionEvent targetType="part" targetName ="ct7"   operation="destroy" /> 
     
    169194        <ShipPart name = "part6" initialhealth="100" maxhealth="100" damageabsorption="0.5" explosionposition="0,0,0">
    170195            <destructionevents>
    171                 <PartDestructionEvent targetType="ship"  operation="destroy" />
     196               <PartDestructionEvent targetType="ship"  operation="destroy" />
     197                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    172198                <PartDestructionEvent targetType="part" targetName ="ct7"   operation="destroy" />
    173199                <PartDestructionEvent targetType="part" targetName ="ct6"   operation="destroy" />
     
    177203        <ShipPart name = "part7" initialhealth="100" maxhealth="100" damageabsorption="0.5" explosionposition="0,0,0">
    178204            <destructionevents>
    179                 <PartDestructionEvent targetType="ship"  operation="destroy" />
     205               <PartDestructionEvent targetType="ship"  operation="destroy" />
     206                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    180207                <PartDestructionEvent targetType="part" targetName ="ct6"   operation="destroy" />
    181208                <PartDestructionEvent targetType="part" targetName ="ct5"   operation="destroy" />
     
    186213            <destructionevents>
    187214                <PartDestructionEvent targetType="ship"  operation="destroy" />
     215                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    188216                <PartDestructionEvent targetType="part" targetName ="ct5"   operation="destroy" />
    189217                <PartDestructionEvent targetType="part" targetName ="ct4"   operation="destroy" />
     
    194222            <destructionevents>
    195223                <PartDestructionEvent targetType="ship"  operation="destroy" />
     224                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    196225                <PartDestructionEvent targetType="part" targetName ="ct4"   operation="destroy" />
    197226                <PartDestructionEvent targetType="part" targetName ="ct3"   operation="destroy" />
     
    202231            <destructionevents>
    203232                <PartDestructionEvent targetType="ship"  operation="destroy" />
     233                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    204234                <PartDestructionEvent targetType="part" targetName ="ct3"   operation="destroy" />
    205235                <PartDestructionEvent targetType="part" targetName ="ct2"   operation="destroy" />
     
    210240            <destructionevents>
    211241                <PartDestructionEvent targetType="ship"  operation="destroy" />
     242                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    212243                <PartDestructionEvent targetType="part" targetName ="ct2"   operation="destroy" />
    213244                <PartDestructionEvent targetType="part" targetName ="ct1"   operation="destroy" />
     
    218249            <destructionevents>
    219250                <PartDestructionEvent targetType="ship"  operation="destroy" />
     251                <PartDestructionEvent targetType="ship"  targetParam="maxshieldhealth" operation="-" value="100" />
    220252                <PartDestructionEvent targetType="part" targetName ="ct1"   operation="destroy" />
    221253                <PartDestructionEvent targetType="part" targetName ="ct12"   operation="destroy" />
     
    264296
    265297
    266         <Model  mesh="Endurance_Tunnelsystem.mesh" scale="66" lookat="0,0,0" pitch="-30" yaw="0" roll="90" />
    267 
    268 
    269298                <!-- coordinates (0,0,0) element 0-->
    270299       
     
    305334                <!-- Tunnelsystem -->
    306335
    307                 <StaticEntity  name = "tunnelsystem"collisionType=static position ="0,0,0" lookat="0,0,0" pitch="-30" yaw="0" roll="90" >
     336                <StaticEntity  name = "tunnelsystem" collisionType=static position ="0,0,0" lookat="0,0,0" pitch="-30" yaw="0" roll="90" >
    308337                        <attached>
    309338                                <Model  mesh="Endurance_Tunnelsystem.mesh" scale="66" />
  • code/branches/Boss_FS17/data/levels/templates/Bossspawnship.oxt

    r11388 r11424  
    1 <Template name=spaceshipescort>
     1<Template name=spaceshipsputim>
    22  <SpaceShip
    33   hudtemplate            = spaceshiphud
     
    77   explosionchunks        = 10
    88
    9    health            = 80
     9   health            = 200
    1010   maxhealth         = 200
    11    initialhealth     = 80
     11   initialhealth     = 200
    1212
    1313   shieldhealth        = 35
     
    4343    </engines>
    4444    <attached>
    45       <Model position="0,0,0" yaw=90 pitch=0 roll=0 scale=4 mesh="Thruster.mesh" />
     45      <Model position="0,0,0" yaw=90 pitch=0 roll=0 scale=4 mesh="assff.mesh" />
    4646      <Model position="0,0,0" yaw=180 pitch=90 roll=0 scale=4 mesh="escortWeapon.mesh" />
    4747     
    4848      <!--Thruster. -->
    49 <!--Model mesh="cube.mesh" mass=10 position="0,0,3" scale3D="10,4,8" />
     49<!--Model mesh="cube.mesh" mass=10 position="0,0,3" scale3D="10,4,8" "assff.mesh"/>
    5050<Model mesh="cube.mesh" mass=10 position="12.6,-2,3" scale3D="2.8,2.8,11" />
    5151<Model mesh="cube.mesh" mass=10 position="-12.6,-2,3" scale3D="2.8,2.8,11" />
     
    7070      <ExplosionPart mesh="explosionparts/escort_part_6.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
    7171    </explosion>
     72
    7273<?lua
    7374  include("../includes/BossSpawnWeaponSetting.oxi")
Note: See TracChangeset for help on using the changeset viewer.