source:
code/branches/towerdefenseHS14/data/levels/templates/tower.oxt
@
10142
Last change on this file since 10142 was 10142, checked in by maxima, 10 years ago | |
---|---|
|
|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[9161] | 1 | <Template name=tower> |
[10142] | 2 | <TowerDefenseTower |
[9161] | 3 | |
[9272] | 4 | |
[9161] | 5 | explosionchunks = 6 |
6 | ||
[9245] | 7 | reloadrate = 3 |
[9161] | 8 | reloadwaittime = 1 |
9 | ||
[9175] | 10 | collisionType = "dynamic" |
[10142] | 11 | team = 2 |
[9161] | 12 | |
[9213] | 13 | |
[9161] | 14 | > |
[9272] | 15 | <controller> |
16 | <WaypointPatrolController alertnessradius=1000 team=5> | |
17 | <waypoints> | |
18 | <Model mesh="cube.mesh" scale=0 position=" 700, 200, 100" /> | |
19 | </waypoints> | |
20 | </WaypointPatrolController> | |
21 | </controller> | |
[10142] | 22 | |
[9161] | 23 | |
[9213] | 24 | |
[9175] | 25 | <attached> |
[9272] | 26 | <Model position="0,0,0" scale=45 mesh="Tower.mesh" /> |
[10142] | 27 | |
28 | <Turret position="0,0,-100" collisionType="dynamic" angularDamping=0.999999 mass=100 maxPitch=90 maxYaw=90 maxAttackRadius=2000 minAttackRadius=30> | |
29 | ||
30 | <collisionShapes> | |
31 | <SphereCollisionShape radius="10" position = "0,0,0"/> | |
32 | </collisionShapes> | |
33 | <controller> | |
34 | <TurretController/> | |
35 | </controller> | |
36 | <?lua | |
37 | include("../includes/weaponSettingsTurret.oxi") | |
38 | ?> | |
39 | </Turret> | |
[9175] | 40 | </attached> |
[9161] | 41 | |
42 | <!--collisionShapes> | |
[9272] | 43 | |
[9161] | 44 | </collisionShapes--> |
45 | ||
46 | <?lua | |
47 | include("../includes/towerWeaponSettings.oxi") | |
48 | ?> | |
[10142] | 49 | </TowerDefenseTower> |
[9161] | 50 | </Template> |
51 |
Note: See TracBrowser
for help on using the repository browser.