Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/templates/tower.oxt @ 10581

Last change on this file since 10581 was 10258, checked in by landauf, 10 years ago

merged presentationHS14merge back to trunk

  • Property svn:eol-style set to native
File size: 2.2 KB
RevLine 
[9161]1<Template name=tower>
[10258]2  <TowerDefenseTower
[9161]3
[9272]4
[9161]5   explosionchunks        = 6
6
[9245]7   reloadrate          = 3
[9161]8   reloadwaittime      = 1
9
[9175]10   collisionType     = "dynamic"
[9213]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>
[10258]22   
[9161]23
[9213]24
[9175]25    <attached>
[9272]26        <Model position="0,0,0" scale=45 mesh="Tower.mesh" />
[10258]27       
28       
[9175]29    </attached>
[9161]30
31    <!--collisionShapes>
[9272]32
[9161]33    </collisionShapes-->
34
35<?lua
36  include("../includes/towerWeaponSettings.oxi")
37?>
[10258]38  </TowerDefenseTower>
[9161]39</Template>
40
[10258]41
42
43<Template name=towerturret>
44  <TowerDefenseTower
45
46
47   explosionchunks        = 6
48
49   reloadrate          = 10
50   reloadwaittime      = 5
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 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>
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>
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>
128</Template>
Note: See TracBrowser for help on using the repository browser.