I've recently tried to change the IN-Game menu for example add buttons such as other server connection, etc etc.
But I don't know what to do so it replaces the current 'mod' menu.. Can someone help me?
Thanks in advance.
Posted 04 May 2014 - 07:10 PM
Posted 04 May 2014 - 07:13 PM
You simply need to prepare a separate pk3 file with the directories and menu files overriding the menu files of the mod.
Create pk3 with:
directory "ui" and inside the .menu files you want to change or add.
And name the file zzz(...) _something.pk3 so that it's loaded last, if I remember correctly.
Posted 04 May 2014 - 07:40 PM
and how to force people downloading it into ETmain, I read somewhere about the .campaign thingy but not quite sure of how to use it.
+ I changed the global.menu but seems not to work :/
Edited by makavelii, 04 May 2014 - 07:46 PM.
Posted 04 May 2014 - 07:47 PM
The in-game menu is not in the etmain directory but in the silent directory. It will override the original menu. In the etmain directory you override the etmain menu.
Posted 04 May 2014 - 09:54 PM
Posted 04 May 2014 - 10:08 PM
You don't want to force to download to etmain as it's the orgiginal ET mod, when playing on silEnT silent mod directory contents are used and downloaded. Simply place the pk3 with menus in the silent folder.
Posted 04 May 2014 - 11:10 PM
OK, I think I know what you want to achieve You want to add your server pk3 to the etmain directory so that players who start et can get the menu to your server right away, right?
Such case is not be possible without manual modifications done in the ET installation directory by the players themselves.
Posted 04 May 2014 - 11:35 PM
in order to trigger etmain client download you need
1) dummy campaign file in the scripts directory of your etmain menu pk3:
description "some descriptiion here"
mapTC 171 171
2) reference the above campaign in the server.cfg
set g_campaignFile "scripts/mydummy.campaign"
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users