Hello,
I am going to explain how you can add an button into your main menu so you can easy let people join your server.
This is an raw file modification!
So you need the raw files of the mod you are using.
Step 1 - Go to your folder where your call of duty 4 raw files are located.
Step 2 - Find the folder ui_mp and copy the file main.menu located in there.
Step 3 - Paste the file in your mods raw folder. (For X4 its for the example : ff/ui_mp)
Step 4 - Open the file main.menu you just placed in your mods raw folder!
Step 5 - Go to line 111 and normally you should see this.
//CHOICE_BUTTON_VIS( 2, "@MENU_JOIN_GAME", open join_game_popup;, when( !localvarBool( ui_hideBack ) ) )
(Remove that line)
Step 6 - Now go to line 112 and you would find the same line
CHOICE_BUTTON_VIS( 2, "@MENU_JOIN_GAME", open pc_join_unranked;, when( !localvarBool( ui_hideBack ) ) )
Just make it like this
//CHOICE_BUTTON_VIS( 2, "@MENU_JOIN_GAME", open pc_join_unranked;, when( !localvarBool( ui_hideBack ) ) )
Step 7 - Now just put an enter between line 112 - 113 and add the following code.
CHOICE_BUTTON_VIS( 2, "@Join Our Server", exec "connect yourip:port";, when( !localvarbool( ui_hideBack ) ) )
Step 8 - Open your mod.csv file (In the X4 mod its located in the ff folder)
Add this line to the mod.csv file
menufile,ui_mp/main.menu
This is the result you should get. (This one i did for another clan)
If you have any questions just give an reply..
I hope you enjoyed this tutorial.
Greetings PhoeniX