Forum

> > CS2D > General > Ideas for CS2D - READ THE FIRST POST (OP)!
Forums overviewCS2D overviewGeneral overviewLog in to reply

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

3,231 replies
Page
To the start Previous 1 2150 151 152161 162 Next To the start

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

Mami Tomoe
User Off Offline

Quote
Ability to mute a player locally (prevent receiving his text messages).

According to your configuration the messages will (by default) only be shown in the console, but that should be possible to disable as well.

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

ImCloudy
User Off Offline

Quote
Rework lua functions.
For example timer and freetimer.

- Timer should return timer id (some handle id)
freetimer should remove timers by its id not the function and parameter. Function name can be optional, depending if value is integer or string.

- Images which are renderer and fixed over player should have some ability to have positional offset.

- I think I was year ago mentioning something about primitives (primitive rendering functions), I think this would be also good thing to have.

- Hook for dispenser heal

- some console commands still wants player name instead of player id or player name as it is in different commands. Same for weapon commands.

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

Mami Tomoe
User Off Offline

Quote
A third parameter for the Lua parse function being:

Name - Output type
Inputs - 0,1,2

0 = Default - Print to console
1 = Print to chat
2 = Don't print

0 >
That's what we currently have and will stay the default.

1 >
That's useful for debugging purposes, not 100% needed but still a cool feature.

2 >
This would be useful in case I'd like to place a building somewhere without caring if it works or not.
So I wont have to check if it's a good spot for a building and have CS2D check thereafter, costing performance.
I'd like to only use the CS2D check but I don't want an error as the output, because having no building spawn is also an option in my code.

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

ImCloudy
User Off Offline

Quote
@user Mami Tomoe: No, @user Gaios: said, that you can make your own wrapper with that parameter, not that the function actually exists.

Edit: Ok now I understand, but still, there's no reason to hide the errors, to be honest here, you need these errors... Errors are not meant to be hidden. Try-catch is basically used when exception can occur, but it won't affect the application. In your case, you must make your own checker, because the performance will be affected anyway. You'll affect the performance just earlier than the parse will do.

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

Mami Tomoe
User Off Offline

Quote
Spawning a building without caring if it spawns or not:


Your idea:
Can it spawn? Spawn it.
Spawn it = CS2D checks if it can spawn and then spawns it.


My idea:
Spawn it.
CS2D checks if it can spawn and then spawns it, ignores errors because I don't care.


Why check twice?




EDIT:
Why does
makect
and
maket
kill the player?
This seems like a bad decision, makes a custom team balance bad.
How about
spawnct
and
spawnt
?
edited 2×, last 16.09.19 02:15:43 pm

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

_Lima_
User Off Offline

Quote
Add full support for the Russian language, the ability to translate the server description, chat messages caused by the script, colored text, the use of the Cyrillic alphabet in scripts / console. My God, the Russian-speaking community is very large, why not add this!

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

cs2d_is_a_Gem
User Off Offline

Quote
I would like developers to have the option to disable the default way to make purchases, this way we can create graphic menus and it would work perfect.

investigate and I didn't find a way to disable the B buttons among others, in a new update it would be good if you could edit a server in this way, ispossible?

old Suggestion For The Next Update

cs2d_is_a_Gem
User Off Offline

Quote
::::::::::::Suggestion For The Next Update::::::::::::
I am looking to be able to close a Window like this through commands.


Although I shouldn't, I managed to do it with this code.(this also closes the windows of the clients that enter the server).

Code >


This makes the following menu appear:


My suggestion is to create a hook or a return value that closes this menu at will a few milliseconds after it appears.
This is not a stupid request since several players look for this, to include it in their servers.

the hook or return value must be compatible with this
1
menu(1,"Hidden@i,b1,b2,b3")
1
menu(id,'b1')

this will add a lot of combinations for the servers, well not really so many, but at least we can program timer to buy and that the menu works or not within time periods and more.

remember that axecibility is good!

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

Hajt
User Off Offline

Quote
If I understand correctly you need something which make server able to close client menu? Right?

If so then simple lua command would enough
closemenu(id)
and parameter id is player id because you can open max 1 menu at once. I don't know why you request for hook or return value...
To the start Previous 1 2150 151 152161 162 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview