Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/towerdefenseHS14/data/levels/templates/tower.oxt @ 10146

Last change on this file since 10146 was 10146, checked in by maxima, 10 years ago
  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1<Template name=tower>
2  <TowerDefenseTower
3
4
5   explosionchunks        = 6
6
7   reloadrate          = 3
8   reloadwaittime      = 1
9
10   collisionType     = "dynamic"
11   team = 2
12
13
14  >
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>
22   
23
24
25    <attached>
26        <Model position="0,0,0" scale=45 mesh="Tower.mesh" />
27       
28       
29    </attached>
30
31    <!--collisionShapes>
32
33    </collisionShapes-->
34
35<?lua
36  include("../includes/towerWeaponSettings.oxi")
37?>
38  </TowerDefenseTower>
39</Template>
40
41
42
43<Template name=towerturret>
44  <TowerDefenseTower
45
46
47   explosionchunks        = 6
48
49   reloadrate          = 3
50   reloadwaittime      = 1
51
52   collisionType     = "dynamic"
53   team = 1
54
55
56  >
57  <attached>
58
59    <Model position="0,0,0" scale=45 mesh="Tower.mesh" />
60
61    <Turret collisionType="dynamic" position="0,0,10" direction="0,0,1" pitch="0" yaw="0" roll="0" angularDamping=0.999999 mass=100 maxPitch=90 maxYaw=90 maxAttackRadius=1000 minAttackRadius=30>
62
63      <controller>
64        <TurretController/>
65      </controller>
66      <?lua
67        include("../includes/weaponSettingsTurret.oxi")
68      ?>
69    </Turret>
70   
71  </attached>
72   
73
74
75
76    <!--collisionShapes>
77
78    </collisionShapes-->
79
80<?lua
81  include("../includes/towerWeaponSettings.oxi")
82?>
83  </TowerDefenseTower>
84</Template>
Note: See TracBrowser for help on using the repository browser.