Ideas for CS2D - READ THE FIRST POST (OP)!
3,165 replies @
Masea: I'll just take the quick approach of using a timer of 1 millisecond and some quick calculations for now.
Though, a
disconnect should be fairly easy to implement and I would find great use in that for reliability.
EDIT:
Change
Increase the gap between names too, it seems they overlap each other.
EDIT:
Ability to remove and/or change the player name character limit (server config).
EDIT:
voice
Parameters:
p - player attempting to voice chat
Returning 1 will not allow the player to use the voice chat.

Though, a

EDIT:
Change
*dead*
to *DEAD*
on the voice chat bubble so it fits with the text chat.Increase the gap between names too, it seems they overlap each other.
EDIT:
Ability to remove and/or change the player name character limit (server config).
EDIT:

Parameters:
p - player attempting to voice chat
Returning 1 will not allow the player to use the voice chat.
edited 5×, last 09.03.21 06:42:10 pm
fish


Parameters:
p - player attempting to voice chat
Returning 1 will not allow the player to use the voice chat.
This. We need some way to mute specific players rather than disabling voice chat altogether. This should have been implemented along with the VC feature anyways.
@
Elfing:
As far as I know voice is completely client sided so you cannot really control that. At least not like this.

As far as I know voice is completely client sided so you cannot really control that. At least not like this.
@
Marcell: You can control the attempt perhaps, though that could be hacked.
EDIT:
Another benefit of having a
disconnect is that we will be able to execute Lua after the player left and the player ID is no longer used.
That'll allow better management of bots that rely on player count.
EDIT:
equip to have ammoin and ammo parameters.
I really need that!

EDIT:
Another benefit of having a

That'll allow better management of bots that rely on player count.
EDIT:

I really need that!
edited 3×, last 05.04.21 07:31:36 pm
fish
@
Mami Tomoe:
use
equip and then
setammo to equip a weapon and set ammo values of that weapon directly afterwards. I didn't test it but it should work in theory.

use


Another feature would be to return tables in the cs2d_hook:spawn, like this:
This is so we can return items with ammoin and ammo set, to not need timers in spawn hook for things.
Also, perhaps add a forth variable (boolean) that when set to true will also setweapon.
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
function spawn_hook(_)
return { 1, 4, 4 }, { 2, 6, 2 }
end
function spawn_hook(_)
return '1;4;4,2;6;2'
end
function spawn_hook(_)
return '1,4,4', '2,6,2'
end
return { 1, 4, 4 }, { 2, 6, 2 }
end
function spawn_hook(_)
return '1;4;4,2;6;2'
end
function spawn_hook(_)
return '1,4,4', '2,6,2'
end
This is so we can return items with ammoin and ammo set, to not need timers in spawn hook for things.
Also, perhaps add a forth variable (boolean) that when set to true will also setweapon.
fish