Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 29, 2015, 6:36:21 PM (8 years ago)
Author:
gania
Message:

started working on pickups

File:
1 edited

Legend:

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

    r10886 r10888  
    1818  include("templates/spaceshipRing.oxt")
    1919  include("templates/spaceshipSwallow.oxt")
     20  include("templates/pickupRepresentationTemplates.oxt")
    2021?>
     22
    2123
    2224<Level>
     
    3032    skybox       = "Orxonox/Starbox"
    3133  >
    32 
     34    <?lua
     35      include("includes/pickups.oxi")
     36    ?>
    3337    <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"/>
    34     <TeamSpawnPoint team=0 position="3000, -1500, 1000" lookat="1,1,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
     38    <TeamSpawnPoint team=1 position="1500, 1500, 1500" lookat="1,1,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
    3539   
     40<!--     
     41    <PickupSpawner pickup=largedamageboostpickup position="0,0,0" triggerDistance="20" respawnTime="30" maxSpawnedItems="10" />
     42<PickupSpawner pickup=crazyhealthpickup position="0,0,0" triggerDistance="50" respawnTime="30" maxSpawnedItems="10" />
     43<PickupSpawner pickup=hugeshieldpickup position="4000,4500, 4500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
     44<PickupSpawner pickup=smalljumppickup position="6500,6500, 6000" triggerDistance="20" respawnTime="10" maxSpawnedItems="99" />
     45<PickupSpawner pickup=largedamageboostpickup position="9500,9500, 9500" triggerDistance="20" respawnTime="30" maxSpawnedItems="10" />
     46<PickupSpawner pickup=largedamageboostpickup position="13000,13000,13000" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
     47 -->
    3648<!-- HERE STARTS DEMO FOR THE "WAYPOINTS" -->
    3749      <!--
     50    <SpaceShip position="-1500, -1500, -1500" lookat="0,0,0" team=0 name="ss1">
     51      <templates>
     52        <Template link=spaceshipassff />
     53      </templates>
     54      <controller>
     55        <DivisionController team=0 formationMode="finger4">
     56          <actionpoints>
     57            <Model mesh="cube.mesh" scale=8 position="  0,2000,-600" />
     58            <Model mesh="cube.mesh" scale=8 position="  0,2000,-1000" />
     59            <Model mesh="cube.mesh" scale=8 position="400,2000,-1000" />
     60            <Model mesh="cube.mesh" scale=8 position="400,2000,-600" />
     61          </actionpoints>
     62        </DivisionController>
     63      </controller>
     64    </SpaceShip>
     65 -->
     66    <!-- those two are same -->
     67
     68 <!--   
    3869    <Model mesh="cube.mesh" scale=8 position="  0,2000,-600" />
    39     <Model mesh="cube.mesh" scale=8 position="  0,2000,-800" />
    40     <Model mesh="cube.mesh" scale=8 position="200,2000,-800" />
    41     <Model mesh="cube.mesh" scale=8 position="200,2000,-600" />
    42     <Model mesh="cube.mesh" scale=8 position="0,0,0" />
    43 
     70    <Model mesh="cube.mesh" scale=8 position="  0,2000,-1000" />
     71    <Model mesh="cube.mesh" scale=8 position="400,2000,-1000" />
     72    <Model mesh="cube.mesh" scale=8 position="400,2000,-600" />
    4473    <SpaceShip position="-1500, 1500, -1000" lookat="0,0,0" team=0 name="ss1">
    4574      <templates>
     
    5079          <actionpoints>
    5180            <Actionpoint position="  0,2000,-600" action="FLY" loopStart=true/>
    52             <Actionpoint position="  0,2000,-800" action="FLY"  />
    53             <Actionpoint position="200,2000,-800" action="FLY" />
    54             <Actionpoint position="200,2000,-600" action="FLY" loopEnd=true />
     81            <Actionpoint position="  0,2000,-1000" action="FLY"  />
     82            <Actionpoint position="400,2000,-1000" action="FLY" />
     83            <Actionpoint position="400,2000,-600" action="FLY" loopEnd=true />
    5584          </actionpoints>
    5685        </DivisionController>
    5786      </controller>
    58     </SpaceShip>
    59     -->
     87    </SpaceShip>  -->
     88   
    6089<!-- HERE ENDS DEMO FOR THE "WAYPOINTS" -->
    6190
    6291<!-- HERE STARTS DEMO FOR THE ACTIONPOINTS.
    6392P.S. Never set protectMe in the first actionpoint: if human didn't spawn, that actionpoint will be skipped -->
    64        
     93       <!--
    6594    <Model mesh="cube.mesh" scale=8 position="0,0,0" />
    6695
     
    124153    </SpaceShip>
    125154 
    126    
     155    -->
    127156<!-- HERE ENDS DEMO FOR THE ACTIONPOINTS -->
    128157<!-- HERE STARTS DEMO FOR FIGHTING -->
    129     <!--
     158   
     159
    130160    <SpaceShip position="-4000, 1500, -1000" lookat="0,0,0" team=0 name="ss2">
    131161      <templates>
     
    242272      </controller>
    243273    </SpaceShip>
    244  -->
     274
    245275   
    246276<!-- HERE ENDS DEMO FOR FIGHTING -->
Note: See TracChangeset for help on using the changeset viewer.