Main Menu

L4D2 - Radial Menu

Started by Benny, December 20, 2009, 01:18:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Benny

http://forums.steampowered.com/forums/showthread.php?t=1033929

Ok, so got it working here too. Updated procedure (thanks Sn00ks)

Step #1:
After installing the programs, go to your left4dead2 directory located in:

C:\~\Steam\steamapps\common\left 4 dead 2\left4dead2
Scroll down the page and select the pak01_dir vpk.
Copy the file somewhere for safe keeping, just in case...
Open the file with 'notepad++'


Step #2:
Now, scroll all the way down and find line with the words "radialmenu". (ctrl f will find it)
Replace one letter so that instead of radialmenu it now reads tadialmenu. (it will have the word 'hudanimation' in the same line)
Once you're done, save it and exit.

Important: Whenever you download an update for L4D2, tadialmenu will default back to radialmenu, so you'll have to open notepad++ and edit it each time a new update is released.

Step #3:
Go back to your left4dead2 directory; click on the scripts folder.
Make a new text document, entitled radialmenu

Quote from: Create this text file in your scripts folder - radialmenu.txt"RadialMenu"
{//--------------------------------------------------------------
"dMwAdmin"
{

"Center"
{
"command" "rcon_password B1gSt1ck"
"text" "rcon login"
}
"North"
{
"command" "rcon sv_alltalk o"
"text" "Disable all talk"
}
"NorthEast"
{
"command" "rcon changelevel c1m1_hotel"
"text" "DeadCentre 1"
}
"East"
{
"command" "rcon changelevel c2m1_highway"
"text" "DarkCarnival 1"
}
"SouthEast"
{
"command" "rcon changelevel c3m1_plankcoutry"
"text" "Swamp 1"
}
"South"
{
"command" "rcon sv_alltalk 1"
"text" "enable alltalk"
}
"SouthWest"
{
"command" "rcon changelevel c4m1_milltown"
"text" "Mill 1"
}
"West"
{
"command" "rcon changelevel c5m1_waterfront"
"text" "Parish 1"
}
"NorthWest"
{
"command" ""
"text" "nowt"
}
}
//------------------------------------------------ --------------
"dMwAdmin1"
{

"Center"
{
"command" "rcon_password xxxxxx"
"text" "rcon login"
}
"North"
{
"command" "rcon changelevel c1m4_atrium"
"text" "DeadCentre finale"
}
"NorthEast"
{
"command" "rcon changelevel c2m5_concert"
"text" "DarkCarnival finale"
}
"East"
{
"command" "rcon changelevel c3m4_plantation"
"text" "Swamp finale"
}
"SouthEast"
{
"command" "rcon changelevel c4m5_milltown_escape"
"text" "Mill finale"
}
"South"
{
"command" "rcon quit"
"text" "Restart server"
}
"SouthWest"
{
"command" "rcon changelevel c5m5_bridge"
"text" "Parish finale"
}
"West"
{
"command" ""
"text" "Nowt"
}
"NorthWest"
{
"command" "rcon say Oh Pants!"
"text" "Nowt"
}

}
//--------------------------------------------------------------



}


Now create and autoexec.cfg file in your cfg folder..

Quote from: autoexec.cfg (in the cfg folder)bind F10 "mm_dedicated_force_servers 77.108.129.45:27033,77.108.129.45:27032"
bind x "+mouse_menu dMwAdmin"
bind c "+mouse_menu dMwAdmin1"

That should work, let us know if not and what you had to do and edit this post...ta
===============
Master of maybe

Sn00ks

Taking a look at this now. line number is wrong, must have been for an older version, now at line 102633., but this'll change with the next update.
The instructions don't seem 100%, but giving them a go to see.
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

#2
OK here is the first draft. The instructions are not 100% right. They tell you to copy the pak01.dir and then edit a copy of it. They don't tell you to then copy the edited copy into the live directory, so how is the change going to propogate itself into the live file? Osmosis? :g:

So when you do the copy to a compressed file (winrar, winzip or whaterever) don't extract that anywhere else. Keep it as your backup copy.
Then when you go to edit the file don't edit the extracted one but the one in your steam left4dead2 folder.

These are the extra bits I've added to the RadialMenu file I created in the scripts folder. You'll have to bind two keys, one to dMwAdmin and another to dMwAdmin1. rcond password will need to be edited.
Copy this over the top of the last squirrrrrly bracket.

When we want more we can add more.

//-------snip-------------------------------------------------------

}

Going to test it now, wish me luck!!!

It's aliiiiivvvvee!
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

Top post edited.
Let me know if it's wrong (or change it).

ta
===============
Master of maybe