- Timestamp:
- Dec 2, 2013, 8:12:22 PM (10 years ago)
- 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 1 3 <Template name=HeavyCruiser> 2 4 <SpaceShip … … 41 43 <MultiStateEngine position="85,0,0" template=heavycruiserengine /> 42 44 <MultiStateEngine position="-85,0,0" template=heavycruiserengine /> 45 46 <MultiStateEngine position="-140,0,308" template=heavycruiserengineleft /> 47 <MultiStateEngine position="140,0,308" template=heavycruiserengineright /> 43 48 </engines> 44 49 <attached> 45 50 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 65 51 <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"/> 67 53 <Model mesh="HeavyCruiser_partL.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> 68 54 <Model mesh="HeavyCruiser_partR.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> … … 70 56 <Model mesh="HeavyCruiser_sidearmLfront.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> 71 57 <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"/> 73 59 74 60 <!-- bay1 lights --> … … 90 76 <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 /> 91 77 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 100 78 </attached> 101 79 <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"/> 103 81 <BoxCollisionShape position="79,31,-399" halfExtents="3,6,26" info="frontR"/> 104 82 105 83 106 <BoxCollisionShape position="- 79,33,-320" halfExtents="8,11,54" info="frontL"/>84 <BoxCollisionShape position="-80,33,-320" halfExtents="7,11,54" info="frontL"/> 107 85 <BoxCollisionShape position="-79,31,-399" halfExtents="3,6,26" info="frontL"/> 108 86 109 87 110 <BoxCollisionShape position="9 3,33,-179" halfExtents="12,13,45" info="partR"/>111 <BoxCollisionShape position="9 3,33,-230" halfExtents="15,17,22" info="partR"/>112 113 114 <BoxCollisionShape position="-9 3,33,-179" halfExtents="12,13,45" info="partL"/>115 <BoxCollisionShape position="-9 3,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"/> 116 94 117 95 … … 136 114 137 115 138 <BoxCollisionShape position="141,15,-5 1" roll="-15" halfExtents="27,44,64" info="sidearmRfront"/>116 <BoxCollisionShape position="141,15,-53" roll="-15" halfExtents="27,44,62" info="sidearmRfront"/> 139 117 <BoxCollisionShape position="153,59,-30" roll="-15" halfExtents="4,2,38" info="sidearmRfront, top"/> 140 118 <BoxCollisionShape position="153,61,-41" roll="-15" halfExtents="4,4,11" info="sidearmRfront, top"/> … … 163 141 164 142 165 <BoxCollisionShape position="-141,15,-5 1" roll="15" halfExtents="27,44,64" info="sidearmLfront"/>143 <BoxCollisionShape position="-141,15,-53" roll="15" halfExtents="27,44,62" info="sidearmLfront"/> 166 144 <BoxCollisionShape position="-153,59,-30" roll="15" halfExtents="4,2,38" info="sidearmLfront, top"/> 167 145 <BoxCollisionShape position="-153,61,-41" roll="15" halfExtents="4,4,11" info="sidearmLfront, top"/> … … 215 193 <BoxCollisionShape position="0,50,85" pitch="1" halfExtents="81,5,29" info="body, C, Top"/> 216 194 <BoxCollisionShape position="0,59,140" pitch="-4" halfExtents="68,5,27" info="body, CB, Top"/> 195 196 217 197 218 198 <BoxCollisionShape position="0,-7,90" halfExtents="40,4,90" info="body, bay3, Twall"/> … … 288 268 <BoxCollisionShape position="0,35,423" halfExtents="85,35,5" info="body, bay2, Fwall"/> 289 269 <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"/> --> 291 290 </collisionShapes> 292 291 <?lua … … 294 293 ?> 295 294 </SpaceShip> 295 296 296 </Template> 297 298 299 297 300 298 301 <Template name=heavycruisercameras defaults=0> … … 309 312 </Template> 310 313 314 315 316 311 317 <Template name=heavycruiserengine baseclass=MultiStateEngine> 312 318 <MultiStateEngine 313 319 boostfactor = 2 314 320 315 speedfront = 300316 speedback = 50317 speedleftright = 50318 speedupdown = 50321 speedfront = 150 322 speedback = 40 323 speedleftright = 40 324 speedupdown = 40 319 325 320 326 defEngineSndNormal = "sounds/Engine_low.ogg" 321 327 defEngineSndBoost = "sounds/Engine_high.ogg" 322 328 323 accelerationfront = 50324 accelerationbrake = 10325 accelerationback = 10326 accelerationleftright = 10327 accelerationupdown = 10329 accelerationfront = 10 330 accelerationbrake = 8 331 accelerationback = 4 332 accelerationleftright = 4 333 accelerationupdown = 4 328 334 > 329 335 <EffectContainer condition="idle"> … … 338 344 <EffectContainer condition="normal or boost"> 339 345 <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/backlighttrail 30" 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" /> 341 347 <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" /> 342 348 <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" /> … … 355 361 </MultiStateEngine> 356 362 </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.