Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2012/data/levels/templates/spaceshipH2.oxt @ 9241

Last change on this file since 9241 was 9241, checked in by decapitb, 12 years ago

tower defense update

  • Property svn:eol-style set to native
  • Property svn:mergeinfo set to (toggle deleted branches)
    /code/branches/dockingsystem2/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/environment3/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/formation/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/gamecontent/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/hud/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/masterserverfix/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/menue/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/newlevel2012/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/output/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/pickup2012/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/presentation/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/presentation2011/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/shipSelection/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/sound2012/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/spacegate/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/spaceraceTwo/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/surfaceRace/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/usability/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/trunk/data/levels/templates/spaceshipH2.oxtmergedeligible
    /code/branches/ai/data/levels/templates/spaceshipH2.oxt6592-7033
    /code/branches/ai2/data/levels/templates/spaceshipH2.oxt8721-8880
    /code/branches/bigships/data/levels/templates/spaceshipH2.oxt8137-8588
    /code/branches/buildsystem/data/levels/templates/spaceshipH2.oxt1874-2276,​2278-2400
    /code/branches/buildsystem2/data/levels/templates/spaceshipH2.oxt2506-2658
    /code/branches/buildsystem3/data/levels/templates/spaceshipH2.oxt2662-2708
    /code/branches/ceguilua/data/levels/templates/spaceshipH2.oxt1802-1808
    /code/branches/chat/data/levels/templates/spaceshipH2.oxt6527-6797
    /code/branches/chat2/data/levels/templates/spaceshipH2.oxt6836-6910
    /code/branches/console/data/levels/templates/spaceshipH2.oxt5941-6104
    /code/branches/consolecommands2/data/levels/templates/spaceshipH2.oxt6451-7178
    /code/branches/consolecommands3/data/levels/templates/spaceshipH2.oxt7178-7283
    /code/branches/core3/data/levels/templates/spaceshipH2.oxt1572-1739
    /code/branches/core4/data/levels/templates/spaceshipH2.oxt3221-3224,​3227,​3234-3238,​3242,​3244-3250,​3252-3254,​3256,​3259-3261,​3264-3265,​3268-3275,​3277-3278,​3280,​3284-3285,​3287,​3289-3294,​3305,​3309-3310
    /code/branches/core5/data/levels/templates/spaceshipH2.oxt5768-5928,​6009
    /code/branches/data_cleanup/data/levels/templates/spaceshipH2.oxt7537-7686
    /code/branches/doc/data/levels/templates/spaceshipH2.oxt7290-7400
    /code/branches/dockingsystem/data/levels/templates/spaceshipH2.oxt8101-8192
    /code/branches/dynamicmatch/data/levels/templates/spaceshipH2.oxt6584-7030
    /code/branches/fps/data/levels/templates/spaceshipH2.oxt6591-7072
    /code/branches/gameimmersion/data/levels/templates/spaceshipH2.oxt8102-8577
    /code/branches/gamestate/data/levels/templates/spaceshipH2.oxt6430-6572,​6621-6661
    /code/branches/gamestates2/data/levels/templates/spaceshipH2.oxt6594-6745
    /code/branches/gametypes/data/levels/templates/spaceshipH2.oxt2826-3031
    /code/branches/gcc43/data/levels/templates/spaceshipH2.oxt1580
    /code/branches/gui/data/levels/templates/spaceshipH2.oxt1635-1723,​2795-2894
    /code/branches/hudelements/data/levels/templates/spaceshipH2.oxt6584-6941
    /code/branches/hudimprovements/data/levels/templates/spaceshipH2.oxt7920-8672
    /code/branches/ingamemenu/data/levels/templates/spaceshipH2.oxt6000-6023
    /code/branches/input/data/levels/templates/spaceshipH2.oxt1629-1636
    /code/branches/ipv6/data/levels/templates/spaceshipH2.oxt7293-7458
    /code/branches/kicklib/data/levels/templates/spaceshipH2.oxt7940-8096,​8098-8277
    /code/branches/kicklib2/data/levels/templates/spaceshipH2.oxt8282-8350
    /code/branches/lastmanstanding/data/levels/templates/spaceshipH2.oxt7479-7644
    /code/branches/lastmanstanding3/data/levels/templates/spaceshipH2.oxt7903-8175
    /code/branches/libraries/data/levels/templates/spaceshipH2.oxt5612-5692
    /code/branches/libraries2/data/levels/templates/spaceshipH2.oxt5703-5737
    /code/branches/lod/data/levels/templates/spaceshipH2.oxt6586-6911
    /code/branches/lodfinal/data/levels/templates/spaceshipH2.oxt2372-2411
    /code/branches/mac_osx/data/levels/templates/spaceshipH2.oxt7789-8128,​8135
    /code/branches/map/data/levels/templates/spaceshipH2.oxt2801-3086,​3089
    /code/branches/masterserver/data/levels/templates/spaceshipH2.oxt7502-7738
    /code/branches/menu/data/levels/templates/spaceshipH2.oxt5941-6146,​6148,​7536-7687
    /code/branches/miniprojects/data/levels/templates/spaceshipH2.oxt2754-2824
    /code/branches/netp2/data/levels/templates/spaceshipH2.oxt2835-2988
    /code/branches/netp3/data/levels/templates/spaceshipH2.oxt2988-3082
    /code/branches/netp6/data/levels/templates/spaceshipH2.oxt3214-3302
    /code/branches/network/data/levels/templates/spaceshipH2.oxt2356
    /code/branches/network2/data/levels/templates/spaceshipH2.oxt6434-6465
    /code/branches/network3/data/levels/templates/spaceshipH2.oxt7196-7344
    /code/branches/network4/data/levels/templates/spaceshipH2.oxt7497-7755
    /code/branches/network5/data/levels/templates/spaceshipH2.oxt7757-7781
    /code/branches/network6/data/levels/templates/spaceshipH2.oxt7823-8315
    /code/branches/network64/data/levels/templates/spaceshipH2.oxt2210-2355
    /code/branches/notifications/data/levels/templates/spaceshipH2.oxt7314-7401
    /code/branches/objecthierarchy/data/levels/templates/spaceshipH2.oxt1911-2085,​2100,​2110-2169
    /code/branches/objecthierarchy2/data/levels/templates/spaceshipH2.oxt2171-2479
    /code/branches/ois_update/data/levels/templates/spaceshipH2.oxt7506-7788
    /code/branches/overlay/data/levels/templates/spaceshipH2.oxt2117-2385
    /code/branches/particles/data/levels/templates/spaceshipH2.oxt2829-3085
    /code/branches/particles2/data/levels/templates/spaceshipH2.oxt6050-6106,​6109
    /code/branches/pch/data/levels/templates/spaceshipH2.oxt3113-3194
    /code/branches/physics/data/levels/templates/spaceshipH2.oxt1912-2055,​2107-2439
    /code/branches/physics_merge/data/levels/templates/spaceshipH2.oxt2436-2457
    /code/branches/pickup/data/levels/templates/spaceshipH2.oxt8145-8555
    /code/branches/pickup2/data/levels/templates/spaceshipH2.oxt5942-6405
    /code/branches/pickup3/data/levels/templates/spaceshipH2.oxt6418-6523
    /code/branches/pickup4/data/levels/templates/spaceshipH2.oxt6594-6710
    /code/branches/pickups/data/levels/templates/spaceshipH2.oxt1926-2086,​2127,​2827-2915
    /code/branches/pickups2/data/levels/templates/spaceshipH2.oxt2107-2497,​2915-3071
    /code/branches/png2/data/levels/templates/spaceshipH2.oxt7262-7263
    /code/branches/portals/data/levels/templates/spaceshipH2.oxt8087-8455
    /code/branches/portals2/data/levels/templates/spaceshipH2.oxt8460-8602
    /code/branches/ppspickups1/data/levels/templates/spaceshipH2.oxt6552-6708
    /code/branches/ppspickups2/data/levels/templates/spaceshipH2.oxt6527-6532,​6554-6709
    /code/branches/ppspickups3/data/levels/templates/spaceshipH2.oxt6757-6997
    /code/branches/ppspickups4/data/levels/templates/spaceshipH2.oxt7003-7089
    /code/branches/presentation2/data/levels/templates/spaceshipH2.oxt6106-6416,​7787-7800
    /code/branches/presentation3/data/levels/templates/spaceshipH2.oxt6913-7162
    /code/branches/questsystem/data/levels/templates/spaceshipH2.oxt1894-2088
    /code/branches/questsystem2/data/levels/templates/spaceshipH2.oxt2107-2259
    /code/branches/questsystem5/data/levels/templates/spaceshipH2.oxt2776-2905
    /code/branches/releasetodo/data/levels/templates/spaceshipH2.oxt7614-7647
    /code/branches/resource/data/levels/templates/spaceshipH2.oxt3327-3366
    /code/branches/resource2/data/levels/templates/spaceshipH2.oxt3372-5694
    /code/branches/rocket/data/levels/templates/spaceshipH2.oxt6523-6950
    /code/branches/rocket2/data/levels/templates/spaceshipH2.oxt6953-6970
    /code/branches/script_trigger/data/levels/templates/spaceshipH2.oxt1295-1953,​1955
    /code/branches/skybox2/data/levels/templates/spaceshipH2.oxt6559-6989
    /code/branches/sound/data/levels/templates/spaceshipH2.oxt2829-3010
    /code/branches/sound3/data/levels/templates/spaceshipH2.oxt5941-6102
    /code/branches/spaceboundaries/data/levels/templates/spaceshipH2.oxt8085-8457
    /code/branches/spaceboundaries2/data/levels/templates/spaceshipH2.oxt8460-8613
    /code/branches/spacerace/data/levels/templates/spaceshipH2.oxt8182-8630
    /code/branches/steering/data/levels/templates/spaceshipH2.oxt5949-6091,​8140-8595
    /code/branches/tetris/data/levels/templates/spaceshipH2.oxt8100-8563
    /code/branches/tutoriallevel/data/levels/templates/spaceshipH2.oxt7827-8370
    /code/branches/tutoriallevel2/data/levels/templates/spaceshipH2.oxt8370-8452
    /code/branches/tutoriallevel3/data/levels/templates/spaceshipH2.oxt8453-8636
    /code/branches/unity_build/data/levels/templates/spaceshipH2.oxt8440-8716
    /code/branches/weapon/data/levels/templates/spaceshipH2.oxt1925-2094
    /code/branches/weapon2/data/levels/templates/spaceshipH2.oxt2107-2488
    /code/branches/weapons/data/levels/templates/spaceshipH2.oxt2897-3051,​8143-8591
    /code/branches/weaponsystem/data/levels/templates/spaceshipH2.oxt2742-2890
File size: 4.3 KB
Line 
1<Template name=spaceshipHtwo>
2  <SpaceShip
3   hudtemplate            = spaceshiphud
4   camerapositiontemplate = spaceshipHtwocameras
5   spawnparticlesource    = "Orxonox/fairytwirl"
6   spawnparticleduration  = 3
7   explosionchunks        = 6
8
9   health            = 100
10   maxhealth         = 200
11   initialhealth     = 100
12
13   primaryThrust     = 100;
14   auxilaryThrust    = 30;
15   rotationThrust    = 25;
16
17   collisionType     = "dynamic"
18   mass              = 100
19   linearDamping     = 0.7
20   angularDamping    = 0.9999999
21  >
22
23<?lua
24  include("../includes/weaponSettingsH2.oxi")
25?>
26    <engines>
27      <MultiStateEngine position="0,0,0" template=spaceshipHtwoengine />
28
29    </engines>
30    <attached>
31      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale3D="3,0.833,0.833" mesh="h2_green.mesh" />
32      <BlinkingBillboard position=" 11.7,4.0,8.5" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
33      <BlinkingBillboard position="-11.7,4.0,8.5" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 />
34    </attached>
35    <collisionShapes>
36      <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
37      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
38      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
39      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
40      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
41      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
42    </collisionShapes>
43
44  </SpaceShip>
45</Template>
46
47<Template name=spaceshipHtwocameras defaults=0>
48  <SpaceShip>
49    <camerapositions>
50      <CameraPosition position="0,10, 40" drag=true mouselook=true />
51      <CameraPosition position="0,20, 80" drag=true mouselook=true />
52      <CameraPosition position="0,30,120" drag=true mouselook=true />
53    </camerapositions>
54  </SpaceShip>
55</Template>
56
57<Template name=spaceshipHtwoengine baseclass=MultiStateEngine>
58  <MultiStateEngine
59   boostfactor    = 2
60
61   speedfront     = 150
62   speedback      =  50
63   speedleftright =  50
64   speedupdown    =  50
65
66   accelerationfront     = 500
67   accelerationbrake     = 500
68   accelerationback      =  125
69   accelerationleftright =  125
70   accelerationupdown    =  125
71  >
72    <active>
73      <FadingBillboard mainstate=activity active=false scale=0.05 position=" 0.0, 2.0, 12.0" colour="0.0, 0.65, 0.0, 0.5" material="Examples/FlareZwei_1" turnontime=0.5 turnofftime=0.5 />
74      <FadingBillboard mainstate=activity active=false scale=0.05 position=" 3.8, 7.5, 11.0" colour="1.0, 1.00, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
75      <FadingBillboard mainstate=activity active=false scale=0.05 position="-3.8, 7.5, 11.0" colour="1.0, 1.00, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
76      <FadingBillboard mainstate=activity active=false scale=0.05 position=" 3.5, 0.0,-10.8" colour="1.0, 1.00, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
77      <FadingBillboard mainstate=activity active=false scale=0.05 position="-3.5, 0.0,-10.8" colour="1.0, 1.00, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
78    </active>
79    <forward>
80      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.06, 1.66, 11.6" colour="0, 0.65, 0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
81      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.26, 1.66, 11.6" colour="0, 0.65, 0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
82    </forward>
83    <boost>
84      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.06, 1.66, 11.6" colour="0.5, 0.85, 0.5, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
85      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.26, 1.66, 11.6" colour="0.5, 0.85, 0.5, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
86    </boost>
87  </MultiStateEngine>
88</Template>
89
Note: See TracBrowser for help on using the repository browser.