RelicNews Forums

Go Back   RelicNews Forums > RDN - Relic Game Mods > Homeworld 2 - Tanis Shipyards > Mods in progress
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Closed Thread
 
Thread Tools
Old 5th Feb 04, 9:35 AM Forum Rules   # 1
Mikail
Lost in the Web...
 
Mikail's Avatar
 
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
__________________
Download my HW2 mods, maps & tools. link

Last edited by Mikail : 20th Nov 04 at 1:42 PM.
Mikail is offline  
Old 5th Feb 04, 5:41 PM Forum Rules   # 2
SvK
Freelance Armorer
 
SvK's Avatar
 
Join Date: Sep 2001
Location: Dallas, TX, USA

That's an excellent idea!
SvK is offline  
Old 5th Feb 04, 6:04 PM Forum Rules   # 3
Supernova
Senior Member
 
Join Date: May 2003

Excellent, keep us well informed!
__________________
I, apologise for all spelling. and gramatical errors.
Supernova is offline Send a message via ICQ to Supernova Send a message via AIM to Supernova Send a message via Yahoo to Supernova  
Old 6th Feb 04, 8:10 AM Forum Rules   # 4
Mikail
Lost in the Web...
 
Mikail's Avatar
 
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.
Mikail is offline  
Old 6th Feb 04, 10:21 AM Forum Rules   # 5
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Nevermind. I think I got it to work.
Mikail is offline  
Old 6th Feb 04, 10:42 AM Forum Rules   # 6
Homer Jr.
The kids can call you HoJu!
 
Homer Jr.'s Avatar
 
Join Date: Dec 2003
Location: SF Bay Area, CA, USA

Sweet! Tell us how
Homer Jr. is offline Send a message via AIM to Homer Jr. Send a message via Yahoo to Homer Jr.  
Old 7th Feb 04, 12:45 PM Forum Rules   # 7
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

See first post.

Last edited by Mikail : 22nd Feb 04 at 12:57 PM.
Mikail is offline  
Old 7th Feb 04, 4:34 PM Forum Rules   # 8
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

I updated the mod to v1.1.

I added a scroll bar to the main menu, in case anyone wants to add more menu items.

Last edited by Mikail : 7th Feb 04 at 4:45 PM.
Mikail is offline  
Old 7th Feb 04, 6:52 PM   # 9
JeffHCross
Guest
 

Quote:
Originally posted by Mikail

Tip: if you need to add a new line to the descriptions, use the escape sequence "\n".


:: 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 ))
 
Old 7th Feb 04, 11:38 PM Forum Rules   # 10
evillejedi
Supreme High Overlord of Stuff
 
evillejedi's Avatar
 
Join Date: Oct 2003

link seems to be dead
evillejedi is offline  
Old 8th Feb 04, 12:38 PM Forum Rules   # 11
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

The link is fixed.
Mikail is offline  
Old 8th Feb 04, 1:24 PM   # 12
Tamerlane
Guest
 

Mikail, outstanding job..thank you.
 
Old 9th Feb 04, 8:49 AM Forum Rules   # 13
Mikail
Lost in the Web...
 
Mikail's Avatar
 
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.
Mikail is offline  
Old 10th Feb 04, 7:19 AM   # 14
omiwan
Guest
 

nice this is cool now if we just have a few more mods to us this with
 
Old 12th Feb 04, 4:55 PM   # 15
varis
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:
Unknown UIScreen type ScarProfilerEditBox in screen ScarProfilerEditBox Error, LoadScreen failed to screen of type ScarProfilerEditBox when loading section ScarProfilerEditBox from file ScarProfilerEditBox


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.
 
Old 13th Feb 04, 1:56 PM Forum Rules   # 16
Mikail
Lost in the Web...
 
Mikail's Avatar
 
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.
Mikail is offline  
Old 18th Feb 04, 11:03 AM   # 17
varis
Guest
 

It seems that the menu is scrolled to the bottom when you open it. Would seem much more logical to be at the top by default.
 
Old 18th Feb 04, 2:40 PM Forum Rules   # 18
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Fixed.
Mikail is offline  
Old 21st Feb 04, 8:01 PM   # 19
varis
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.
 
Old 22nd Feb 04, 12:48 PM Forum Rules   # 20
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Fixed.
Mikail is offline  
Old 9th Aug 04, 2:15 PM   # 21
gehwesi
Guest
 

can't seem to get the cred mod to work?

 
Closed Thread



Go Back   RelicNews Forums > RDN - Relic Game Mods > Homeworld 2 - Tanis Shipyards > Mods in progress
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




All times are GMT -7. The time now is 4:46 AM.

Page generated in 0.76004195 seconds (54.41% PHP - 45.59% MySQL) with 8 queries

Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.