Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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