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 2151 152 153161 162 Next To the start

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

cs2d_is_a_Gem
User Off Offline

Quote
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

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

Mami Tomoe
User Off Offline

Quote
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.

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

DC
Admin Off Offline

Quote
@user cs2d_is_a_Gem: 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 Mami Tomoe: 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):
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

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

cs2d_is_a_Gem
User Off Offline

Quote
@dc yes, @user Hajt: ,You are absolutely right, if you add the command
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

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

DC
Admin Off Offline

Quote
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.

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

Mora
User Off Offline

Quote
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))

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

Hajt
User Off Offline

Quote
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_

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

DC
Admin Off Offline

Quote
@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 Mami Tomoe: 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).

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

DC
Admin Off Offline

Quote
@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!
To the start Previous 1 2151 152 153161 162 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview