Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10245 was 10158, checked in by maxima, 10 years ago

Changes of Nico. Upgrading the towers included.

  • Property svn:eol-style set to native
File size: 2.2 KB
RevLine 
[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       
[9175]29    </attached>
[9161]30
31    <!--collisionShapes>
[9272]32
[9161]33    </collisionShapes-->
34
35<?lua
36  include("../includes/towerWeaponSettings.oxi")
37?>
[10142]38  </TowerDefenseTower>
[9161]39</Template>
40
[10144]41
42
43<Template name=towerturret>
44  <TowerDefenseTower
45
46
47   explosionchunks        = 6
48
[10158]49   reloadrate          = 10
50   reloadwaittime      = 5
[10144]51
52   collisionType     = "dynamic"
53   team = 1
54
55
56  >
57  <attached>
58
59    <Model position="0,0,0" scale=45 mesh="Tower.mesh" />
[10146]60
[10158]61    <Turret reloadrate=10 reloadwaittime=5 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>
[10144]62
63      <controller>
64        <TurretController/>
65      </controller>
66      <?lua
67        include("../includes/weaponSettingsTurret.oxi")
68      ?>
69    </Turret>
[10146]70   
[10144]71  </attached>
72   
73
74
75
76    <!--collisionShapes>
77
78    </collisionShapes-->
79
80<?lua
81  include("../includes/towerWeaponSettings.oxi")
82?>
83  </TowerDefenseTower>
[10158]84</Template>
85
86
87
88<Template name=towerturret1>
89  <TowerDefenseTower
90
91
92   explosionchunks        = 6
93
94   reloadrate          = 10
95   reloadwaittime      = 5
96
97   collisionType     = "dynamic"
98   team = 1
99
100
101  >
102  <attached>
103
104
105    <Turret reloadrate=10 reloadwaittime=5 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>
106
107      <controller>
108        <TurretController/>
109      </controller>
110      <?lua
111        include("../includes/weaponSettingsTurret1.oxi")
112      ?>
113    </Turret>
114   
115  </attached>
116   
117
118
119
120    <!--collisionShapes>
121
122    </collisionShapes-->
123
124<?lua
125  include("../includes/towerWeaponSettings.oxi")
126?>
127  </TowerDefenseTower>
[10144]128</Template>
Note: See TracBrowser for help on using the repository browser.