Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

hzilly. Alle files zusammengefuegt.

  • Property svn:eol-style set to native
File size: 1.1 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        <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>
40    </attached>
41
42    <!--collisionShapes>
43
44    </collisionShapes-->
45
46<?lua
47  include("../includes/towerWeaponSettings.oxi")
48?>
49  </TowerDefenseTower>
50</Template>
51
Note: See TracBrowser for help on using the repository browser.