Aircraft and Poisoning Tower
3 replies



24.03.11 02:00:17 pm
Add
below "Stranded II Buildings" in "buildings.inf"
Add
below "Buildings Group 'Stance'" in "buildings.inf"
Add
below "Vehicles Group" in "buildings.inf"
Add
below "Stranded II Buildings" in "buildings.inf"
Add
into script of "Storage Group 'Storage'" in "buildings.inf"
Add
below "Misc. Group" in "buildings.inf"
Add
at the end of "objects_buildings.inf"
Add
at the end of "objects.inf"
Have fun!!!
Code:
1
#102 Airplane
below "Stranded II Buildings" in "buildings.inf"
Add
Code:
1
2
3
2
3
script=start
unlockbuilding 22;
script=end
unlockbuilding 22;
script=end
below "Buildings Group 'Stance'" in "buildings.inf"
Add
Code:
1
2
3
4
5
6
2
3
4
5
6
### Airplane
id=102
group=vehicle
unitid=39
req=86,40
req=63,200
id=102
group=vehicle
unitid=39
req=86,40
req=63,200
below "Vehicles Group" in "buildings.inf"
Add
Code:
1
#30 Poisoning Tower
below "Stranded II Buildings" in "buildings.inf"
Add
Code:
1
unlockbuilding 30;
into script of "Storage Group 'Storage'" in "buildings.inf"
Add
Code:
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
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
Code:
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
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
Code:
1
#224 Poisoning Tower
at the end of "objects.inf"
Have fun!!!
edited 3×, last 25.03.11 11:50:00 am
At first i though this was a stupid request thread
How 'bout this : you slam the scripts into a folder, upload it, and let us download?
How 'bout this : you slam the scripts into a folder, upload it, and let us download?
Back in business, and I'll try not to be the Enigmatic asshole that i used to be....I hope



