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

3,165 replies
Goto Page
To the start Previous 1 2 ... 158 159 Next To the start
02.02.21 12:42:59 pm
Up
Mami Tomoe
User
Offline Off
@user Masea: I'll just take the quick approach of using a timer of 1 millisecond and some quick calculations for now.

Though, a cs2d lua hook disconnect should be fairly easy to implement and I would find great use in that for reliability.


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:
cs2d lua hook voice
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
09.03.21 06:47:37 pm
Up
Elfing
User
Offline Off
user Mami Tomoe has written:
cs2d lua hook voice
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.
10.03.21 08:23:00 pm
Up
Marcell
Super User
Offline Off
@user Elfing:

As far as I know voice is completely client sided so you cannot really control that. At least not like this.
10.03.21 08:24:04 pm
Up
Mami Tomoe
User
Offline Off
@user Marcell: You can control the attempt perhaps, though that could be hacked.

EDIT:
Another benefit of having a cs2d lua hook 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:
cs2d cmd equip to have ammoin and ammo parameters.
I really need that!
edited 3×, last 05.04.21 07:31:36 pm
fish
05.04.21 09:42:09 pm
Up
DC
Admin
Offline Off
@user Mami Tomoe:
use cs2d cmd equip and then cs2d cmd 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.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
05.04.21 09:57:15 pm
Up
Mami Tomoe
User
Offline Off
Another feature would be to return tables in the cs2d_hook:spawn, like this:

Code:
1
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


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
To the start Previous 1 2 ... 158 159 Next To the start