Forum

> > CS2D > Mods > NPC Pack: Ideas
ForenübersichtCS2D-Übersicht Mods-ÜbersichtEinloggen, um zu antworten

Englisch NPC Pack: Ideas

70 Antworten
Seite
Zum Anfang Vorherige 1 2 3 4 Nächste Zum Anfang

alt Re: NPC Pack: Ideas

useigor
User Off Offline

Zitieren
Positions of HB and CT before HB jump = HB1 and CT1; After HB jump = HB2 and CT2.
IMG:https://s020.radikal.ru/i710/1310/48/8a5fcff3a31c.jpg

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

alt Starkkz,

Pagyra
User Off Offline

Zitieren
Can you do full pack monsters of Half-life?
IMG:https://unrealsoftware.de/u_scr/u87cd_4d93a32fs1.jpg

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.

alt Re: NPC Pack: Ideas

Starkkz
Moderator Off Offline

Zitieren
@user Pagyra: It's impossible to modify NPCs without hex-editing, which is something illegal. But I can script some of these NPCs that you listed.

alt Help NPC

Agustindz23
User Off Offline

Zitieren
security personnel: follow and he can shoot the other NPC(Zombie, Agrunt, HeadCrab, Snark and others)
the scientist:you can follow and can give you life if you need it

alt Re: NPC Pack: Ideas

useigor
User Off Offline

Zitieren
user Starkkz, please, make snark script. Same as standard but he dies after 10 seconds and moves in random directions for random time.

alt Re: NPC Pack: Ideas

iLoveUS
User Off Offline

Zitieren
Team NPC, for example a "soldier" NPC is on CT team, so they will only attack Terrorist and they won't attack CT.

alt Re: NPC Pack: Ideas

RisingXD
User Off Offline

Zitieren
I would like npc that can be spawn using map editor.
Like any entity set : 'headcrab,hp20'
Can you make easy editing npc?

alt Cow, sheep, pig

AlcatrazZ
BANNED Off Offline

Zitieren
I need NPC who walk and not attack. I will be grateful if you add NPCs such as cow, sheep, pig. It would be nice to see that when someone attacks NPC, these NPC will run like in the script EngiN33era.

alt Re: NPC Pack: Ideas

Pagyra
User Off Offline

Zitieren
Using a lua you can make standard NPCs be anyone, i can help you with it to make more NPCs type without hex-editing.

alt Re: NPC Pack: Ideas

DarkNeko
User Off Offline

Zitieren
can you make air strike is spawn soldier
and can you make soldier is friend with ct
good lua

sorry when my english is bad

alt Re: NPC Pack: Ideas

Dousea
User Off Offline

Zitieren
@user DarkNeko: It can be done with Lua:
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
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
Not tested. It should work.
Zum Anfang Vorherige 1 2 3 4 Nächste Zum Anfang
Einloggen, um zu antworten Mods-ÜbersichtCS2D-ÜbersichtForenübersicht