Forum
General
Ideas for CS2D - READ THE FIRST POST (OP)!
gamus: Lua scripts are running on the server only. So if you would want to cancel attacking dynamically using Lua scripts it would have to work like this:
Client: Send attack request to server, wait for response.
Server: Receive and process request, execute Lua scripts and send corresponding response depending on Lua return value.
Client: Receive the response and either show attack FX or not.That works in theory but it would mean that every single attack would have a delay of at least a few milliseconds (and much more when you have a bad ping). This would feel extremely strange and unresponsive.
So with the current system it's impossible to do that in a way that feels good. Sorry.
DC: whatever, it was my idea only. Anyway it's will be nice feature, i think..
sayori: Lua can do this
on
collect: return 1on
use:
equip the best weapon within
closeitems(id, 0) then
removeitem@
gamus: I think the only feasible option is what
Starkkz suggested, to use a toggle, setclickmode. 1
imageparent(what_image, to_what_image)
Also
1
imagetext(what_image, x_offset, y_offset, rotation_offset, text, r, g, b, a)
x_offset, y_offset, rotation_offset should only act as offset values according to the position/rotation of the original image.
GeoB99 has writtenWhenever you are equipped with Stealth Suit, the bots can't see/attack you unless you start shooting at them or doing too much footsteps. Same as for the Smoke Grenade, when I am hidden in a smoke the bots can't see you as long you don't shot at them or going out from the smoke.
Not good idea tho, will be way too easy to hide
Apache uwu has written@
sayori: Lua can do this 
sayori: Lua can do this 
I hate when someone says that, it would be better with that option in game, not just in one server
sayori: I don't think it would be better if every server was like that. You're changing a major function in the game. And what if there is a button next to a pile a weapons? Trigger the button or pick up a weapon?@topic: Has a mouse click hook been asked already? It'd be nice for custom menus, because using the attack hook only works when the player is alive, and the serveraction buttons aren't as accessible as the mouse buttons.
Apache uwu: I tought to be an option for players, for those who like to play competetive Counter-Strike it would be sweet with that option. Easy to pick weapon while you are surrounded and to try to destroy them and save the day.
Apache uwu: Countless times, unfortunately. Because i wan't admin's aim on my admin script.
Baloon: because no one will report your admins for using Aim-Bot hack... 1
print('Other Score: '..tonumber(player(id, "score"))-tonumber(player(id, "frags")))
1
(frags*2)-deaths
1
(frags*2)+otherScore-deaths
Therefore, adding a new return hook value and a save of otherscores would solve this problem with something like this:
1
print('Other Score: '..tonumber(player(id, "otherscore")))
A bug like this occurs on major servers. I had to patch over 50 erroneous bugged scores of users like this. Except ofcourse, without their otherscores.
Mora: Oh my god, you are so much right at here.
Evaldas has writtenHow about more tiles?
can download from others
Ideas for CS2D - READ THE FIRST POST (OP)!


Offline


