Once I figured that out, I realized that Phantom-X update 2 wouldn't even run because I forgot a parenthesis. To boot, it also still didn't fix the pAlert bug from the first update.
So, now that I've actually tested the code and got it working, here's update #3.
Fixes/Changes:
-Added that missing parenthesis
-Fixed pAlert bug (in-game announcements for last phantom being revealed)
-Fixed Name placeholder bug (extra name placeholder would show until after first phantom was revealed)
-Changed tooltip text to clearly indicate Phantom 1 reveal time is time after selection
-Added phantom numbering to UI (so if you're phantom, you'll know where you are in the reveal order).
-Fixed reveal countdown timer so that it doesn't keep counting down after all revealable phantoms have been shown.
(this only happens if Phantom 1 or 2 are set to never and phantom 2 or 3 are set to some number)
-Changed energy storage unit definition to match current FAF definition (no code changes, only need bp files deleted)
Here are the updated files
Phantom-X Fix 3.zip
At this point, I need someone with appropriate code access to make the following changes:
Replace /lua/PhantomSim.lua
Replace /modules/phantom.lua
Replace /phantomxhook/lua/ui/help/tooltips.lua
Remove /phantomxhook/units/UAB1105/UAB1105_unit.bp
Remove /phantomxhook/units/UAB1106/UAB1106_unit.bp
Remove /phantomxhook/units/UEB1105/UEB1105_unit.bp
Remove /phantomxhook/units/UEB1106/UEB1106_unit.bp
Remove /phantomxhook/units/URB1105/URB1105_unit.bp
Remove /phantomxhook/units/URB1106/URB1106_unit.bp
Remove /phantomxhook/units/XSB1105/XSB1105_unit.bp
Remove /phantomxhook/units/XSB1106/XSB1106_unit.bp
Also want to say thanks to the FAF admins for keeping a great game up and going. I know it's a lot of work.Statistics: Posted by Duck_42 — 09 Jun 2012, 02:56
]]>