Phantom-X UI Update

Moderators: Duck_42, mead

Phantom-X UI Update

Postby Duck_42 » 27 Feb 2013, 05:16

It's long overdue, but I've finally put together a decent looking UI for the reveal information. The original text labels were a quick and dirty way to get the functionality into the mod. In this version, I've replaced the text labels with a variation of the score panel.

Assuming my programming is in line with my intentions :D , it should behave like this:

-The panel will start out completely hidden

-Once the assignement timer expires (i.e. 8:00 minutes), the UI code will check to see if reveal is enabled. If it is, the panel will automatically pop out from the side of the screen (directly under the exisitng phantom panel), and the timer in the panel will start counting down to the next reveal. If reveal is disabled, the panel will remain hidden.

-Once the timer expires, one or more players (depending on the reveal configuration) will be displayed in the panel along with their designation (i.e. Phantom, Paladin).

-If more players are still to be revealed (based on the game settings), then the timer will reset and start counting down again to the next reveal.

-Once all players have been revealed, the panel will show the revealed players for 30 seconds. After 30 seconds are up the panel will automatically minimize (it can be restored at any time).


If anyone encounters any problems associated with this update, post the relevent parts of game.log file on this thread, and I'll look into fixing the problem.


Mead,

The following files in the mod need to be added/replaced with those in the zip file:
Replace /modules/phantom.lua
Replace /lua/PhantomSim.lua
Replace /phantomxhook/lua/ui/help/tooltips.lua
Add /modules/reveal_ui.lua

Phantom-X_UI_Changes.zip
Phantom-X UI Changes
(20.94 KiB) Downloaded 191 times


Oh and mead...get rid of the PhantomSim.bak file. It annoys me greatly. :D
User avatar
Duck_42
Avatar-of-War
 
Posts: 237
Joined: 29 May 2012, 03:16
Has liked: 5 times
Been liked: 18 times
FAF User Name: Duck_42

Re: Phantom-X UI Update

Postby HEAVY » 01 Mar 2013, 04:01

Sweet, if you don't have concerns, I'll start using this release to test phantom along with the new balancetesting mod.

I'll be passing on the link above http://www.faforever.com/forums/download/file.php?id=1875 to people in chat.

Edit: For some reason, I can't start the mod. I unpacked everything into the Mods folder, but it's not selectable in the lobby mod manager.
HEAVY
Avatar-of-War
 
Posts: 75
Joined: 05 Jul 2012, 20:15
Has liked: 0 time
Been liked: 0 time
FAF User Name: HEAVY

Re: Phantom-X UI Update

Postby Duck_42 » 01 Mar 2013, 05:55

Heavy,

What I posted wasn't a full version of the mod. It only contains the updated files for mead to put into the FAF SCD mod.

I didn't make a standalone version because I didn't really have a need to (building a standalone version means changing several paths in the mod files).

That being said, the only changes in the update are to the reveal interface. It doesn't affect the gameplay significantly, so you should be ok testing with previous versions.


FYI, It is possible to build a script to start FA with the current Phantom-X mod AND the balance change mod (refer to the LUA files in C:\ProgramData\FAForever\bin and C:\ProgramData\FAForever\logs\forever.log file for the necessary CLI command). That will work ok for offline testing, but you'd have to rig up some sort of IP or LAN game arrangement if you wanted to play with real people.
User avatar
Duck_42
Avatar-of-War
 
Posts: 237
Joined: 29 May 2012, 03:16
Has liked: 5 times
Been liked: 18 times
FAF User Name: Duck_42


Return to Phantom-X

Who is online

Users browsing this forum: No registered users and 1 guest