Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

tower defense update

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