|
|
|
|
# 1
|
|
Lost in the Web...
Join Date: Jun 2003
Location: %HW2_ROOT%
|
Credits Menu Item Mod (Currently v1.22)
CHANGES IN 1.22
* Converted "relic.tga" to "relic.rot" to conserve space. CHANGES IN 1.21 * Now uses literal strings in "ModCheckList.lua". CHANGES IN 1.2 * Fixed bugs where the credits list and main menu automatically scrolled to the bottom. * Added an Relic image an removed the other images. CHANGES IN 1.1 * Added a scroll bar to the main menu, in case anyone wants to add more menu items. INSTALLATION Extract this archive into your "...\Homeworld2\Data" directory. INTRODUCTION This mod adds a "Credits" menu item to your Homeworld 2 main menu. Besides adding or replacing any images, you will only have to modify "ModCheckList.lua" in order to configure the menu for your mod. DOWNLOAD http://www.geocities.com/Area51/Qua...4/homeworld.htm Last edited by Mikail : 20th Nov 04 at 1:42 PM. |
|
|
|
|
# 4
|
|
Lost in the Web...
Join Date: Jun 2003
Location: %HW2_ROOT%
|
I've been working on it for a while.
I managed to get the button to display, but nothing happens when I click it. I created entries in "NewMainMenu.lua" and "UISettings.lua". I also created a new file called "CreditsScreen.lua", and referenced it in the above two files. Changing the "type" in "UISettings.lua" causes the existing menu items not to work. So, I think it's crucial. However, I couldn't find where the "UI_...()" functions were defined. So, I did a text-search for the functions and found them (and the "types" listed in "UISettings.lua") within "Homeworld2.exe". I don't think you can add new UI menus without being able to edit "Homeworld2.exe". I'd have to sacrifice an existing menu in order to get it to work. But, I don't want to do that. There are three disabled menus mentioned in "UISettings.lua" that I might be able to ressurect, and then edit. They are "PasswordScreen", "NotForPublicDisplay", and "StyleSheetTestScreen". However, none of these have a "type" set in "UISettings.lua", nor a corresponding LUA file. In conclusion, the UI is looking pretty hard-coded, ATM. Last edited by Mikail : 6th Feb 04 at 8:23 AM. |
|
|
|
|
# 9 | |
|
Guest
|
Quote:
:: shudders :: :: whispers ala Sixth Sense :: I see C++ codes. (( Yes, I know it's not just C++ ... it's just C++ that's causing me nightmares in class right now )) |
|
|
|
# 13
|
|
Lost in the Web...
Join Date: Jun 2003
Location: %HW2_ROOT%
|
There's a bunch of UI related functions within Homeworld2.exe. They could probably be recreated and be functional outside the exe, but we need them as a reference so we can see how they work. It would be nice if someone could extract them.
|
|
|
|
|
# 15 |
|
Guest
|
I put v1.1 into my mod, seems it worked but now it can crash upon loading - under proper conditions - when I run it as a .big file:
Code:
Is there a glitch with uisettings.lua? [EDIT] Cry wolf... Ok probably it's just a problem of my mod, which I missed on the first testing round because HW2 works in funny ways... Is it documented that ScarProfiler is part of the Credits mod? I suppose it didn't cause the crash, but if it was fully functional it'd work in case there is a crash, but now we just get the error message. Last edited by varis : 12th Feb 04 at 5:18 PM. |
|
|
# 16
|
|
Lost in the Web...
Join Date: Jun 2003
Location: %HW2_ROOT%
|
The ScarProfilerEditBox is something I added that doesn't have anything to do with the credits mod. You receive the errors because it doesn't work. However, it shouldn't crash the game.
You can get rid of the error by deleting anything having to do with ScarProfilerEditBox. It won't affect the credits mod. |
|
|
|
|
# 19 |
|
Guest
|
Mikail, you put v1.2 on the site but forgot to update the download link. Also would be more convenient if changelog & download link would be in the first message.
[edit] Also found out that the Main menu scrolls to bottom by default. Keep up the good work! :-) Last edited by varis : 21st Feb 04 at 10:54 PM. |
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|