File: robot_missile1.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 (33 lines) | stat: -rw-r--r-- 836 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
[object_type]
always_active="yes"
id="robot_missile1"
object_level_collisions="yes"
on_collide_level="die()"
on_collide_object="if(collide_with_area = 'body', die())"
on_collide_with="[shake_screen(0,100,0,-100), hit(collide_with), die()]"
on_create="sound('missile_launch.ogg')"
on_die="[spawn('explosion1', x, y, facing),
	         shake_screen(0,50,0,-50)]"
on_process="if(abs(trail_x - x) > 92, [spawn('missile_trail1', x + if(facing = 1, -46, 60), y+2, facing), set_var('trail_x', x)], null())"
	[vars]
	damage="1"
	team="'evil'"
	[/vars]

	[animation]
	attack_area="0,0,10,8"
	body_area="0,0,10,8"
	damage="1"
	duration="5"
	frame_info="0,0,1,0,767,846,29,9,1,0,2,0,796,846,27,9"
	frames="2"
	id="normal"
	image="compiled-0.png"
	rect="767,846,796,854"
	scale="2"
	velocity_x="1000"
	velocity_y="0"
	[/animation]

[/object_type]