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 2160 161 162 Nächste Zum Anfang

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

Mami Tomoe
User Off Offline

Zitieren
It would be so amazing if there was a hook for when a player opens and closes their chat.

cs2d lua hook chattoggle(p, state)

It'll allow for many cool chat modifications such as skins or even the ability to disable the chat key completely if a return value will also be accepted.

Furthermore there are many cases where knowing if someone's chat is open could benefit in custom game modes.

Such as, but not limited to:
Allowing players to know that someone is typing a message and isn't AFK.

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

Mami Tomoe
User Off Offline

Zitieren
cs2d lua hook team should have an additional parameter signalling why the team change has occurred.

1
2
3
4
5
state = 0 // Client requested
state = 1 // Server requested (command like cs2d:makespec)
state = 2 // Server requested (cs2d:mp_autoteambalance)
state = 3 // Server requested (turning zombies to survivors or favourite team or whatever else can happen)
...

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

Rattle189
User Off Offline

Zitieren
Option to clamp the cursor to the CS2D window. It can get annoying using a multi-monitor setup.

Maybe an env_door that can either be animated or works similarly as a cs2d entity func_dynwall, at least I wish there was a way to set an open and close sound effect that you can define.
1× editiert, zuletzt 26.12.21 13:54:31

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

Mami Tomoe
User Off Offline

Zitieren
Please allow for cs2d cmd hudtxtalphafade, cs2d cmd hudtxtcolorfade and cs2d cmd hudtxtmove to be used without delay.

Similarly to how images have regular functions and tween functions, when the time given is 0, it should happen within the same frame, rather than the next frame.

For backwards compatibility, you can also allow for -1 for no delay, but honestly this could arguably be considered a bug.

-----

cs2d lua hook tick hook
Called every frame.
Additionally, mark the cs2d lua hook always hook as deprecated.

cs2d lua hook player_mouse hook
Will be called every time a player moves their mouse, some limitations may be applied (such as only calling this every 5/10 frames with the updated values (if anything changed)).
Will be useful for GUI based scripts (avoid calling the cs2d lua cmd player function on an cs2d lua hook always hook to get the mouse positions).
There could be two versions for this hook, one for on map position and the other for on screen position.
Or, give all values within the same hook.
1× editiert, zuletzt 26.02.22 17:56:32

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

Kolia_rus
Security Supporter Off Offline

Zitieren
Make Copy & Paste commands work like they supposed to do. As for now, when I do Ctrl+V, it removes the whole text content and then pastes what it should. This is too annoying, I never saw this in any other software. And copying something (e.g. server IP from the servers list) sometimes just cleans the clipboard, I did not find any regularity in this so most likely it happens randomly.

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

Mami Tomoe
User Off Offline

Zitieren
user Kolia_rus hat geschrieben
I did not find any regularity in this so most likely it happens randomly.

Fairly certain that copying server data (such as IP or IP+name) will only work every odd time.
The first time would work, the second wouldn't, the third will, ...
Zum Anfang Vorherige 1 2160 161 162 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht