Main Menu

L4D1 - Radial Menu

Started by Benny, December 29, 2008, 02:36:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Benny

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
===============
Master of maybe

Sn00ks

#1
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
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Benny

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.
===============
Master of maybe

Sn00ks

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.
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Sn00ks

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.
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Benny

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
===============
Master of maybe

Sn00ks

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.
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Sn00ks

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.
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Anonymous

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

Sn00ks

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.
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Sn00ks

Doh, I best post it then. :doh::doh:
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Anonymous

"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 :(

Anonymous

#12
Quotercon sv_cheats 1; director_panic_forever 1; rcon director_force_panic_event; rcon sv_cheats 0

Found that on google tonight :devil:

Benny

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
===============
Master of maybe

Anonymous

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 for more info