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 , 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
Oh and mead...get rid of the PhantomSim.bak file. It annoys me greatly.