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

3,017 replies
Goto Page
To the start Previous 1 2 ... 84 85 86 ... 150 151 Next To the start
31.08.15 01:14:41 pm
Up
gamus
User
Offline Off
return 1 on attack hook?
31.08.15 01:24:09 pm
Up
DC
Admin
Offline Off
@user 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.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
31.08.15 02:35:35 pm
Up
Mora_rus
User
Offline Off
@user DC: whatever, it was my idea only. Anyway it's will be nice feature, i think..
S.T.A.L.K.E.R. - The Lost Land dev. https://discord.gg/aABCkHQ
31.08.15 04:37:13 pm
Up
sayori
User
Offline Off
What about when you stand on weapon you hit [E] and it will pick that weapon, if there are alot of weapons on that tile it will pick strongest one.
IMG:http://steamsignature.com/status/default/76561198159469713.png
IMG:http://steamsignature.com/AddFriend.png
31.08.15 06:44:24 pm
Up
PyKemis
User
Offline Off
@user sayori: Lua can do this √

on cs2d lua hook collect: return 1
on cs2d lua hook use: cs2d cmd equip the best weapon within cs2d lua cmd closeitems(id, 0) then cs2d cmd removeitem

@user gamus: I think the only feasible option is what user Starkkz suggested, to use a toggle, setclickmode.
31.08.15 07:50:51 pm
Up
Starkkz
Moderator
Offline Off
Lua commands:

Code:
1
imageparent(what_image, to_what_image)

Parenting images to other images would make their position local to the image they were parented to (useful in case that you don't want to send a overhead of UDP messages to move 300 images at once?).

Also
Code:
1
imagetext(what_image, x_offset, y_offset, rotation_offset, text, r, g, b, a)

To be able to display a text which would be parented to a image aswell, so you won't be running out of hud text slots especially if you're running scripts from different sources in the same Lua state.

x_offset, y_offset, rotation_offset should only act as offset values according to the position/rotation of the original image.
lol
31.08.15 08:02:46 pm
Up
Fraizeraust
Moderator
Offline Off
You should consider adding "Copy Input", "Paste Input" and the rest of these that I did not mention in my reply on the CS2D Console for Linux systems. I have to deal with "Clear Input" button only on console, so miserable.
31.08.15 08:57:25 pm
Up
Black Wolf
User
Offline Off
user Fraizeraust has written:
Whenever 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
come 1n1 skype
31.08.15 09:34:46 pm
Up
sayori
User
Offline Off
user PyKemis has written:
@user 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
IMG:http://steamsignature.com/status/default/76561198159469713.png
IMG:http://steamsignature.com/AddFriend.png
01.09.15 09:30:04 am
Up
PyKemis
User
Offline Off
@user 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.
01.09.15 09:46:03 am
Up
sayori
User
Offline Off
@user PyKemis: 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.
IMG:http://steamsignature.com/status/default/76561198159469713.png
IMG:http://steamsignature.com/AddFriend.png
01.09.15 03:38:32 pm
Up
Rainoth
Moderator
Offline Off
@user PyKemis: Countless times, unfortunately.
02.09.15 05:15:43 am
Up
Starkkz
Moderator
Offline Off
I suggest CS2D not to block lua51.dll nor lua5.1.dll from it's working directory because those are necessary files to work with dynamic modules.
lol
02.09.15 05:42:26 am
Up
Boolean
GAME BANNED
Offline Off
I suggests to add command like "setrotation <id> <rot>".
Because i wan't admin's aim on my admin script.
02.09.15 05:54:41 am
Up
Goo
User
Offline Off
@user Boolean: because no one will report your admins for using Aim-Bot hack...
03.09.15 05:57:07 pm
Up
Mora_rus
User
Offline Off
S.T.A.L.K.E.R. - The Lost Land dev. https://discord.gg/aABCkHQ
06.09.15 07:16:57 pm
Up
Nekomata
User
Offline Off
A separate value save in userstats.dat for the amount of other scores players have achieved in the map. Like bombdefuse, plant, flag, domination, etc. Yes, one can simply get the values of those with something such as this:
Code:
1
print('Other Score: '..tonumber(player(id, "score"))-tonumber(player(id, "frags")))

Except there is a score bugs which makes the amount of other scores the user had irretrievable and therefore if you had to patch the score, it would just be this formula:
Code:
1
(frags*2)-deaths

instead of
Code:
1
(frags*2)+otherScore-deaths

Which ofcourse, patches the score but the player loses all the other score he got.
Therefore, adding a new return hook value and a save of otherscores would solve this problem with something like this:
Code:
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.
08.09.15 01:48:36 pm
Up
Evaldas
BANNED
Offline Off
How about more tiles?
Destroying children's dream's, since 2012..
08.09.15 02:09:06 pm
Up
Masea
Super User
Offline Off
@user Mora_rus: Oh my god, you are so much right at here.
Create your UI easy and fast: UI Framework | Go deeper into the darkness and test your bravery: file cs2d Outlast 2 Modification (27)
08.09.15 07:00:09 pm
Up
Black Wolf
User
Offline Off
user Evaldas has written:
How about more tiles?

can download from others
come 1n1 skype
To the start Previous 1 2 ... 84 85 86 ... 150 151 Next To the start