Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Move logic into controller, don't use bullet for rotations, and use WorldPosition in FormationController+ (good idea?)

Location:
code/branches/turretFS14/data/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/turretFS14/data/levels/templates/spaceshipAssff.oxt

    r10031 r10039  
    4949      <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 />
    5050
    51               <Turret position="0,10,0" pitch="90" yaw="0" roll="0" maxPitch=90 maxYaw=90 attackRadius=2000>
     51               <!-- <Turret position="0,10,0" pitch="90" yaw="0" roll="0" maxPitch=90 maxYaw=90 attackRadius=2000>
    5252            <templates>
    5353              <Template link=spaceshipturrettest />
     
    5656              <TurretController team=10 />
    5757            </controller>
    58         </Turret>
     58        </Turret> -->
    5959
    6060    </attached>
  • code/branches/turretFS14/data/levels/turretTest.oxw

    r10031 r10039  
    3434
    3535
    36 <MovableEntity position="0,0,0" yaw=0 pitch=0>
     36<SpaceShip position="-100,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=90 maxYaw=90 attackRadius=2000>
     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
    5353        <Model mesh="sphere.mesh" position="20,0,0" scale=1/>
     
    5858
    5959    </attached>
    60 </MovableEntity>
     60</SpaceShip>
    6161
     62<SpaceShip position="100,0,0" yaw=0 pitch=0>
     63    <attached>
     64        <Model position="0,0,0" mesh="turretSocketFront.mesh" scale3D="10,10,10" />
     65        <Model position="0,0,0" mesh="turretSocketIn.mesh" scale3D="10,10,10" />
     66        <Model position="0,0,0" mesh="turretSocketTop.mesh" scale3D="10,10,10" />
     67        <Model position="0,0,0" mesh="turretSocketLeft.mesh" scale3D="10,10,10" />
     68        <Model position="0,0,0" mesh="turretSocketRight.mesh" scale3D="10,10,10" />
    6269
     70        <Turret position="0,10,0" pitch="90" yaw="0" roll="0" maxPitch=90 maxYaw=90 attackRadius=2000>
     71            <templates>
     72              <Template link=spaceshipturrettest />
     73            </templates>
     74            <controller>
     75              <TurretController team=9 />
     76            </controller>
     77        </Turret>
     78
     79        <Model mesh="sphere.mesh" position="20,0,0" scale=1/>
     80
     81        <Model mesh="sphere.mesh" position="0,25,0" scale=1/>
     82
     83        <Model mesh="sphere.mesh" position="0,0,30" scale=1/>
     84
     85    </attached>
     86</SpaceShip>
    6387
    6488
Note: See TracChangeset for help on using the changeset viewer.