Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 26, 2010, 3:59:43 PM (15 years ago)
Author:
gasserlu
Message:

drone, dronecontroller implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai/data/levels/pickup.oxw

    r6524 r6782  
    2222  include("includes/pickups.oxi")
    2323?>
     24
     25    <Template name=droneTemplate>
     26        <Drone name="meineDrohne" primarythrust="80" auxilarythrust="10" rotationthrust="10" mass= "50" linearDamping = "0.9" angularDamping = "0.7">
     27        <attached>
     28            <Model scale="10" mesh="drone.mesh"/>
     29        </attached>
     30        <collisionShapes>
     31            <BoxCollisionShape position="0,0,0"      halfExtents="10, 10, 10" />
     32        </collisionShapes>
    2433   
     34
     35    <weaponslots>
     36      <WeaponSlot position="    0,   0,0" />
     37    </weaponslots>
     38    <weaponsets>
     39      <WeaponSet firemode=0 />
     40    </weaponsets>
     41    <weapons>
     42      <WeaponPack>
     43        <links>
     44          <DefaultWeaponmodeLink firemode=0 weaponmode=0 />
     45        </links>
     46        <Weapon>
     47          <attached>
     48            <Model mesh="hs-w01.mesh" roll="195" position="0,1,0" scale=2 />
     49            <Model mesh="hs-w01s.mesh" roll="195" position="0.1,0.5,0" scale=2 />
     50          </attached>
     51          <HsW01 mode=0 munitionpershot=0 delay=0.125 material="Flares/point_lensflare" muzzleoffset=" 0.7, 1.5,-4" />
     52          <HsW01 mode=0 munitionpershot=0 delay=0     material="Flares/point_lensflare" muzzleoffset="-0.9, 1.1,-4" />
     53        </Weapon>
     54      </WeaponPack>
     55    </weapons>
     56
     57
     58        </Drone>
     59     </Template>
     60
    2561    <PickupSpawner position="-100,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
    2662        <pickup>
    27             <MetaPickup metaType="drop" />
     63            <DronePickup droneTemplate=droneTemplate />
    2864        </pickup>
    2965    </PickupSpawner>
    30    
     66
     67
     68
    3169    <PickupSpawner position="-75,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
    3270        <pickup>
Note: See TracChangeset for help on using the changeset viewer.