Beta 0.1.2.0 Suggestions & Ideas
1,972 replies
Wtf?
You can't make a hook BEFORE something.
Because cs2d cant see in future
You can't make a hook BEFORE something.
Because cs2d cant see in future

i think he means when u click left buton that shit happens.

I need some hook like "attack" hook, but actually BEFORE player attacks. I mean, "attack" hook works AFTER player attacks, so, if player shot HE, that HE will be gone when hook "attack" activates. For example, player shoots HE, and function player(id,"wpntype") in hook "attack" will return weapon player got AFTER he shot that HE. And, if that hook is going to be added, add a return cmd:
1 - don't shoot
0 - proceed normally.
P.S. damn, why did I make such a long post?
1 - don't shoot
0 - proceed normally.
P.S. damn, why did I make such a long post?

imho: bad idea, that will cause lags

Maybe a command to prevent them from shooting.
Code:
1
setAttackState(id,1/0)
it should be easier than having to add a completely new function; all you would really have to do is disable the "attack"-command for the Player. Not sure if there is a function for that, though.
Hador
Return types are for commands that await confirmation from the server--such as talking, radio, and other actions.
Attacking shouldn't be one of the actions, reason is because any gun that shoots fast will be delayed because of the "confirmation" it must past first.
A simple toggle function is good enough as it will only send one packet.
Attacking shouldn't be one of the actions, reason is because any gun that shoots fast will be delayed because of the "confirmation" it must past first.
A simple toggle function is good enough as it will only send one packet.
i hav another idea, while some1 is talking, they should hav a speech bubble or somthing over them so ppl no
oo so a typing hook...
ex.
It's triggered when a user opens [z] chat box and starts typing...
ex.
Code:
1
addhook("typing","_typing")
It's triggered when a user opens [z] chat box and starts typing...
Will be more better if
DC will change the 2D engine.Like:make effects from Carnage contest,live objects or some thing like that...


oo so a typing hook...
ex.
It's triggered when a user opens [z] chat box and starts typing...
ex.
Code:
1
addhook("typing","_typing")
It's triggered when a user opens [z] chat box and starts typing...
yeh it shud happen anyway, and yay to moar effex

no, b4 they say somthing, while theyre typing
Would be good when someone is going to kill you. But let's you talk first.
(Happens to me a lot).
omg would be epic for an anti-talk kill--but would be abused
my suggestion: ability to get mp_building_price & mp_building_time w/ game().

my suggestion: ability to get mp_building_price & mp_building_time w/ game().
Would be great if Lua was more like Pawn (Or Pawno).
(Go look at it, it's simple).
But then I guess you wouldn't be able to do a lot of stuff with it.
(Go look at it, it's simple).
But then I guess you wouldn't be able to do a lot of stuff with it.
CS2D Missions? Nice isn't it?
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV

CS2D Missions? Nice isn't it?
But you can make them now. Nice, isn't it? Ever heard of map editor? It's in CS2D menu, you should probably check it out.