Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 27, 2012, 2:36:52 PM (13 years ago)
Author:
lkevin
Message:

First working version. Default damage increase is
currently set to 20. Now fixing things and documenting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup2012/data/levels/pickups.oxw

    r9016 r9118  
    168168      </pickup>
    169169    </PickupSpawner>
     170   
     171    <!-- DamageBoost pickup -->
     172   
     173    <PickupSpawner position="-100,300,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
     174      <pickup>
     175        <DamageBoostPickup template=normaldamageboostpickup />
     176      </pickup>
     177    </PickupSpawner>
     178   
    170179   
    171180    <!-- Other pickups -->
     
    206215      </pickup>
    207216    </PickupSpawner>
     217   
     218    <!-- @Objects: 4 boxes (uncontrolled pawns) -->
     219    <Pawn team=1 health=30 position="0,0,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 4" >
     220        <events>
     221          <visibility>
     222            <EventListener event="flying4" />
     223          </visibility>
     224        </events>
     225        <attached>
     226            <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
     227        </attached>
     228        <collisionShapes>
     229            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     230        </collisionShapes>
     231    </Pawn>
     232
     233    <Pawn team=1 health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 3">
     234        <events>
     235          <visibility>
     236            <EventListener event="flying4" />
     237          </visibility>
     238        </events>
     239        <attached>
     240           <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
     241        </attached>
     242        <collisionShapes>
     243            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     244        </collisionShapes>
     245    </Pawn>
     246
     247    <Pawn health=30 position="0,200,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box team=1 RVName = "Box 2">
     248        <events>
     249          <visibility>
     250            <EventListener event="flying4" />
     251          </visibility>
     252        </events>
     253        <attached>
     254           <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
     255        </attached>
     256        <collisionShapes>
     257            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     258        </collisionShapes>
     259    </Pawn>
     260
     261    <Pawn health=30 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box team=1 RVName = "Box 1">
     262        <events>
     263          <visibility>
     264            <EventListener event="flying4" />
     265          </visibility>
     266        </events>
     267        <attached>
     268            <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
     269        </attached>
     270        <collisionShapes>
     271           <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     272        </collisionShapes>
     273    </Pawn>
    208274
    209275    <!--StaticEntity position="0,-200,0" direction="0,-1,0" collisionType=static mass=500 friction=0.01 >
Note: See TracChangeset for help on using the changeset viewer.