
Forum






There is already no player on CT1 but HB stopped there. In fact HB should be under center of word "HB2" on image.

hl1 strooper
hl1 bullsquid
hl1 pit drone
hl1 gargantua
hl2 ant
hl2 poison headcrab
hl2 fast zombie
...
OR
Can you write a script, which improves intelligence of standard NPCs?
I can help you with it.

the scientist:you can follow and can give you life if you need it


Like any entity set : 'headcrab,hp20'
Can you make easy editing npc?

You can use my npc images:
http://www.unrealsoftware.de/files_show.php?file=15029
edited 1×, last 01.02.14 10:25:43 am

and can you make soldier is friend with ct
good lua
sorry when my english is bad

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
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
airstrike = {} airstrike.throw = {} for id = 1, 32 do 	airstrike.throw[id] = {} 	airstrike.throw[id].state = false 	airstrike.throw[id].x = 0 	airstrike.throw[id].y = 0 end local hooks = {"clientdata", "attack", "always"} for key, hook in pairs (hooks) do 	addhook (hook, "airstrike." .. hook) end function airstrike.clientdata (id, mode, data1, data2) 	if (mode == 2) then 		airstrike.throw[id].x = ((data1 / 32) - 16) 		airstrike.throw[id].y = ((data2 / 32) - 16) 	end end function airstrike.attack (id) 	if (airstrike.throw[id].state) then 		airstrike.throw[id].state = false 		 		parse ("spawnnpc 5 " .. airstrike.throw[id].x .. " " .. airstrike.throw[id].y .. " " .. math.random (1, 360)) 	end end function airstrike.always () 	for key, id in pairs (player (0, "table")) do 		if (player (id, "weapontype") == 76) then 			if (not airstrike.throw[id].state) then 				airstrike.throw[id].state = true 			end 		else 			airstrike.throw[id].state = false 		end 	end end