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

3,081 replies
Goto Page
To the start Previous 1 2 ... 151 152 153 154 155 Next To the start
31.10.19 11:15:39 pm
Up
M3_Quick
User
Offline Off
I need to use timers that close and open the menu automatically thanks to the bind I can close original windows of the game like the one on the b key, and use others but for that I need the return value or the command you mentioned.
to close the second menu, and use anything there

I want to use the keys that players usually use for everything, the P key opens a radio message window, with this method I could close it and use my own graphic menu there, I don't have an obsession with graphic menus, I'm just looking for accessibility for our beloved game
IMG:https://i.imgur.com/DCz9Dko.png
01.11.19 01:46:36 pm
Up
Goo
User
Offline Off
Spectating own team only allows spectators to see everyone.

This may seem fine but in a zombie server, zombies may join the spectator team to find where the survivors are hiding.

I'd like some way to prevent that.

Example: Own team only in zombie-mode won't allow spectators to spectate AT ALL.
01.11.19 10:31:20 pm
Up
DC
Admin
Offline Off
@user M3_Quick: I also don't understand why you are asking for a hook or return value. I agree with user Hajt that a command to close menus would be a more appropriate solution.

You maybe don't even need such a command if you open the menu with the @i tag in the title (that opens an invisible menu). See lua:menu

Your approach is still ugly though because the original menu will be visible for a short moment. That's not a good user experience and it looks broken.

I would probably rather implement a REAL solution (disabling certain menus like you suggested in another thread) instead of adding functionality which motivates more people to use weird and ugly hacks.

@user Goo: I won't make changes to spectating because it's hell. Either choose cs2d cmd sv_specmode 2 (nothing) or write a little Lua script like this (untested):
Code:
1
2
3
4
5
6
7
addhook("team", "nospec")
function nospec(id, team)
     if team == 0
          msg2(id, "spectating is not allowed")
          return 1
     end
end

Note that people could still just disconnect, reconnect and not join a team (in order to be spectator) but there are ways to block that as well. E.g. by automatically temp banning people who disconnect/reconnect a lot.
edited 1×, last 01.11.19 10:41:50 pm
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
02.11.19 01:01:30 am
Up
M3_Quick
User
Offline Off
@dc yes, @user Hajt: ,You are absolutely right, if you add the command
Code:
1
closemenu(id)
, it would be great it is necessary, really necessary

Even if he can't see the menu, it's there, and if he tries to shoot with the menu open, he just doesn't shoot, he can't select weapons using numbers either I'm talking about (@i tag)
edited 3×, last 02.11.19 07:39:04 am
IMG:https://i.imgur.com/DCz9Dko.png
02.11.19 06:13:07 pm
Up
Goo
User
Offline Off
What about a
projectileland
hook?
02.11.19 09:31:08 pm
Up
DC
Admin
Offline Off
@user Goo: Will add cs2d lua hook projectile_impact to v 1.0.1.0
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
02.11.19 10:38:00 pm
Up
Goo
User
Offline Off
@user DC: Give both the projectiles hooks the id of the projectile in case we want to free it or mess with it, similar to the image hooks.

Saves a lot of hassle and performance.
02.11.19 10:56:40 pm
Up
DC
Admin
Offline Off
The idea of not having it in cs2d lua hook projectile was that you already have all data and simply don't need it for anything as the projectile is removed automatically at that point in most cases.

But yes, makes sense. Will add it.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
03.11.19 11:13:15 am
Up
Hajt
User
Offline Off
I would like to use new feature cs2d lua cmd addbind but only for a while, e.g. during voting. Is there any way to release bind? If no I would like to request for
freebind
lua command.
Yooo. We are playing mix matches 5on5 in evening hours on the server CS2D.TK | Mix/Match, you can join us, server password is match. Statistics, leaderboard can be found under the following link.
03.11.19 08:01:13 pm
Up
Cure Pikachu
User
Offline Off
@user Hajt: Think there will be cs2d lua cmd removebind in the future (if it wasn't in the game already).
IMG:https://i.imgur.com/uUrye71.png
IMG:https://i.imgur.com/xpsyQRX.png
05.11.19 01:02:03 am
Up
Goo
User
Offline Off
Separate the sprite for the NPC zombie from the player zombie.

I always thought it was weird and limiting.
05.11.19 03:23:55 pm
Up
Hajt
User
Offline Off
thank you @user Cure Pikachu

Please make to work cs2d cmd mp_randomspawn in every gamemode
Yooo. We are playing mix matches 5on5 in evening hours on the server CS2D.TK | Mix/Match, you can join us, server password is match. Statistics, leaderboard can be found under the following link.
05.11.19 04:18:41 pm
Up
Mora_rus
User
Offline Off
Add a hook that would allow us check if u miss the bullet.

currently is not possible to check if player missed the shot and didn't hit nobody.
The main idea:
it would be useful for such things as modding, statistics:
• for example a mission thing: hit 10 times without missing.
• or: every hit increases damage by 3%, nil on missing shot.

• or simply to show statistic on how much u miss the shots(but in fact in some standard game modes u can fire through the map(randoms))
S.T.A.L.K.E.R. - The Lost Land dev. https://discord.gg/aABCkHQ
05.11.19 05:09:16 pm
Up
Goo
User
Offline Off
@user Mora_rus:

Use a variable per player per weapon (such as a table) and:

On attack hook add 1 to the variable.
On hit hook remove 1 from the variable.

Now you have the amount of missed shots.
05.11.19 07:55:33 pm
Up
Mora_rus
User
Offline Off
You're genius. Seriously!
S.T.A.L.K.E.R. - The Lost Land dev. https://discord.gg/aABCkHQ
06.11.19 04:16:21 am
Up
Goo
User
Offline Off
Code:
1
SlowPoke101 is using IP 127.0.0.1:36963 and no U.S.G.N. ID


This should show the STEAM ID as well. (when a player connects)
06.11.19 11:25:49 am
Up
Hajt
User
Offline Off
Quick Play is not working like it supposed to be. I suggest you to drop idea with [Q] before server name and just that button in main menu will search for server:
• with players
• standard game mode
• maps as_, cs_ and de_
Yooo. We are playing mix matches 5on5 in evening hours on the server CS2D.TK | Mix/Match, you can join us, server password is match. Statistics, leaderboard can be found under the following link.
06.11.19 07:43:24 pm
Up
DC
Admin
Offline Off
@user Hajt: Not sure what you did/experienced there but quick play already works exactly like that.
Only servers matching the following criteria are considered:
• standard game mode
• no password
• free player slots
• name starting with "[Q]"
• map name starting with as_, cs_ or _de
• not banned (this only works after failing to join once)

Of course it can always happen that a server changes stuff while you're about to join.

@user Goo: There are different ways this message can be triggered. In some cases it's a confirmation for a USGN account check.
I will add the Steam ID and name to it but only to the message which is displayed on the server when a player joins (I guess that's the most relevant one anyway).
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
06.11.19 08:01:18 pm
Up
Hajt
User
Offline Off
I think this name starting with "[Q]" is not needed
Yooo. We are playing mix matches 5on5 in evening hours on the server CS2D.TK | Mix/Match, you can join us, server password is match. Statistics, leaderboard can be found under the following link.
06.11.19 08:10:10 pm
Up
DC
Admin
Offline Off
@user Hajt: No, I strongly disagree. The [Q] tag is required because you may decide to run a server with super weird settings and/or weird custom Lua scripts. Such servers shouldn't be used for quick play of course. I can't filter such servers automatically. Most settings are unavailable before joining and checking what Lua ACTUALLY does can't really be automated in a reliable way. Therefore the [Q] tag is still essential and should be used with care!
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
To the start Previous 1 2 ... 151 152 153 154 155 Next To the start