Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Toblerone on July 02, 2004, 01:04:36 pm

Title: Editing The Menu
Post by: Toblerone on July 02, 2004, 01:04:36 pm
Can anyone point me in the direction of a tut, tools, and whatnot please? Thank you!
Title: Editing The Menu
Post by: WMCoolmon on July 02, 2004, 04:56:03 pm
I don't think you need tools besides Notepad and something to save images to PCX.

Look at how The Babylon Project or Inferno did it, I believe the relevant file is mainhall.tbl.
Title: Editing The Menu
Post by: aldo_14 on July 02, 2004, 05:07:49 pm
IIRC one of the key things is editing the mask file (a black and white pcx) - I believe the colour of the regions determine the function of them when clicked (i.e. 255,255,254 is barracks, 255,255,253 is campaign, etc - these aren;t the correct values, though).

Also ask the SW and WC TC blokes - I'd imagine they're using it.
Title: Editing The Menu
Post by: DragonClaw on July 02, 2004, 05:36:21 pm
Incorrect, it's the mainhall.tbl file. The mask file just determines where your mouse has to be for a button to function. In the table file, each 'section' has a series of coordinates which determine where a given button is. Each button is named "barracks", "techroom", etc. The names are hardcoded I presume.

And I know what I'm talkin about. I've made mainhalls for TVWP and HT.
Title: Editing The Menu
Post by: Killfrenzy on July 02, 2004, 05:45:39 pm
I'm trying to make a Mainhall for The Swarm War, but I'm focusing on models and other stuff first before getting my hands dirty in the mainhall.tbl! :D
Title: Editing The Menu
Post by: aldo_14 on July 02, 2004, 07:15:25 pm
Quote
Originally posted by DragonClaw
Incorrect, it's the mainhall.tbl file. The mask file just determines where your mouse has to be for a button to function. In the table file, each 'section' has a series of coordinates which determine where a given button is. Each button is named "barracks", "techroom", etc. The names are hardcoded I presume.

And I know what I'm talkin about. I've made mainhalls for TVWP and HT.


Ah... that explains why my mockup thingie never worked :)

Has anyone ever written up a mainhall editing guide, bytheway?
Title: Editing The Menu
Post by: Killfrenzy on July 02, 2004, 07:22:50 pm
Not as far as I'm aware.

Such a document would be great though. :)
Title: Editing The Menu
Post by: kasperl on July 03, 2004, 05:23:20 am
*Points to the Wiki edit button.*
Title: Editing The Menu
Post by: Taristin on July 03, 2004, 06:22:39 pm
Or maybe he wanted to edit the Mentu...?