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

3,068 replies
Goto Page
To the start Previous 1 2 ... 148 149 150 ... 153 154 Next To the start
21.05.19 08:01:58 pm
Up
When (radar)
Advanced - Detail
is unavailable due to map's size, use
Advanced - Simple
instead of "Map is too large".
21.05.19 08:47:43 pm
Up
Oops321
User
Offline Off
remove bind function for cs2d lua cmd addbind?
if there are overlapped keybinds, it executes twice times.

just in case of using multiple scripts which using same key binds.
Lastest upload : file cs2d fix the collecting (0)
21.05.19 09:13:39 pm
Up
DC
Admin
Offline Off
@user Oops321: That wouldn't solve the problem. A server could unbind crucial client key bindings that way and then the client would have to change the settings manually anyway to deal with it. Also I dislike the idea of servers messing with client settings - even if it's just a temporary thing.

So the best way to tackle this issue is to only use keys in Lua which are not used in CS2D's default config. If people use custom configs and have conflicts they have to manually adjust their config. There is no real way around that.

I could only make these key adjustments easier with a UI which pops up when joining a server with conflicting Lua binds but I REALLY don't want to do that.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
22.05.19 04:09:44 pm
Up
Initial post -
Add return 1 for the spray hook.
Add a way to toggle a player's flashlight (to make better use of when a player can use his flashlight).

Edit 1 -
Add a way to get an image's size (x, y).

Edit 2 -
Add
imageobstacle(img_id, type)

With type being
0 for floor (default)
1 for obstacle
2 for wall
I know this is possible with Lua, but it can get really messy.

Edit 3 -
Consider adding a way to create lights (using light engine) with Lua? The same(ish) way images work:
Code:
1
2
3
4
5
lightadd(x, y, ...)
lightcolor()
tween_lightcolor()
freelight()
...


This list is getting really big
edited 3×, last 23.05.19 05:45:57 pm
26.05.19 02:35:31 am
Up
SQ
Moderator
Online On
@user Goo: Most of the things you mentioned already are achievable.

You can add Lighting Engine lights with "image" command, look it up.

Also you can get image size with some lua API's, but I've already added image size function. Not sure if it's included in the latest patch.
26.05.19 02:41:54 am
Up
Even if it is possible, I could not find it on cs2d.com, and image lights wont actually affect the light engine (?)

Those things need to be documented

Also sv_soundfrom is very important pls add!
26.05.19 06:46:49 am
Up
Oops321
User
Offline Off
user DC has written:
@user Oops321: That wouldn't solve the problem. A server could unbind crucial client key bindings that way and then the client would have to change the settings manually anyway to deal with it. Also I dislike the idea of servers messing with client settings - even if it's just a temporary thing.

So the best way to tackle this issue is to only use keys in Lua which are not used in CS2D's default config. If people use custom configs and have conflicts they have to manually adjust their config. There is no real way around that.

I could only make these key adjustments easier with a UI which pops up when joining a server with conflicting Lua binds but I REALLY don't want to do that.


I think I explained wrong, I didn't mean the issue that script cs2d lua cmd addbind conflict with client's key bindings.

I will write the example code
stuff >
Lastest upload : file cs2d fix the collecting (0)
26.05.19 05:57:35 pm
Up
SQ
Moderator
Online On
@user Goo: oh it is not documented, thought it was.
image("<light>")
It should be there.
http://cs2d.com/help.php?luacat=image&luacmd=image#cmd
26.05.19 06:15:05 pm
Up
Thanks! Can I change the angle though?
Like this in the map editor: IMG:https://i.imgur.com/mFTwOEc.png
26.05.19 06:31:39 pm
Up
panteon00
User
Offline Off
@user Goo: regarding to "sv_soundfrom", there is cs2d cmd sv_soundpos
loading...
26.05.19 06:44:27 pm
Up
I need the sound to follow a player or an image:

Code:
1
2
sv_soundfrom <id> <sfx>
imagesound <id> <sfx>


Maybe volume too...
29.05.19 08:59:47 pm
Up
cyka
User
Offline Off
I don't think this counts as an idea for the actual game, but maybe a steam workshop for CS2D where files will be posted, just like the file archive here should be added.
no u
05.06.19 01:50:12 am
Up
A way to make dynamic walls cover a player without killing him.
That is mostly useful for dynamic floors to simulate bridges without images or settiles.

EDIT:
user Goo has written:
Thanks! Can I change the angle though?
Like this in the map editor: IMG:https://i.imgur.com/mFTwOEc.png

Will this at least be planned?
edited 1×, last 07.06.19 03:08:03 pm
07.06.19 07:03:49 pm
Up
DC
Admin
Offline Off
@user Gaios: What means "cover without killing"? The recommended way to display stuff above the player would be to use cs2d entity env_sprite. Only limitation with this is that you can't use tile graphics unless you provide them as separate image.

@user cyka: Unfortunately this is complicated with BlitzMax but I agree that it would be very cool.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
13.06.19 07:13:37 pm
Up
Stretch for backgrounds in the map editor, since people may use different resolutions.

Edit 1:
For the menu hook, add another parameter "full_title" which will return the entire title including any "special" characters such as:
@b
and
@i
.

Edit 2:
A way to forcefully close any open menu that a player may have opened, similar to the
@i
parameter for the
menu
function just without the actual invisible menu preventing control until ESC is pressed.

Such as:
Code:
1
2
3
4
removemenus(p1, p2)

P1 - Player
P2 - true/false (or 0/1) - Return as if the player pressed cancel or not?


Edit 3:
By default a setting should be set to false, the setting would do the following:
Show extra informational codes in the console?
It will basically prevent people from seeing
(R)gfx... or (C)255255...
in the console when copying/viewing it.

It should be disabled because that's how it has always been yet in the last couple versions when you copy colored text from the console you copy the color tags with it, which can get annoying if not intended (same for image tags).
edited 3×, last 25.06.19 10:33:09 am
25.06.19 10:32:04 pm
Up
Berke8
User
Offline Off
an actual way to see usgn and steam id on leaderboards
ye
26.06.19 06:14:38 am
Up
@user Berke8: right click on their name and choose open profile.
It's in the URL.
03.07.19 08:58:06 pm
Up
LiME1516
User
Offline Off
Delete Quick Play from the main menu, it kills the game.
S.T.A.L.K.E.R. RP - https://discord.gg/SAvu9cB
09.07.19 06:57:44 pm
Up
A new hook:

Name: action (?)
Parameters: (int) player_id, (int) action_id
Returns: none.

Description:
The hook will solve a problem where the only way to know if a player has opened the chat is to add a bind to the default chat button, that wont work if the player uses a different bind.
This applies to all actions (such as say, team-chat, console, escape, server-info, player-table, ETC.)
09.07.19 07:30:55 pm
Up
DC
Admin
Offline Off
@user Goo: The server is not aware of most of these actions (because it doesn't need to be). Therefore there can't be a hook without causing additional traffic and I don't really want to send additional messages for these actions.

@user LiME1516: I highly doubt that the quick play feature has any negative impact and I won't remove it.
The only problem are people running servers with custom Lua and tons of custom sounds and graphics as quick play servers. This stuff kills the game. Not the quickplay feature itself.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
To the start Previous 1 2 ... 148 149 150 ... 153 154 Next To the start