Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Merge_HS18/data/levels/TixyTaxyTorxy.oxw @ 12243

Last change on this file since 12243 was 12179, checked in by merholzl, 6 years ago

Tictactoe merge

File size: 7.3 KB
Line 
1<!-- TODO: Update the level's image-->
2
3<!-- See TixyTaxyTorxyReadme.txt for Information on this file -->
4
5<LevelInfo
6 name = "TixyToxyTorxy"
7 description = "Defend your Spacestation from incoming waves."
8 tags = "minigame"
9 screenshot = "emptylevel.png"
10/>
11
12<?lua
13  include("stats.oxo")
14  include("HUDTemplates3.oxo")
15  include("TixyTaxyTorxyHUD.oxo")
16  include("templates/lodInformation.oxt")
17  include("includes/weaponSettingsTurret.oxi")
18  include("templates/spaceshipAssff.oxt")
19  include("templates/standardTurret.oxt")
20?>
21
22<Template name=selectercameras defaults=0>
23  <TixyTaxyTorxySelecter>
24    <camerapositions>
25      <CameraPosition position="0,0,2000" lookat="0,0,0" absolute=false drag=true mouselook=true/>
26    </camerapositions>
27  </TixyTaxyTorxySelecter>
28</Template>
29
30<Template name=selectertemplate>
31  <TixyTaxyTorxySelecter team=0 camerapositiontemplate=selectercameras>
32    <attached>
33      <Model position="0,0,0" pitch=90 mesh="TD_Selection.mesh" scale=25/>
34    </attached>
35  </TixyTaxyTorxySelecter>
36</Template>
37
38<Template name=tower1template>
39  <TixyTaxyTorxyTower
40  explosionchunks=6
41  shieldrechargerate=10
42  shieldrechargewaittime=5
43  collisionType="none"
44  pitch="0"
45  yaw="0"
46  roll="0"
47  maxPitch=360
48  maxYaw=360
49  maxAttackRadius=1000
50  minAttackRadius=0
51  team=0
52  >
53    <controller>
54       <TurretController team = 0/>
55    </controller>
56    <weaponslots>
57      <WeaponSlot position="0,0,0" />
58    </weaponslots>
59    <weaponsets>
60      <WeaponSet firemode=0 />
61    </weaponsets>
62    <weaponpacks>
63      <WeaponPack>
64        <links>
65          <DefaultWeaponmodeLink firemode=0 weaponmode=0 />
66        </links>
67        <Weapon>
68          <HsW01 mode=0 munitionpershot=0 muzzleoffset="0,0,0" damage=2 shielddamage=1 material="Flares/point_lensflare" delay=0/>
69        </Weapon>
70      </WeaponPack>
71    </weaponpacks>
72    <munition>
73      <LaserMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10 replenishamount=1 replenishinterval=0.3/>
74    </munition>
75  </TixyTaxyTorxyTower>
76</Template>
77
78<Template name=tower2template>
79  <TixyTaxyTorxyTower
80  explosionchunks=6
81  shieldrechargerate=10
82  shieldrechargewaittime=5
83  collisionType="none"
84  pitch="0"
85  yaw="0"
86  roll="0"
87  maxPitch=360
88  maxYaw=360
89  maxAttackRadius=1000
90  minAttackRadius=0
91  team=0
92  >
93    <controller>
94       <TurretController team = 0/>
95    </controller>
96    <weaponslots>
97      <WeaponSlot position="0,0,0" />
98    </weaponslots>
99    <weaponsets>
100      <WeaponSet firemode=0 />
101    </weaponsets>
102    <weaponpacks>
103      <WeaponPack>
104        <links>
105          <DefaultWeaponmodeLink firemode=0 weaponmode=0 />
106        </links>
107        <Weapon>         
108          <LightningGun mode=0 munitionpershot=0 muzzleoffset="0,0,0" damage=2 shielddamage=4 />
109        </Weapon>
110      </WeaponPack>
111    </weaponpacks>
112    <munition>
113      <LightningMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10/>
114    </munition>
115    <attached>
116      <Backlight position="0,0,0" scale=2.0 colour="0.4, 0.0, 1.0" width=10 length=10 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 />
117    </attached>   
118  </TixyTaxyTorxyTower>
119</Template>
120
121<Template name=tower3template>
122  <TixyTaxyTorxyTower
123  explosionchunks=6
124  shieldrechargerate=10
125  shieldrechargewaittime=5
126  collisionType="none"
127  pitch="0"
128  yaw="0"
129  roll="0"
130  maxPitch=360
131  maxYaw=360
132  maxAttackRadius=1000
133  minAttackRadius=0
134  team=0
135  >
136    <controller>
137       <TurretController team = 0/>
138    </controller>
139    <weaponslots>
140      <WeaponSlot position="0,0,0" />
141    </weaponslots>
142    <weaponsets>
143      <WeaponSet firemode=0 />
144    </weaponsets>
145    <weaponpacks>
146      <WeaponPack>
147        <links>
148          <DefaultWeaponmodeLink firemode=0 weaponmode=0 />
149        </links>
150        <Weapon>
151          <SplitGun mode=0 munitionpershot=0 damage=9.3 muzzleoffset=" 1.6, 1.3, -2.0" splittime=0.2 numberofsplits=2 numberofchilds=5 spread=0.1 damagereduction=3.0 />
152        </Weapon>
153      </WeaponPack>
154    </weaponpacks>
155    <munition>
156      <SplitMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10/>
157    </munition>
158  </TixyTaxyTorxyTower>
159</Template>
160
161<Template name=tower4template>
162  <TixyTaxyTorxyTower
163  explosionchunks=6
164  shieldrechargerate=10
165  shieldrechargewaittime=5
166  collisionType="none"
167  pitch="0"
168  yaw="0"
169  roll="0"
170  maxPitch=360
171  maxYaw=360
172  maxAttackRadius=1000
173  minAttackRadius=0
174  team=0
175  >
176    <controller>
177       <TurretController team = 0/>
178    </controller>
179    <weaponslots>
180      <WeaponSlot position="0,0,0" />
181    </weaponslots>
182    <weaponsets>
183      <WeaponSet firemode=0 />
184    </weaponsets>
185    <weaponpacks>
186      <WeaponPack>
187        <links>
188          <DefaultWeaponmodeLink firemode=0 weaponmode=0 />
189        </links>
190        <Weapon>
191          <RocketFire mode=0 munitionpershot=0 muzzleoffset="0,0,0" damage=2 shielddamage=4 fuel=10/> 
192        </Weapon>
193      </WeaponPack>
194    </weaponpacks>
195    <munition>
196      <RocketMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10/>
197    </munition>
198      <attached>
199      <ParticleSpawner position="0,0,0" source="Orxonox/sparks" lifetime=3.0 autostart=1 loop=1 />
200    </attached>
201  </TixyTaxyTorxyTower>
202</Template>
203
204<Level plugins = "TixyTaxyTorxy" gametype = "TixyTaxyTorxy">
205  <templates>
206    <Template link=lodtemplate_default />
207  </templates>
208
209  <?lua include("includes/notifications.oxi") ?>
210
211  <Scene
212    ambientlight = "0.8, 0.8, 0.8"
213    skybox       = "Orxonox/Starbox"
214  >
215
216    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
217
218    <SpawnPoint team=0 position="0,0,0"/>
219
220    <Model position="0,0,10000" lodLevel=1 mesh="TD_S1.mesh" scale=1/>
221    <Model position="0,0,10000" lodLevel=1 mesh="TD_S2.mesh" scale=1/>
222    <Model position="0,0,10000" lodLevel=1 mesh="TD_S3.mesh" scale=1/>
223    <Model position="0,0,10000" lodLevel=1 mesh="TD_S4.mesh" scale=1/>
224    <Model position="0,0,10000" lodLevel=1 mesh="TD_S5.mesh" scale=1/>
225    <Model position="0,0,10000" lodLevel=1 mesh="TD_T1.mesh" scale=1/>
226    <Model position="0,0,10000" lodLevel=1 mesh="TD_T2.mesh" scale=1/>
227    <Model position="0,0,10000" lodLevel=1 mesh="TD_T3.mesh" scale=1/>
228    <Model position="0,0,10000" lodLevel=1 mesh="TD_T4.mesh" scale=1/>
229    <Model position="0,0,10000" lodLevel=1 mesh="TD_T5.mesh" scale=1/>
230    <Model position="0,0,10000" lodLevel=1 mesh="TD_F1.mesh" scale=1/>
231
232    <!-- PlayField -->
233    <TixyTaxyTorxyCenterpoint
234    name=TixyTaxyTorxycenter
235    selecterTemplate=selectertemplate
236    tower1Template=tower1template
237    tower2Template=tower2template
238    tower3Template=tower3template
239    tower4Template=tower4template
240    tower5Template=tower5template
241    tower1Cost=0
242    tower2Cost=0
243    tower3Cost=0
244    tower4Cost=0
245    tower5Cost=0
246    fields="
247            F1F1F1O1F1F1F1O1F1F1F1
248            F1F1F1O1F1F1F1O1F1F1F1
249            F1F1F1O1F1F1F1O1F1F1F1
250            O1O1O1O1O1O1O1O1O1O1O1
251            F1F1F1O1F1F1F1O1F1F1F1
252            F1F1F1O1F1F1F1O1F1F1F1
253            F1F1F1O1F1F1F1O1F1F1F1
254            O1O1O1O1O1O1O1O1O1O1O1
255            F1F1F1O1F1F1F1O1F1F1F1
256            F1F1F1O1F1F1F1O1F1F1F1
257            F1F1F1O1F1F1F1O1F1F1F1
258            "
259    width=11
260    height=11
261    tileScale=100
262    position="0,0,0"
263    direction="0,0,0"
264    collisionType=dynamic
265    mass=100000
266    />
267
268  </Scene>
269</Level>
270
Note: See TracBrowser for help on using the repository browser.