1
#102 Airplane
below "Stranded II Buildings" in "buildings.inf"
Add
1
2
3
2
3
script=start 	unlockbuilding 22; script=end
below "Buildings Group 'Stance'" in "buildings.inf"
Add
1
2
3
4
5
6
2
3
4
5
6
### Airplane id=102 group=vehicle unitid=39 req=86,40 req=63,200
below "Vehicles Group" in "buildings.inf"
Add
1
#30 Poisoning Tower
below "Stranded II Buildings" in "buildings.inf"
Add
1
unlockbuilding 30;
into script of "Storage Group 'Storage'" in "buildings.inf"
Add
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
### Poisoning Tower id=30 group=misc objectid=224 req=7,1 req=86,4 req=21,10 req=24,10 req=57,10 req=37,10
below "Misc. Group" in "buildings.inf"
Add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
### Poisoning Tower id=224 name=Poisoning Tower group=building icon=gfx\defensetower.bmp model=gfx\defensetower.b3d scale=1.2 y=2 health=3000 mat=wood state=0,28,0 script=start 	on:start { 		timer "self",3000,0; 		addstate "self",22; 		statesize "self",22,15; 	} 	on:create { 		timer "self",3000,0; 		addstate "self",22; 		statesize "self",22,15; 	} 	on:build_finish { 		event "defensetowerbuild",0,0; 	} 	on:use { 		msgbox "Defense Tower","sys/scripts/defensetower.s2s"; 	} 	on:timer { 		local $x,$y,$z; 		$x=getx("self"); 		$y=gety("self"); 		$z=getz("self"); 		$y+=28; 		projectile 55,$x,$y,$z,6,350,15,59; 	} script=end description=start Shoots poison arrows! description=end
at the end of "objects_buildings.inf"
Add
1
#224 Poisoning Tower
at the end of "objects.inf"
Have fun!!!
edited 3×, last 25.03.11 11:50:00 am