Post: Converting PCFreak Menus to 1.12 style
08-18-2011, 09:20 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); EDIT: Fixed an error where the menu wouldn't reopen
I know there's a typo in the title should be 1.11 style
This is an easy tutorial on how to convert pcfreak30 generated menus to Efthy's 1.11 style
I feel this makes it much easier for designing 1.12 menus and it means you can still work with xml making it much quicker


1.Take your xml and paste it into pcfreak30's generator
You must login or register to view this content.

2.Put the resulting code into notepad or something similar for easier editing

3.Delete this:

    set 1m "con_errormessagetime 90;bind BUTTON_B vstr 1e; cg_chatheight 2;vstr 1opt1"
set 1t "========;"
set 1e "bind DPAD_UP +actionslot 1;bind DPAD_DOWN +actionslot 2;bind BUTTON_B +stance;bind BUTTON_A +gostand;con_errormessagetime 10;Mod_Menu_Closed;set Cg_hudchatposition 5 500;"
set 1opt1 "vstr 1t;^2;bind BUTTON_A vstr 1opt1r; bind DPAD_UP vstr 1opt11; bind DPAD_DOWN vstr 1opt2"
set 1opt2 "vstr 1t;^2;bind BUTTON_A vstr 1opt2r; bind DPAD_UP vstr 1opt1; bind DPAD_DOWN vstr 1opt3"
set 1opt3 "vstr 1t;^2;bind BUTTON_A vstr 1opt3r; bind DPAD_UP vstr 1opt2; bind DPAD_DOWN vstr 1opt4"
set 1opt4 "vstr 1t;^2;bind BUTTON_A vstr 1opt4r; bind DPAD_UP vstr 1opt3; bind DPAD_DOWN vstr 1opt5"
set 1opt5 "vstr 1t;^2;bind BUTTON_A vstr 1opt5r; bind DPAD_UP vstr 1opt4; bind DPAD_DOWN vstr 1opt6"
set 1opt6 "vstr 1t;^2;bind BUTTON_A vstr 1opt6r; bind DPAD_UP vstr 1opt5; bind DPAD_DOWN vstr 1opt7"
set 1opt7 "vstr 1t;^2;bind BUTTON_A vstr 1opt7r; bind DPAD_UP vstr 1opt6; bind DPAD_DOWN vstr 1opt8"
set 1opt8 "vstr 1t;^2;bind BUTTON_A vstr 1opt8r; bind DPAD_UP vstr 1opt7; bind DPAD_DOWN vstr 1opt9"
set 1opt9 "vstr 1t;^2;bind BUTTON_A vstr 1opt9r; bind DPAD_UP vstr 1opt8; bind DPAD_DOWN vstr 1opt10"
set 1opt10 "vstr 1t;^2;bind BUTTON_A vstr 1opt10r; bind DPAD_UP vstr 1opt9; bind DPAD_DOWN vstr 1opt11"
set 1opt11 "vstr 1t;^2;bind BUTTON_A vstr 1opt11r; bind DPAD_UP vstr 1opt10; bind DPAD_DOWN vstr 1opt1"
set 1opt1r "vstr 2m"
set 1opt2r "vstr 3m"
set 1opt3r "vstr 4m"
set 1opt4r "vstr 5m"
set 1opt5r "vstr 6m"
set 1opt6r "vstr 7m"
set 1opt7r "vstr 8m"
set 1opt8r "vstr 9m"
set 1opt9r "vstr 10m"
set 1opt10r "vstr 11m"
set 1opt11r "vstr 12m"


and replace with something like this:

    set 1m "con_errormessagetime 90;bind DPAD_UP +actionslot 1;bind DPAD_LEFT vstr 1e;vstr 1opt1"
set 1e "bind DPAD_UP vstr 1m;bind DPAD_DOWN +actionslot 2;bind DPAD_LEFT +stance;bind BUTTON_A +gostand;con_errormessagetime 10;Mod_Menu_Closed;"
set 1opt1 "Menu_9;Menu_10;Menu_11;^1>[Menu_1]<;Menu_2;Menu_3;Menu_4;bind BUTTON_A vstr 1opt1r; bind DPAD_UP vstr 1opt15; bind DPAD_DOWN vstr 1opt2"
set 1opt2 "Menu_10;Menu_11;Menu_1;^1>[Menu_2]<;Menu_3;Menu_4;Menu_5;bind BUTTON_A vstr 1opt2r; bind DPAD_UP vstr 1opt1; bind DPAD_DOWN vstr 1opt3"
set 1opt3 "Menu_11;Menu_1;Menu_2;^1>[Menu_3]<;Menu_4;Menu_5;Menu_6;bind BUTTON_A vstr 1opt3r; bind DPAD_UP vstr 1opt2; bind DPAD_DOWN vstr 1opt4"
set 1opt4 "Menu_1;Menu_2;Menu_3;^1>[Menu_4]<;Menu_5;Menu_6;Menu_7;bind BUTTON_A vstr 1opt4r; bind DPAD_UP vstr 1opt3; bind DPAD_DOWN vstr 1opt5"
set 1opt5 "Menu_2;Menu_3;Menu_4;^1>[Menu_5]<;Menu_6;Menu_7;Menu_8;bind BUTTON_A vstr 1opt5r; bind DPAD_UP vstr 1opt4; bind DPAD_DOWN vstr 1opt6"
set 1opt6 "Menu_3;Menu_4;Menu_5;^1>[Menu_6]<;Menu_7;Menu_8;Menu_9;bind BUTTON_A vstr 1opt6r; bind DPAD_UP vstr 1opt5; bind DPAD_DOWN vstr 1opt7"
set 1opt7 "Menu_4;Menu_5;Menu_6;^1>[Menu_7]<;Menu_8;Menu_9;Menu_10;bind BUTTON_A vstr 1opt7r; bind DPAD_UP vstr 1opt6; bind DPAD_DOWN vstr 1opt8"
set 1opt8 "Menu_5;Menu_6;Menu_7;^1>[Menu_8]<;Menu_9;Menu_10;Menu_11;bind BUTTON_A vstr 1opt8r; bind DPAD_UP vstr 1opt7; bind DPAD_DOWN vstr 1opt9"
set 1opt9 "Menu_6;Menu_7;Menu_8;^1>[Menu_9]<;Menu_10;Menu_11;Menu_1;bind BUTTON_A vstr 1opt9r; bind DPAD_UP vstr 1opt8; bind DPAD_DOWN vstr 1opt10"
set 1opt10 "Menu_7;Menu_8;Menu_9;^1>[Menu_10]<;Menu_11;Menu_1;Menu_2;bind BUTTON_A vstr 1opt10r; bind DPAD_UP vstr 1opt9; bind DPAD_DOWN vstr 1opt11"
set 1opt11 "Menu_8;Menu_9;Menu_10;^1>[Menu_11]<;Menu_1;Menu_2;Menu_3;bind BUTTON_A vstr 1opt11r; bind DPAD_UP vstr 1opt10; bind DPAD_DOWN vstr 1opt12"
set 1opt1r "vstr 2m"
set 1opt2r "vstr 3m"
set 1opt3r "vstr 4m"
set 1opt4r "vstr 5m"
set 1opt5r "vstr 6m"
set 1opt6r "vstr 7m"
set 1opt7r "vstr 8m"
set 1opt8r "vstr 9m"
set 1opt9r "vstr 10m"
set 1opt10r "vstr 11m"
set 1opt11r "vstr 12m"


Make sure that the button binds are the same e.g. bind DPAD_UP "vstr 1m" at the start would mean that dpad up opens the menu

4.Just substitute menu_1 for the title of your main menu etc.

5.Add this to the bottom of your menu with the dvars

    set con_gameMsgWindow1Filter "gamenotify"
set con_gameMsgWindow0Filter "obituary"
set con_gameMsgWindow1FadeInTime "0"
set con_gameMsgWindow1FadeOutTime "0.25"
set con_gameMsgWindow1LineCount "8"
set con_gameMsgWindow1MsgTime "2"
set con_gameMsgWindow1ScrollTime "0"


You can change these settings e.g. linecount means how many lines are displayed at once

6.Paste the menu into the patch

This one supports 11 menus but you can edit it for more
DPAD up opens the menu, X is to select and DPAD left closes
These are also configurable, just replace all instances of them with the desired button

[/FONT]
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to Rainbow Gravity for this useful post:

Coke_Can_, KeithH4666, Swiftbarryman_
08-20-2011, 10:34 AM #11
Default Avatar
LukeyV3
Guest
Hey man nice TuT thanks

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo