Open
po.lua with notepad.
Search for
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
po.list = {
	[1]={
		map = "de_cs2d" ;
		sx = 112 ;
		sy = 112 ;
		x = 0 ;
		y = 0 ;
		size = 32 ;
		shootable = true ;
		maxhp = 200 ;
		health = 0 ;
		explode = true ;
		exrange = 100 ;
		exdamage = 100 ;
		breakingsound = "materials/wood2.wav" ;
		breakedsound = "materials/burstwood.wav" ;
		imgpath = "gfx/testpo.bmp" ;
			-- Do not change this variables below --
		img = -1 ;
		imgs = -1 ;
	};
	[2]={
		map = "de_cs2d" ;
		sx = 144 ;
		sy = 144 ;
		x = 0 ;
		y = 0 ;
		size = 32 ;
		shootable = false ;
		maxhp = 200 ;
		health = 0 ;
		explode = true ;
		exrange = 100 ;
		exdamage = 100 ;
		breakingsound = "materials/wood2.wav" ;
		breakedsound = "materials/burstwood.wav" ;
		imgpath = "gfx/testpo.bmp" ;
			-- Do not change this variables below --
		img = -1 ;
		imgs = -1 ;
	};
}
Copy one of those!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[2]={
		map = "de_cs2d" ;
		sx = 144 ;
		sy = 144 ;
		x = 0 ;
		y = 0 ;
		size = 32 ;
		shootable = false ;
		maxhp = 200 ;
		health = 0 ;
		explode = true ;
		exrange = 100 ;
		exdamage = 100 ;
		breakingsound = "materials/wood2.wav" ;
		breakedsound = "materials/burstwood.wav" ;
		imgpath = "gfx/testpo.bmp" ;
			-- Do not change this variables below --
		img = -1 ;
		imgs = -1 ;
	};
Then paste it and make your own portable object / obstacle.
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
[2]={
		map = "de_cs2d" ;
		sx = 144 ;
		sy = 144 ;
		x = 0 ;
		y = 0 ;
		size = 32 ;
		shootable = false ;
		maxhp = 200 ;
		health = 0 ;
		explode = true ;
		exrange = 100 ;
		exdamage = 100 ;
		breakingsound = "materials/wood2.wav" ;
		breakedsound = "materials/burstwood.wav" ;
		imgpath = "gfx/testpo.bmp" ;
			-- Do not change this variables below --
		img = -1 ;
		imgs = -1 ;
	};
	[3]={
		map = "mytargetmap" ;
		sx = myXposition ;
		sy = myYposition ;
		x = 0 ;
		y = 0 ;
		size = mysize ;
		shootable = true if breakable or false if it's obstacle ;
		maxhp = mymaximalhealth ;
		health = 0 ;
		explode = true if explode when it's broken ;
		exrange = exploderange ;
		exdamage = explodedamage ;
		breakingsound = "materials/wood2.wav" ;
		breakedsound = "materials/burstwood.wav" ;
		imgpath = "gfx/testpo.bmp" ;
			-- Do not change this variables below --
		img = -1 ;
		imgs = -1 ;
	};