Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2013, 8:12:22 PM (10 years ago)
Author:
noep
Message:

Updated HeavyCruiser textures, level and template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/contentcreation/pps/noep/HeavyCruiser/HeavyCruiser.oxt

    r9794 r9867  
     1<!-- This template includes HeavyCruiser with all its parts (not individually destructible) -->
     2
    13<Template name=HeavyCruiser>
    24  <SpaceShip
     
    4143      <MultiStateEngine position="85,0,0" template=heavycruiserengine />
    4244      <MultiStateEngine position="-85,0,0" template=heavycruiserengine />
     45
     46      <MultiStateEngine position="-140,0,308" template=heavycruiserengineleft />
     47      <MultiStateEngine position="140,0,308" template=heavycruiserengineright />
    4348    </engines>
    4449    <attached>
    4550
    46         <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=1000 friction=0.01 >
    47             <attached>
    48                 <Model mesh="HeavyCruiser_frontR.mesh" direction="-1,0,0" position="0,0,0" scale="40"/>
    49             </attached>
    50             <collisionShapes>
    51                 <BoxCollisionShape position="79,33,-320" halfExtents="8,11,54" info="frontR"/>
    52                 <BoxCollisionShape position="79,31,-399" halfExtents="3,6,26" info="frontR"/> 
    53             </collisionShapes>
    54         </StaticEntity>
    55         <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=1000 friction=0.01 >
    56             <attached>
    57                 <Model mesh="HeavyCruiser_frontL.mesh" direction="-1,0,0" position="0,0,0" scale="40"/>
    58             </attached>
    59             <collisionShapes>
    60                 <BoxCollisionShape position="-79,33,-320" halfExtents="8,11,54" info="frontL"/>
    61                 <BoxCollisionShape position="-79,31,-399" halfExtents="3,6,26" info="frontL"/>   
    62             </collisionShapes>
    63         </StaticEntity>
    64 
    6551        <Model mesh="HeavyCruiser_body.mesh" direction="-1,0,0" position="0,0,0" scale="40"/>
    66 
     52        <Model mesh="HeavyCruiser_frontR.mesh" direction="-1,0,0" position="0,0,0" scale="40"/>
    6753        <Model mesh="HeavyCruiser_partL.mesh" direction="-1,0,0" position="0,0,0" scale="40"/>
    6854        <Model mesh="HeavyCruiser_partR.mesh" direction="-1,0,0" position="0,0,0" scale="40"/>
     
    7056        <Model mesh="HeavyCruiser_sidearmLfront.mesh" direction="-1,0,0" position="0,0,0" scale="40"/>
    7157        <Model mesh="HeavyCruiser_sidearmR.mesh" direction="-1,0,0" position="0,0,0" scale="40"/>
    72         <Model mesh="HeavyCruiser_sidearmRfront.mesh" direction="-1,0,0" position="0,0,0" scale="40"/>
     58        <Model mesh="HeavyCruiser_sidearmRfront.mesh" direction="-1,0,0" position="0,0,0" scale="40"/>       
    7359
    7460            <!-- bay1 lights -->
     
    9076        <BlinkingBillboard position="-74,103,524" material="Examples/Flare" colour="0.7, 0, 0, 0.1" amplitude=0.3 frequency=0.15 phase=360 quadratic=1 />
    9177
    92 
    93 
    94 <!--    <Model position="0,8,17" yaw=0 pitch=180 roll=0 scale3D="8, 10, 10" mesh="cube.mesh" />
    95         <Model position="0,0,22" yaw=0 pitch=180 roll=0 scale3D="18, 2, 10" mesh="cube.mesh" />
    96         <Model position="0,0,9" yaw=0 pitch=180 roll=0 scale3D="12, 2, 20" mesh="cube.mesh" />
    97         <Model position="0,0,-18" yaw=0 pitch=180 roll=0 scale3D="6, 2, 18" mesh="cube.mesh" />
    98 -->
    99 
    10078    </attached>
    10179    <collisionShapes>
    102         <BoxCollisionShape position="79,33,-320" halfExtents="8,11,54" info="frontR"/>
     80                <BoxCollisionShape position="80,33,-320" halfExtents="7,11,54" info="frontR"/>
    10381        <BoxCollisionShape position="79,31,-399" halfExtents="3,6,26" info="frontR"/>
    10482
    10583
    106         <BoxCollisionShape position="-79,33,-320" halfExtents="8,11,54" info="frontL"/>
     84        <BoxCollisionShape position="-80,33,-320" halfExtents="7,11,54" info="frontL"/>
    10785        <BoxCollisionShape position="-79,31,-399" halfExtents="3,6,26" info="frontL"/>
    10886
    10987
    110         <BoxCollisionShape position="93,33,-179" halfExtents="12,13,45" info="partR"/>
    111         <BoxCollisionShape position="93,33,-230" halfExtents="15,17,22" info="partR"/>
    112 
    113 
    114         <BoxCollisionShape position="-93,33,-179" halfExtents="12,13,45" info="partL"/>
    115         <BoxCollisionShape position="-93,33,-230" halfExtents="15,17,22" info="partL"/>
     88        <BoxCollisionShape position="94,33,-179" halfExtents="11,13,45" info="partR"/>
     89        <BoxCollisionShape position="96,33,-230" halfExtents="13,17,22" info="partR"/>
     90
     91
     92        <BoxCollisionShape position="-94,33,-179" halfExtents="11,13,45" info="partL"/>
     93        <BoxCollisionShape position="-96,33,-230" halfExtents="13,17,22" info="partL"/>
    11694
    11795
     
    136114
    137115
    138         <BoxCollisionShape position="141,15,-51" roll="-15" halfExtents="27,44,64" info="sidearmRfront"/>
     116        <BoxCollisionShape position="141,15,-53" roll="-15" halfExtents="27,44,62" info="sidearmRfront"/>
    139117        <BoxCollisionShape position="153,59,-30" roll="-15" halfExtents="4,2,38" info="sidearmRfront, top"/>
    140118        <BoxCollisionShape position="153,61,-41" roll="-15" halfExtents="4,4,11" info="sidearmRfront, top"/>
     
    163141
    164142
    165         <BoxCollisionShape position="-141,15,-51" roll="15" halfExtents="27,44,64" info="sidearmLfront"/>
     143        <BoxCollisionShape position="-141,15,-53" roll="15" halfExtents="27,44,62" info="sidearmLfront"/>
    166144        <BoxCollisionShape position="-153,59,-30" roll="15" halfExtents="4,2,38" info="sidearmLfront, top"/>
    167145        <BoxCollisionShape position="-153,61,-41" roll="15" halfExtents="4,4,11" info="sidearmLfront, top"/>
     
    215193        <BoxCollisionShape position="0,50,85" pitch="1" halfExtents="81,5,29" info="body, C, Top"/>
    216194        <BoxCollisionShape position="0,59,140" pitch="-4" halfExtents="68,5,27" info="body, CB, Top"/>
     195       
     196
    217197
    218198        <BoxCollisionShape position="0,-7,90" halfExtents="40,4,90" info="body, bay3, Twall"/>
     
    288268        <BoxCollisionShape position="0,35,423" halfExtents="85,35,5" info="body, bay2, Fwall"/>
    289269        <BoxCollisionShape position="0,-3,465" halfExtents="84,5,60" info="body, bay2, BottomWall"/>
    290         <BoxCollisionShape position="0,78,526" halfExtents="43,17,5" info="body, bay2, Twall"/>
     270        <BoxCollisionShape position="0,78,526" halfExtents="43,17,5" info="body, bay2, Twall"/>
     271       
     272       
     273        <BoxCollisionShape position="0,7,80" halfExtents="23,1,34" info="HOOKBOX at 0,18,80, bottom"/>
     274        <BoxCollisionShape position="0,29,80" halfExtents="23,1,34" info="HOOKBOX, top"/>
     275        <BoxCollisionShape position="-22,18,80" halfExtents="1,12,34" info="HOOKBOX, left long"/>
     276        <BoxCollisionShape position="0,18,80" halfExtents="1,12,34" info="HOOKBOX, center long"/>
     277        <BoxCollisionShape position="22,18,80" halfExtents="1,12,34" info="HOOKBOX, right long"/>
     278        <BoxCollisionShape position="0,18,113" halfExtents="23,12,1" info="HOOKBOX, wide"/>
     279        <BoxCollisionShape position="0,18,91" halfExtents="23,12,1" info="HOOKBOX, wide"/>
     280        <BoxCollisionShape position="0,18,69" halfExtents="23,12,1" info="HOOKBOX, wide"/>
     281        <BoxCollisionShape position="0,18,47" halfExtents="23,12,1" info="HOOKBOX, wide"/>
     282       
     283<!-- Following the position of the other parts collisionboxes, used to attach them to the body -->
     284<!--         <BoxCollisionShape position="-11,18,102" halfExtents="10,10,10" info="HOOK, sidearmL"/>
     285        <BoxCollisionShape position="11,18,102" halfExtents="10,10,10" info="HOOK, sidearmR"/>
     286        <BoxCollisionShape position="-11,18,80" halfExtents="10,10,10" info="HOOK, partL"/>
     287        <BoxCollisionShape position="11,18,80" halfExtents="10,10,10" info="HOOK, partR"/>
     288        <BoxCollisionShape position="-11,18,58" halfExtents="10,10,10" info="HOOK, frontL"/>
     289        <BoxCollisionShape position="11,18,58" halfExtents="10,10,10" info="HOOK, frontR"/> -->
    291290    </collisionShapes>
    292291<?lua
     
    294293?>
    295294  </SpaceShip>
     295
    296296</Template>
     297
     298
     299
    297300
    298301<Template name=heavycruisercameras defaults=0>
     
    309312</Template>
    310313
     314
     315
     316
    311317<Template name=heavycruiserengine baseclass=MultiStateEngine>
    312318  <MultiStateEngine
    313319   boostfactor    = 2
    314320
    315    speedfront     = 300
    316    speedback      =  50
    317    speedleftright =  50
    318    speedupdown    =  50
     321   speedfront     = 150
     322   speedback      =  40
     323   speedleftright =  40
     324   speedupdown    =  40
    319325
    320326   defEngineSndNormal = "sounds/Engine_low.ogg"
    321327   defEngineSndBoost = "sounds/Engine_high.ogg"
    322328
    323    accelerationfront     = 50
    324    accelerationbrake     = 10
    325    accelerationback      =  10
    326    accelerationleftright =  10
    327    accelerationupdown    =  10
     329   accelerationfront     = 10
     330   accelerationbrake     = 8
     331   accelerationback      =  4
     332   accelerationleftright =  4
     333   accelerationupdown    =  4
    328334  >
    329335    <EffectContainer condition="idle">
     
    338344    <EffectContainer condition="normal or boost">
    339345      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="85,58,525" colour="0.2, 0.65, 1.0, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    340       <Backlight mainstate=activity active=false scale=0.6 name=bltest position="-85,58,525" colour="0.2, 0.65, 1.0, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail30" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare130" />
     346      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="-85,58,525" colour="0.2, 0.65, 1.0, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    341347      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="85,58,525" colour="0.2, 0.65, 1, 0.4" width=5 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    342348      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="-85,58,525" colour="0.2, 0.65, 1, 0.4" width=5 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     
    355361  </MultiStateEngine>
    356362</Template>
     363
     364
     365<Template name=heavycruiserengineleft baseclass=MultiStateEngine>
     366  <MultiStateEngine
     367   boostfactor    = 2
     368
     369   speedfront     = 300
     370   speedback      =  50
     371   speedleftright =  50
     372   speedupdown    =  50
     373
     374   defEngineSndNormal = "sounds/Engine_low.ogg"
     375   defEngineSndBoost = "sounds/Engine_high.ogg"
     376
     377   accelerationfront     = 10
     378   accelerationbrake     = 8
     379   accelerationback      =  4
     380   accelerationleftright =  4
     381   accelerationupdown    =  4
     382  >
     383    <EffectContainer condition="idle">
     384      <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/>
     385    </EffectContainer>
     386    <EffectContainer condition="not idle">
     387      <FadingBillboard mainstate=activity active=false scale=1 position="-146,35,308" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     388      <FadingBillboard mainstate=activity active=false scale=1 position="-135,-5,308" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     389    </EffectContainer>
     390    <EffectContainer condition="normal or brake">
     391    </EffectContainer>
     392    <EffectContainer condition="normal or boost">
     393      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="-146,35,308" colour="0.2, 0.65, 1.0, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     394      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="-135,-5,308" colour="0.2, 0.65, 1.0, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     395      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="-146,35,308" colour="0.2, 0.65, 1, 0.4" width=5 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     396      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="-135,-5,308" colour="0.2, 0.65, 1, 0.4" width=5 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     397 </EffectContainer>
     398    <EffectContainer condition="boost">
     399      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="-146,35,308" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
     400      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="-135,-5,308" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
     401    </EffectContainer>
     402<!--    <EffectContainer condition="brake">
     403
     404      <FadingBillboard mainstate=activity active=false scale=0.3 position=" 8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     405      <FadingBillboard mainstate=activity active=false scale=0.3 position="-8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     406      <FadingBillboard mainstate=activity active=false scale=0.15 position=" 8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
     407      <FadingBillboard mainstate=activity active=false scale=0.15 position="-8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
     408    </EffectContainer>
     409-->
     410  </MultiStateEngine>
     411</Template>
     412
     413
     414<Template name=heavycruiserengineright baseclass=MultiStateEngine>
     415  <MultiStateEngine
     416   boostfactor    = 2
     417
     418   speedfront     = 300
     419   speedback      =  50
     420   speedleftright =  50
     421   speedupdown    =  50
     422
     423   defEngineSndNormal = "sounds/Engine_low.ogg"
     424   defEngineSndBoost = "sounds/Engine_high.ogg"
     425
     426   accelerationfront     = 10
     427   accelerationbrake     = 8
     428   accelerationback      =  4
     429   accelerationleftright =  4
     430   accelerationupdown    =  4
     431  >
     432    <EffectContainer condition="idle">
     433      <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/>
     434    </EffectContainer>
     435    <EffectContainer condition="not idle">
     436      <FadingBillboard mainstate=activity active=false scale=1 position="146,35,308" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     437      <FadingBillboard mainstate=activity active=false scale=1 position="135,-5,308" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     438    </EffectContainer>
     439    <EffectContainer condition="normal or brake">
     440    </EffectContainer>
     441    <EffectContainer condition="normal or boost">
     442      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="146,35,308" colour="0.2, 0.65, 1.0, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     443      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="135,-5,308" colour="0.2, 0.65, 1.0, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     444      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="146,35,308" colour="0.2, 0.65, 1, 0.4" width=5 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     445      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="135,-5,308" colour="0.2, 0.65, 1, 0.4" width=5 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     446 </EffectContainer>
     447    <EffectContainer condition="boost">
     448      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="146,35,308" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
     449      <Backlight mainstate=activity active=false scale=0.6 name=bltest position="135,-5,308" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
     450    </EffectContainer>
     451<!--    <EffectContainer condition="brake">
     452      <FadingBillboard mainstate=activity active=false scale=0.3 position=" 8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     453      <FadingBillboard mainstate=activity active=false scale=0.3 position="-8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     454      <FadingBillboard mainstate=activity active=false scale=0.15 position=" 8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
     455      <FadingBillboard mainstate=activity active=false scale=0.15 position="-8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
     456    </EffectContainer>
     457-->
     458  </MultiStateEngine>
     459</Template>
Note: See TracChangeset for help on using the changeset viewer.