Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10943 for code/branches


Ignore:
Timestamp:
Dec 7, 2015, 3:49:51 PM (9 years ago)
Author:
gstalder
Message:

Added model and collision shapes to hover ship template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hoverHS15/data/levels/templates/spaceshipHover.oxt

    r10928 r10943  
    4141    </engines>
    4242    <attached>
    43       <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="pirate.mesh" />
    44       <BlinkingBillboard position=" 12.7,-3.8,0" material="Examples/Flare" colour="1.0, 1.0, 1" amplitude=0.04 frequency=1 quadratic=1 />
    45       <BlinkingBillboard position="-12.7,-3.8,0" material="Examples/Flare" colour="1.0, 1.0, 1" amplitude=0.04 frequency=1 quadratic=1 phase="90"/>
    46       <BlinkingBillboard position=" 8.7,-0.5,2.5" material="Examples/Flare" colour="1.0, 1.0, 1" amplitude=0.04 frequency=1 quadratic=1 phase="30"/>
    47       <BlinkingBillboard position="-8.7,-0.5,2.5" material="Examples/Flare" colour="1.0, 1.0, 1" amplitude=0.04 frequency=1 quadratic=1 phase="60"/>
     43      <Model position="0,0,-20" mesh="hovership_body.mesh" scale="5" yaw=180/> 
     44      <Model position="0,0,-20" mesh="hovership_engine.mesh" scale="5" yaw=180/>       
     45      <Model position="0,0,-20" mesh="hovership_gun.mesh" scale="5" yaw=180/>   
     46     
    4847    </attached>
    4948    <collisionShapes>
    50       <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
    51       <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
    52       <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
    53       <BoxCollisionShape position="13,-10,0"  halfExtents="3, 1, 2" />
    54       <BoxCollisionShape position="-13,-10,0" halfExtents="3, 1, 2" />
    55       <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
    56       <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
    57       <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
     49      <BoxCollisionShape position="0    ,-2 ,  7" halfExtents="8, 4 ,32" />
    5850    </collisionShapes>
    5951
     
    6860    <camerapositions>
    6961      <CameraPosition position="0,8, 5" drag=true mouselook=true />
    70       <CameraPosition position="0,8, 60" drag=true mouselook=true />
    71       <CameraPosition position="0,60,10" pitch="-80" drag=true mouselook=true />
    7262      <CameraPosition position="0,8,5" yaw="180" drag=true mouselook=true />
    7363    </camerapositions>
     
    9181  >
    9282    <EffectContainer condition="not idle">
    93       <FadingBillboard mainstate=activity active=false scale=0.02 position=" 1.3, -4, -15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 />
    94       <FadingBillboard mainstate=activity active=false scale=0.02 position=" 0, -4, -15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 />
    95       <FadingBillboard mainstate=activity active=false scale=0.02 position="-1.3, -4, -15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 />
     83      <FadingBillboard mainstate=activity active=false scale=0.02 position=" 1.3, 0, 15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 />
     84      <FadingBillboard mainstate=activity active=false scale=0.02 position=" 0, 0, 15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 />
     85      <FadingBillboard mainstate=activity active=false scale=0.02 position="-1.3, 0, 15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 />
    9686    </EffectContainer>
    9787    <EffectContainer condition="normal or boost">
    98       <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 13, -4,  9.5" colour="1.0, 0.65, 0.2, 1.0" width=8 length=800 lifetime=1 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    99       <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-13, -4,  9.5" colour="1.0, 0.65, 0.2, 1.0" width=8 length=800 lifetime=1 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     88      <Backlight mainstate=activity active=false scale=0.8 name=bltest position=" 0, 0,  40" colour="1.0, 0.65, 0.2, 1.0" width=10 length=800 lifetime=1 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     89     
    10090    </EffectContainer>
    10191    <EffectContainer condition="boost">
    102       <Backlight mainstate=activity active=false scale=0.4 name=bltest position="  0,  5, 15.5" colour="1.0, 0.65, 0.2, 1.0" width=16 length=1600 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     92      <Backlight mainstate=activity active=false scale=0.8 name=bltest position="  0, 0, 40" colour="1.0, 0.65, 0.2, 1.0" width=10 length=1600 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    10393    </EffectContainer>
    10494    <EffectContainer condition="brake">
    105       <FadingBillboard mainstate=activity active=false scale=0.1 position=" 4.4, -5.5, 5" colour="0.8, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    106       <FadingBillboard mainstate=activity active=false scale=0.1 position="-4.4, -5.5, 5" colour="0.8, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     95      <FadingBillboard mainstate=activity active=false scale=0.5 position=" 0, 0, 40" colour="0.8, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     96     
    10797    </EffectContainer>
    10898  </MultiStateEngine>
Note: See TracChangeset for help on using the changeset viewer.