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
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
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" />
[10146]60
[10144]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>
[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>
84</Template>
Note: See TracBrowser for help on using the repository browser.