Dead Men Walking

Old Server Admin Section => Game Admins => Archived Topics => Left 4 Dead Admins => Topic started by: Benny on December 29, 2008, 02:36:22 PM

Title: L4D1 - Radial Menu
Post by: Benny on December 29, 2008, 02:36:22 PM
Quite fancy this, will have a play tonight if I get chance. Although some old mate is insisting I go out for a drink so it may be tomorrow or Weds.

http://l4dmods.com/index.php?option=com_content&view=article&id=38:custom-radial-menus&catid=4:binds-and-scripts&Itemid=16
Title: L4D1 - Radial Menu
Post by: Sn00ks on January 02, 2009, 02:17:23 PM
I don't know how far you got with this Benny but I've had a little play and think I've got a basic one for admin commands.


Tested it and it seems to work. One slight typo in a map name, which I've corrected
 
Does the following:-
rcon password
set alltalk on
change maps to VS Hospital, VS Farm, SmallTown and Airport.
restart server to fix problem after changing map to non-versus ones.
 
So that leaves two other things that could be added if requried, or existing ones changed.
 
If anyone is interested here it is. Don't forget to change the password!
 
//------------------------------------------------ --------------
"dMwAdmin"
{
"Center"
{
"command" "rcon_password xxxxxxxx"
"text" "rcon login"
}
"North"
{
"command" "rcon sv_alltalk 1"
"text" "Enable all talk"
}
"NorthEast"
{
"command" "rcon changelevel l4d_vs_hospital01_apartment"
"text" "VS Hospital 1"
}
"East"
{
"command" "rcon changelevel l4d_airport01_greehouse"
"text" "Airport 1"
}
"SouthEast"
{
"command" "rcon sv_cheats 1; rcon director_force_panic_event; rcon sv_cheats 0"
"text" "Zombie horde"
}
"South"
{
"command" "rcon quit"
"text" "Restart server"
}
"SouthWest"
{
"command" "rcon sv_cheats 1; rcon director_force_versus_start; rcon sv_cheats 0"
"text" "single start"
}
"West"
{
"command" "rcon changelevel l4d_vs_smalltown01_caves"
"text" "SmallTown 1"
}
"NorthWest"
{
"command" "rcon changelevel l4d_vs_farm01_hilltop"
"text" "VS Farmhouse 1"
}
}
 
You'll need to tag it onto the end of the
...\Steam\steamapps\common\left 4 dead\left4dead\scripts\RadialMenu.txt file.
 
And then bind a key in your config file to run it, or run this from the command line and it should add it for you (?)
 
bind mouse4 "+mouse_menu dMwAdmin"
 
Enjoy
Title: L4D1 - Radial Menu
Post by: Benny on January 02, 2009, 10:58:51 PM
With a bit of effort (and attention to caps lock) got it working.

The only additional I've bound is 'director_force_panic_event' which sends in a swarm. Good for early doors when there's only a couple on.

Others of interest?  director_force_tank for practice

director_force_versus_start - to kick off if you are playing one sided on versus and need to kick it off.
Title: L4D1 - Radial Menu
Post by: Sn00ks on January 03, 2009, 09:49:02 AM
Opps, maybe should have mentioned that it needs to go within the last squirly parenthesis thingy.

Otherwise worked OK for me. I think I'll add the horde and versus things too.
Title: L4D1 - Radial Menu
Post by: Sn00ks on January 04, 2009, 03:54:52 PM
Update the script to get the swarm and restart working. There seems to be a time limit between swarms so you can't send one after the other.
Title: L4D1 - Radial Menu
Post by: Benny on January 04, 2009, 06:37:08 PM
So now, being inherently lazy, can you post up your entire file, I'll edit and post the non-admin stuff to the main forum and all the admins can yuse the same radial......

Thanks Snooks.....I can't get my frgging bind to work...

Ta
Title: L4D1 - Radial Menu
Post by: Sn00ks on January 04, 2009, 10:09:13 PM
Ok here is my radialmenu file
I'm going to have another play and create another menu. One for normal stuff and another for fun stuff, like swarms and tanks and stuff.
Title: L4D1 - Radial Menu
Post by: Sn00ks on January 05, 2009, 11:18:17 AM
I now have version 2 of my radialmenu file.
 
I have now created two additional menus. One for normal map changes and another for changing the game play, e.g. swarm, tank, witch etc.
 
There are two options I've added that will allow all players to either play as either Survivors or Infected only, with the bots taking the other side (not tested yet but I'm hopeful).
 
Dont forget that you'll need to bind some keys to activate the menus. This is what I've got set up for mine. I just ran these from the command line once and it added it to my config.
 
bind mouse4 "+mouse_menu dMwAdmin"
bind l "+mouse_menu dMwAdmin1"
 
If you can think of anything else you'd like adding then there are a couple of spare slots that can be modified.
Title: L4D1 - Radial Menu
Post by: Anonymous on January 05, 2009, 12:26:19 PM
Some picky stuff:
Quote"West"
      {      
         "command" "rcon changelevel l4d_vs_smalltown01_caves"
         "text" "SmallTown 1"
      }
Should read (after removing vs from mapname)
      "West"
      {      
         "command" "rcon changelevel l4d_smalltown01_caves"
         "text" "SmallTown 1"
      }

Quote"SouthEast"
      {
         "command" "rcon changelevel l4d_vs_hospital05_rooftop"
         "text" "Hospital finale"
      }
Should read (after adding VS to text)
      "SouthEast"
      {
         "command" "rcon changelevel l4d_vs_hospital05_rooftop"
         "text" "VS Hospital finale"
      }

Quote"SouthWest"
      {
         "command" "rcon changelevel l4d_vs_farm05_cornfield"
         "text" "Farmhouse finale"
      }
Should read (after adding VS to text)
      "SouthWest"
      {
         "command" "rcon changelevel l4d_vs_farm05_cornfield"
         "text" "VS Farmhouse finale"
      }

AllTalk is now on by default. It is prob worth having an AllTalk Off entry as well
Title: L4D1 - Radial Menu
Post by: Sn00ks on January 05, 2009, 02:12:56 PM
Picky, picky, picky :narnar:
 
Shows you just how good cut and paste is in propagating problems. :doh:
 
At least someone read it! OK I've corrected it and changed the alltalk to off and added an on in the second menu.
Title: L4D1 - Radial Menu
Post by: Sn00ks on January 05, 2009, 02:15:29 PM
Doh, I best post it then. :doh::doh:
Title: L4D1 - Radial Menu
Post by: Anonymous on January 16, 2009, 07:36:17 PM
"director_force_versus_start" doesn't work but "director_force_versus_start 1" does :)

Sorry, known about this for a while and forgot to post :(
Title: L4D1 - Radial Menu
Post by: Anonymous on January 24, 2009, 10:26:02 PM
Quotercon sv_cheats 1; director_panic_forever 1; rcon director_force_panic_event; rcon sv_cheats 0

Found that on google tonight :devil:
Title: L4D1 - Radial Menu
Post by: Benny on February 01, 2009, 03:18:05 PM
Ignore, just gathering everything in one place...

sv_cheats 1
director_no_human_zombies 0
sb_all_bot_team 1
director_no_human_zombies 1
director_force_versus_start 1
sv_cheats 0
Title: L4D1 - Radial Menu
Post by: Anonymous on February 01, 2009, 04:52:32 PM
Quote from: Benny;261351Ignore, just gathering everything in one place...

sv_cheats 1
director_no_human_zombies 0
sb_all_bot_team 1
director_no_human_zombies 1
director_force_versus_start 1
sv_cheats 0

See this post (http://www.deadmen.co.uk/forum/showpost.php?p=259903&postcount=8) for more info
Title: L4D1 - Radial Menu
Post by: Benny on February 01, 2009, 05:16:49 PM
Ta..........

QuoteIf on infected...
sv_cheats 1; director_no_human_zombies 0; sb_all_bot_team 1; director_force_versus_start 1; sv_cheats 0


If all on survivor...
sv_cheats 1; director_no_human_zombies 1; sb_all_bot_team 1; director_force_versus_start 1; sv_cheats 0
Title: L4D1 - Radial Menu
Post by: Sn00ks on February 01, 2009, 07:25:29 PM
I've done a second radial menu that has the single team start thingy set, and it seems to work.
Title: L4D1 - Radial Menu
Post by: Sn00ks on March 17, 2009, 01:33:16 PM
Err how do you attach files? I can't find the icon?
Title: L4D1 - Radial Menu
Post by: Whitey on March 17, 2009, 09:54:23 PM
Would anyone like the admin options on the radial menu included in the Sourcemod menu?
Title: L4D1 - Radial Menu
Post by: Benny on March 17, 2009, 10:19:47 PM
If it's easy to do, then yes absolutely.

I'll still use it as its quick, but if we have one unified way of admin'ing that would be good.
Title: L4D1 - Radial Menu
Post by: Dr Sadako on March 17, 2009, 10:41:19 PM
Quote from: Benny;268852If it's easy to do, then yes absolutely.

I'll still use it as its quick, but if we have one unified way of admin'ing that would be good.

Then you just need to update so you have more admins :flirty:
Title: L4D1 - Radial Menu
Post by: Benny on March 18, 2009, 01:44:57 PM
Yeah yeah, there's official and unofficial admins.

If I go and appoint everyone I'll get the back ass nagged off me. I'll post something about the proxy admins who have the default access.

At the moment everything is nice and tight, there is usually an admin online if not in game, and you 'have access' anyway people can do what you like anyway.
Title: L4D1 - Radial Menu
Post by: Penfold on March 18, 2009, 02:14:35 PM
Perhaps think about having a two tier admin structure like CS - Full Admins and public admins with lesser access but those who can do the mundanities.

Just a thought - don't flay me senseless :rolleyes:
Title: L4D1 - Radial Menu
Post by: Benny on March 18, 2009, 03:56:37 PM
I have a list of volunteers for the admin role, unfortunately I can't find a reasonable excuse for not dishing out the rights at present.

The candidates are capable and good enough, but I just can't to the individuals that have stepped forward. It wouldn't be right.

That said I'll grow it if, over the next few months we need to.

(By all means discreetly admin on the quiet if you need to)
Title: L4D1 - Radial Menu
Post by: Penfold on March 18, 2009, 04:06:43 PM
Quote from: Benny;268941The candidates are capable and good enough, but I just can't to the individuals that have stepped forward. It wouldn't be right.

No of course. You have to do it on merit otherwise you'll get complete numpties stepping forward requesting it. Be strong and tell 'em all to eff off. The tighter you can keep it the better imo.

Quote from: Benny;268941That said I'll grow it if, over the next few months we need to.
(By all means discreetly admin on the quiet if you need to)


Personally I've not encountered a problem with the admins we currently have. Whenever I've been on at least one admin has been on to administer to our needs.

I'm also not stepping up to the plate and looking to admin. I struggle to play the game as it is without having people requesting me to do stuff all the while:rolleyes:. Besides I have more than enough to do as it is.

So long as we have a couple of people at the LAN who know what they're doing on the admin side then I'm happy  :thumbsup2:

BTW - You still having problems with mod access to VB to dish out your badges?
Title: L4D1 - Radial Menu
Post by: Sn00ks on April 14, 2009, 10:28:29 PM
Locking the Saferoom door.
I've just been checking, as the Saferoom door didn't seem to stay locked when I was locking it it.
And l've found the problem.
You have to have cheats turned on to set the time to anything other that the default of 60 seconds. Once you turn cheats on it resets itself to 60 seconds

So the command  "rcon sv_cheats 1; rcon director_ready_duration 0; rcon sv_cheats 0"
Disabled the autotimer and then immediately reset it to 60 seconds. Doh! :doh:

So in the radial menu to disable the autotimer, i.e. for matches, the command should read "rcon sv_cheats 1; rcon director_ready_duration 0" And then when things are going disable it by using "rcon sv_cheats 0"

So something like this:-
"SouthWest"
        {
            "command" "rcon sv_cheats 1; rcon director_ready_duration 0"
            "text" "Disable autostart"
        }
        "West"
        {        
            "command" "rcon sv_cheats 0"
            "text" "Enable autostart"
        }