Forum

> > CS2D > General > Ideas for CS2D - READ THE FIRST POST (OP)!
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Ideas for CS2D - READ THE FIRST POST (OP)!

3.231 Antworten
Seite
Zum Anfang Vorherige 1 2104 105 106161 162 Nächste Zum Anfang

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Waldin
User Off Offline

Zitieren
How make lua hooks for CS2D NPCs if it doesn't have NPCs!
Please explain yourself again
Edit: after see my post, omg how wrong im, poor hostages (and also AI).
Edi20x: omg srs waldin? poor soldiers zombies,etc.
4× editiert, zuletzt 15.07.16 23:34:02

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Baloon
GAME BANNED Off Offline

Zitieren
I think this is pretty good idea,
how about disabling cursor when you use sniper without scope?
And I don't know if someone already suggest this idea, and I am not sure LUA can do this.

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

sonkii
User Off Offline

Zitieren
There's already have default npcs.Also,the hostages ai must like in condition zero AI?Nope.On the other hand,hostages are "not" NPCs.They have their own entities.

PS:I mean add some cs2d lua cmd addhook for NPCs not add new NPCs lol.

P.s.s:CS2d will became CSCZ2D if hostages use CZ AI.

P.S.S.S:My lastest idea is useful for order the npc move to some places,edit their damage or anything.

If my lastest idea was pretty lame,one note,ignore.

Other than related on cs2d NPCs,we need more hooks.
4× editiert, zuletzt 16.07.16 12:09:05

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Masea
Super User Off Offline

Zitieren
@user sonkii: Dude seriously, look one more time before suggesting new idea if it is needed or useless. You can see the tilex and tiley in editor, already. So, you can get x and y coordinates by using calculator;
x = tilex*32+16
and
y = tiley*32+16

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Baloon
GAME BANNED Off Offline

Zitieren
@user Masea: I don't have much to say, but maybe this calculation works better than yours...
1
2
3
4
5
6
tx = player(id,"tilex")
ty = player(id,"tiley")
xx = tx*32+16
yy = ty*32+16
x = math.floor(xx)
y = math.floor(yy)
Use tx an ty for tilex and tiley.
and I haven't test it yet, I use my phone.

Edit: wrong
1× editiert, zuletzt 16.07.16 16:27:17
Zum Anfang Vorherige 1 2104 105 106161 162 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht