Forum

> > CS2D > General > Ideas for CS2D - READ THE FIRST POST (OP)!
Forums overviewCS2D overviewGeneral overviewLog in to reply

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

3,231 replies
Page
To the start Previous 1 2104 105 106161 162 Next To the start

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

Waldin
User Off Offline

Quote
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.
edited 4×, last 15.07.16 11:34:02 pm

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

Baloon
GAME BANNED Off Offline

Quote
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.

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

sonkii
User Off Offline

Quote
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.
edited 4×, last 16.07.16 12:09:05 pm

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

Masea
Super User Off Offline

Quote
@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

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

Baloon
GAME BANNED Off Offline

Quote
@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
edited 1×, last 16.07.16 04:27:17 pm
To the start Previous 1 2104 105 106161 162 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview