Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 10, 2014, 4:06:03 PM (11 years ago)
Author:
muemart
Message:

Limit turret's rotation (another method…), work a bit on the controller, and make a (ugly?) hack to allow attaching dynamic objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/turretFS14/data/levels/turretTest.oxw

    r10018 r10031  
    3434
    3535
    36 <StaticEntity position="0,0,0" yaw=0 pitch=0>
     36<MovableEntity position="0,0,0" yaw=0 pitch=0>
    3737    <attached>
    3838        <Model position="0,0,0" mesh="turretSocketFront.mesh" scale3D="10,10,10" />
     
    4242        <Model position="0,0,0" mesh="turretSocketRight.mesh" scale3D="10,10,10" />
    4343
    44         <Turret position="0,10,0" pitch="-90" yaw="0" roll="0" maxPitch=30 maxYaw=30>
     44        <!-- <Turret position="0,10,0" pitch="90" yaw="0" roll="0" maxPitch=90 maxYaw=90 attackRadius=2000>
    4545            <templates>
    4646              <Template link=spaceshipturrettest />
     
    4949              <TurretController team=10 />
    5050            </controller>
    51         </Turret>
     51        </Turret> -->
    5252
    53         <Model mesh="sphere.mesh" position="25,0,0" scale=1 />
     53        <Model mesh="sphere.mesh" position="20,0,0" scale=1/>
    5454
    55         <Model mesh="sphere.mesh" position="0,25,0" scale=1 />
     55        <Model mesh="sphere.mesh" position="0,25,0" scale=1/>
    5656
    57         <Model mesh="sphere.mesh" position="0,0,25" scale=1 />
     57        <Model mesh="sphere.mesh" position="0,0,30" scale=1/>
    5858
    5959    </attached>
    60 </StaticEntity>
     60</MovableEntity>
    6161
    6262
Note: See TracChangeset for help on using the changeset viewer.