Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2018, 3:42:53 PM (7 years ago)
Author:
sehirsch
Message:

Changed size of spaceship and improved collisionshapes

Location:
code/branches/OrxyRoad_FS18/data/levels/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxyRoad_FS18/data/levels/templates/OrxyRoadPattern.oxt

    r11975 r11994  
    123123    </attached>
    124124    <collisionShapes>
    125       <SphereCollisionShape radius="30" />
     125      <SphereCollisionShape radius="120" />
    126126    </collisionShapes>
    127127        </OrxyRoadCube>
     
    138138    </attached>
    139139    <collisionShapes>
    140       <SphereCollisionShape radius="30" />
     140      <SphereCollisionShape radius="120" />
    141141    </collisionShapes>
    142142        </OrxyRoadCube>
     
    153153    </attached>
    154154    <collisionShapes>
    155         <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
     155        <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
     156        <BoxCollisionShape position="75,0,0" halfExtents="120,10,30" />
     157        <BoxCollisionShape position="-75,0,0" halfExtents="120  ,10,30" />
    156158    </collisionShapes>
    157159        </OrxyRoadCube>
  • code/branches/OrxyRoad_FS18/data/levels/templates/spaceshipOrxyRoad.oxt

    r11934 r11994  
    4343  >
    4444    <engines>
    45       <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipinvaderengine />
    46       <MultiStateEngine position="-7.6, 0, 0" template=spaceshipinvaderengine />
     45      <MultiStateEngine position=" 15.2, 0, 12" template=spaceshipinvaderengine />
     46      <MultiStateEngine position="-15.2, 0, 0" template=spaceshipinvaderengine />
    4747    </engines>
    4848    <attached>
    49       <Model position="0,0,0" yaw=90 pitch=0 roll=0 scale=4 mesh="escortShip.mesh" />
    50       <Model position="0,0,0" yaw=180 pitch=90 roll=0 scale=4 mesh="escortWeapon.mesh" />
     49      <Model position="0,0,0" yaw=90 pitch=0 roll=0 scale=8 mesh="escortShip.mesh" />       <!-- EXPERIMENTAL: changed scale form 4 to 8 /-->
     50      <Model position="0,0,0" yaw=180 pitch=90 roll=0 scale=8 mesh="escortWeapon.mesh" />
    5151<!--Model mesh="cube.mesh" mass=10 position="0,0,3" scale3D="10,4,8" />
    5252<Model mesh="cube.mesh" mass=10 position="12.6,-2,3" scale3D="2.8,2.8,11" />
     
    5555    </attached>
    5656    <collisionShapes>
    57       <BoxCollisionShape position="0    ,0 ,  3" halfExtents="10,   4,8" />
    58       <BoxCollisionShape position="12.6 ,-2,  3" halfExtents="2.8,2.8,11"/>
    59       <BoxCollisionShape position="-12.6,-2,  3" halfExtents="2.8,2.8,11"/>
    60       <BoxCollisionShape position="0,     0,-12" halfExtents="4  , 4 ,7" />
     57      <BoxCollisionShape position="0    ,0 ,  6" halfExtents="20,   8,16" />
     58      <BoxCollisionShape position="25.2 ,-4,  6" halfExtents="5.6,5.6,22"/>
     59      <BoxCollisionShape position="-25.2,-4,  6" halfExtents="5.6,5.6,22"/>
     60      <BoxCollisionShape position="0,     0,-24" halfExtents="8  , 8 ,14
     61        " />
    6162    </collisionShapes>
    6263    <explosion >
     
    8081  <OrxyRoadShip>
    8182    <camerapositions>
    82                 <CameraPosition position="200,200,360" direction="-0.4, -0.4, -1" yaw="0" drag=false mouselook=true />
     83                <CameraPosition position="400,400,720" direction="-0.4, -0.4, -1" yaw="0" drag=false mouselook=true />
    8384                <CameraPosition position="0,200,250" direction="0, -0.4, -1" drag=false mouselook=true />
    8485                <CameraPosition position="0,30,150" direction="0, 0, -1" drag=false mouselook=true />
     
    110111    </EffectContainer>
    111112    <EffectContainer condition="not idle">
    112       <FadingBillboard mainstate=activity active=false scale=0.09 position="12, -2, 13" colour="0.2, 1.0, 0.65, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    113       <FadingBillboard mainstate=activity active=false scale=0.09 position="-12, -2, 13" colour="0.2, 1.0, 0.65, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     113      <FadingBillboard mainstate=activity active=false scale=0.18 position="24, -4, 26" colour="0.2, 1.0, 0.65, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     114      <FadingBillboard mainstate=activity active=false scale=0.18 position="-24, -4, 26" colour="0.2, 1.0, 0.65, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    114115    </EffectContainer>
    115116    <EffectContainer condition="normal or brake">
     
    117118    </EffectContainer>
    118119    <EffectContainer condition="normal or boost">
    119       <Backlight mainstate=activity active=false scale=0.33 name=bltest position=" 12, 0, 10" colour="0.2, 1.0, 0.65, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    120       <Backlight mainstate=activity active=false scale=0.33 name=bltest position="-12, 0, 10" colour="0.2, 1.0, 0.65, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     120      <Backlight mainstate=activity active=false scale=0.66 name=bltest position=" 24, 0, 20" colour="0.2, 1.0, 0.65, 1.0" width=30 length=3000 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     121      <Backlight mainstate=activity active=false scale=0.66 name=bltest position=" -24, 0, 20" colour="0.2, 1.0, 0.65, 1.0" width=30 length=3000 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    121122    </EffectContainer>
    122123    <EffectContainer condition="boost">
    123       <Backlight mainstate=activity active=false scale=0.33 name=bltest position=" 12, 0, 10" colour="0.6, 0.8, 0.75, 0.7" width=25 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    124       <Backlight mainstate=activity active=false scale=0.33 name=bltest position="-12, 0, 10" colour="0.6, 0.8, 0.75, 0.7" width=25 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
     124      <Backlight mainstate=activity active=false scale=0.66 name=bltest position=" 24, 0, 20" colour="0.6, 0.8, 0.75, 0.7" width=50 length=2000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
     125      <Backlight mainstate=activity active=false scale=0.66 name=bltest position=" -24, 0, 20" colour="0.6, 0.8, 0.75, 0.7" width=50 length=2000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    125126    </EffectContainer>
     127   
    126128
    127129  </MultiStateEngine>
Note: See TracChangeset for help on using the changeset viewer.