File: skeeter_spawner.cfg

package info (click to toggle)
frogatto-data 1.0-2
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze
  • size: 155,116 kB
  • sloc: makefile: 1
file content (96 lines) | stat: -rw-r--r-- 2,172 bytes parent folder | download
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[object_type]
hitpoints="2"
id="skeeter_spawner"
on_die="[score(level,10), spawn('die_cloud', midpoint_x, midpoint_y, facing), spawn_item(me)]"
on_end_hurt_anim="[set(green, 255), set(blue, 255),animation('normal_wounded')]"
on_end_normal_anim="animation('shoot')"
on_end_normal_wounded_anim="animation('shoot_wounded')"
on_end_shoot_anim="animation('normal')"
on_end_shoot_wounded_anim="animation('normal_wounded')"
on_hit_by_player="[set(hitpoints, hitpoints - hit_by.damage),animation('hurt'),set(green, 100), set(blue, 100)]"
on_hurtflicker="if(green = 100,[set(green, 255), set(blue, 255)],[set(green, 100), set(blue, 100)])"
on_shoot="spawn('skeeter', midpoint_x, y-40, facing)"
	[animation]
	accel_y="50"
	collide_h="30"
	collide_w="26"
	collide_x="2"
	collide_y="4"
	duration="80"
	feet_x="16"
	feet_y="36"
	frame_info="3,4,3,1,537,991,24,33"
	frames="1"
	id="normal"
	image="compiled-0.png"
	rect="534,987,563,1024"
	[/animation]

	[animation]
	accel_y="50"
	collide_h="30"
	collide_w="26"
	collide_x="2"
	collide_y="4"
	duration="120"
	feet_x="16"
	feet_y="36"
	frame_info="4,4,4,1,561,991,22,33"
	frames="1"
	id="normal_wounded"
	image="compiled-0.png"
	rect="557,987,586,1024"
	[/animation]

	[animation]
	collide_h="30"
	collide_w="26"
	collide_x="2"
	collide_y="4"
	duration="4"
	events="25:shoot"
	feet_x="16"
	feet_y="36"
	frame_info="1,5,1,1,814,722,28,32,4,4,4,1,842,722,22,33,6,3,6,1,864,722,18,34,6,1,6,1,882,722,18,36"
	frames="4"
	id="shoot_wounded"
	image="compiled-1.png"
	rect="813,717,842,754"
	reverse="yes"
	[/animation]

	[animation]
	collide_h="30"
	collide_w="26"
	collide_x="2"
	collide_y="4"
	duration="18"
	events="6:12:18:hurtflicker"
	feet_x="16"
	feet_y="36"
	frame_info="1,5,1,1,623,902,28,32"
	frames="1"
	id="hurt"
	image="compiled-1.png"
	rect="622,897,651,934"
	[/animation]

	[animation]
	collide_h="30"
	collide_w="26"
	collide_x="2"
	collide_y="4"
	duration="4"
	events="25:shoot"
	feet_x="16"
	feet_y="36"
	frame_info="1,5,1,1,900,722,28,32,3,4,3,1,928,722,24,33,6,3,6,1,952,722,18,34,6,1,6,1,970,722,18,36"
	frames="4"
	id="shoot"
	image="compiled-1.png"
	rect="899,717,928,754"
	reverse="yes"
	[/animation]

[/object_type]