Ideas for CS2D - READ THE FIRST POST (OP)!
3,215 replies @
cs2d_is_a_Gem: use the spec hook to count how many players are looking at a specific player?

Look at me standing, here on my own again
That makes sense, I did not realize that this can be done with lua, next time I will be more careful
18.12.19 06:27:48 pm
Add a option to FoW "Perfect"
A Fog of War with "Perfect System". Using the system of Lantern (Lightning)
A Fog of War with "Perfect System". Using the system of Lantern (Lightning)
On the die/kill hook for when a player changes team, make the killer a special ID that indicates that he changed a team such as 200 for SPEC, 201 for T, 202 for CT and 203 for VIP (if that ever happens).
Really helpful for me.
__________________________________________________
Add a Lua command:
Which will return if the given player has any menus open such as:
ESC, Console, Say box, ETC.
That will NOT include the server sided menus created by
Add Lua command:
Which will close all server sided menus with the return code for the menu hook of -1, this will not break older scripts since they will never use that Lua command.
Reconsider upgrading to a newer version of Lua? No? OK, boomer.
__________________________________________________
Add something like:
0 - default, kick spectators with too high ping
1 - ignore high ping spectators (as they may be still connecting/downloading server data, etc)
Really helpful for me.
__________________________________________________
Add a Lua command:
has_open_menus(p)
Which will return if the given player has any menus open such as:
ESC, Console, Say box, ETC.
That will NOT include the server sided menus created by
menu()
.Add Lua command:
close_menus(p)
Which will close all server sided menus with the return code for the menu hook of -1, this will not break older scripts since they will never use that Lua command.
Reconsider upgrading to a newer version of Lua? No? OK, boomer.
__________________________________________________
Add something like:
sv_pinglimit_spec [0/1]


edited 2×, last 26.12.19 03:08:08 pm
Look at me standing, here on my own again
26.12.19 05:40:02 pm
add a hook scoreboard
with 2 return values: false or true
if false the default scoreboard don't shows to player.
if true the default scoreboard shows to player.
with the parameters: player (Player who accessed the scoreboard)
AND
Add the hook. serverinfo.
Will run if one player press F1 or in mainmenu serverinfo.
with 2 return values: false or true
if false : will show the default serverinfo.
if true : will make nothing....
with the parameters: player (Player who tried access the serverinfo)
with 2 return values: false or true
if false the default scoreboard don't shows to player.
if true the default scoreboard shows to player.
with the parameters: player (Player who accessed the scoreboard)
AND
Add the hook. serverinfo.
Will run if one player press F1 or in mainmenu serverinfo.
with 2 return values: false or true
if false : will show the default serverinfo.
if true : will make nothing....
with the parameters: player (Player who tried access the serverinfo)
edited 1×, last 26.12.19 09:15:08 pm
@
DadsamG: These are purely client-sided actions. The server is not involved. Therefore we can't add hooks with return values (which have to run on the server) without adding network traffic and additional delays. I really don't want to do that because it would lead to a bad experience. Sorry.

@
DC:
DC has written:
So one cannot create these hooks. so you need some server convar that prevents the player from accessing the score. and another one that prevents the automatic message if the server does not have a serverinfo.txt
Convars Suggestions:
if 0: will allow the serverinfo
if 1: will disable the serverinfo. but shows that the server does not allow access to server information
if 2: will disable the serverinfo. without alert
}


@
DadsamG: These are purely client-sided actions. The server is not involved. Therefore we can't add hooks with return values (which have to run on the server) without adding network traffic and additional delays. I really don't want to do that because it would lead to a bad experience. Sorry.

So one cannot create these hooks. so you need some server convar that prevents the player from accessing the score. and another one that prevents the automatic message if the server does not have a serverinfo.txt
Convars Suggestions:
sv_disablescoreboard <0 or 1>
sv_disableserverinfo <0, 1 or 2>
{if 0: will allow the serverinfo
if 1: will disable the serverinfo. but shows that the server does not allow access to server information
if 2: will disable the serverinfo. without alert
}
Code:
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
maybe can be create with the conditions:
< When press TAB>
IF server:convar ("sv_allowscoreboard") == 1 DO
<Code to show the scoreboard>
ELSE
<DO NOTHING...>
ENDIF
The same thing with serverinfo
< When press TAB>
IF server:convar ("sv_allowscoreboard") == 1 DO
<Code to show the scoreboard>
ELSE
<DO NOTHING...>
ENDIF
The same thing with serverinfo
Preset pointer models and colors just like spraylogos. Take a look on this super mspaint-made example.
http://prntscr.com/qjv95o
http://prntscr.com/qjv95o
CS2DBR @ Comunidade Brasileira de CS2D | https://cs2d.com.br

Preset pointer models and colors just like spraylogos. Take a look on this super mspaint-made example.
http://prntscr.com/qjv95o
http://prntscr.com/qjv95o
An actual good idea to bring some fresh in-game experience, perhaps need some fixing but your pointers are looking real good.
Ability to change weapon range, since xm1014 is nerfed as fck, shotgun should not deal 70 damage in total and having range approximately 2 tiles!! M3 is op and nobody using xm anymore!
Or at least these two weapons should be balanced better, having longer range and damage that they deal might be lowered with distance. Eventually most shotguns are very effective on 9-13 meters long. Right now m3 having adequate range lol like 5-6 tiles far, but still for a normal shotgun is bad, moreover xm is having like 60 pixels range.. is not even funny
Ability to change flashlight, the one we having is lighting Through walls, it covers everything on the map, everybody is able to see you from long far away on dark maps in case you having forced light, is not a right thing, it should stop at least on the first wall or at least not lights them at all.
Is too big, should be able to change somehow it's range and look(even if not individually, then at least for everyone on server).
Since we having this flashlight farther than your screen height, others are available to see you first on a twice long distance.
Or at least these two weapons should be balanced better, having longer range and damage that they deal might be lowered with distance. Eventually most shotguns are very effective on 9-13 meters long. Right now m3 having adequate range lol like 5-6 tiles far, but still for a normal shotgun is bad, moreover xm is having like 60 pixels range.. is not even funny
Ability to change flashlight, the one we having is lighting Through walls, it covers everything on the map, everybody is able to see you from long far away on dark maps in case you having forced light, is not a right thing, it should stop at least on the first wall or at least not lights them at all.
Is too big, should be able to change somehow it's range and look(even if not individually, then at least for everyone on server).
Since we having this flashlight farther than your screen height, others are available to see you first on a twice long distance.
Commands for client:
/mutechat <id> - a switch
/mutevoice <id> - a switch
/mutechat 0 - everyone - a switch
/mutevoice 0 - everyone - a switch
/mute <id> - everything - a switch
/mute 0 - everyone and everything - a switch
/mutechat <id> - a switch
/mutevoice <id> - a switch
/mutechat 0 - everyone - a switch
/mutevoice 0 - everyone - a switch
/mute <id> - everything - a switch
/mute 0 - everyone and everything - a switch
Look at me standing, here on my own again
A dedicated function for
hudtxt-related functions because poor
parse double-quote and semicolon handling. Either the handling needs to be fixed or new hudtxt functions (not in parse) or both.




@
Mami Tomoe: You can quickly mute chat and voice for someone using scoreboard, just RMB on nickname so not sure if commands are necessary.
Anyways my ideas:
Possibility to enable/disable silencer while freeze time
Any chance for free look only for spectators team==0 in Own Team only mode? I'm sorry for repeating this :v

Anyways my ideas:
Possibility to enable/disable silencer while freeze time
Any chance for free look only for spectators team==0 in Own Team only mode? I'm sorry for repeating this :v
A new image function (I couldn't find a name) that has parameters as
This would be really useful for things such as custom square minimaps.
id, startX, startY, width, height
. When used, only the specific region of the image will be rendered. For example, let's say we have a 32x32 image. If I set the parameters as startX: 16, startY: 16, width: 16 and height: 16, the image's only right bottom part will be rendered. Here is a screenshot explaining it a bit more: https://prnt.sc/qqgccj (the red part is where is rendered)This would be really useful for things such as custom square minimaps.
Shit your pants:
Outlast II Mod (29) | Create your UI faster: CS2D UI Framework


entity FOW:
used to make specific area to be covered with fow/
Like it would help to make bushes that you can go through and bullets too, bu cannot see after it. Or other things.
Should be able to toggle it same as a state and ability to change offset for comfortable mapping.
used to make specific area to be covered with fow/
Like it would help to make bushes that you can go through and bullets too, bu cannot see after it. Or other things.
Should be able to toggle it same as a state and ability to change offset for comfortable mapping.
@
Mora: Would be awesome to get such via Lua too.

When hovering over a player as a spectator his color will be blue / red depending on their team, rather than yellow.
On death match mode, it will be green for all teams.
On death match mode, it will be green for all teams.
Look at me standing, here on my own again
AWP and knife:
If AWP attacks once, it will not attack the second time for a long time. Switching other weapons will do the same. Can DC shorten this time a little?
knife Right click is the same。
and Steam invites friends can join the server where you are。
@DC
Sorry my bad English
If AWP attacks once, it will not attack the second time for a long time. Switching other weapons will do the same. Can DC shorten this time a little?
knife Right click is the same。
and Steam invites friends can join the server where you are。
@DC
Sorry my bad English
CS2D Chinese Station(CS2DCN) Founder。Chinese language translation submitter!As you see,We are the second largest player group of CS2D! | Our Discord