Jump to content

[V1.07] Time Units First


llunak

Recommended Posts

This mod changes the ground combat panel to have the time units bar as the first one.

timeunitsfirst.jpg

This was originally posted here, but since it looks like the bars are going to stay the way they are in the official game, I've decided to create this as a mod.

The reasons why time units should be first:

- Time units are the most important unit during the ground combat, more important than health. The ground combat is even sometimes described as TU-based. Almost every action changes it, so it is the most often checked value. It is therefore natural to have the most important value as the topmost, instead of in the middle.

- The game always lists time units first everywhere else, be it in the soldier's inventory during the ground combat, or in the soldier equipment tab in the base. This makes the ground combat panel consistent with the rest of the game.

Download:

1.4: [ATTACH]5334[/ATTACH]

How to install:

- Install the mod using launcher's Modding Tools and exit the launcher (or manually unzip into assets/mods/timeunitsfirst/ ).

- (On Unix-like systems, or if you know how to do it) Apply the patch from assets/patches/timeunitsfirst/ to game files and possibly to assets/mods/xce/ files.

- (On Windows) Go to assets/mods/timeunitsfirst/ and run timeunitsfirst.bat . It will patch necessary game files and create backups of them with the .timeunitsfirstbackup extension.

Changelog:

1.4:

  • Apply properly to X:CE 0.27.

1.3:

  • Update to work with X:CE installed using launcher's Modding Tools.

1.2:

  • Fix a crash on smaller resolutions.

1.1:

  • Added a workaround for the game positioning the TU bar far too left (the bug exists even in the unmodified game, but making the TU bar the topmost makes this more visible, so the mod tries to mitigate this by positioning the bar intentionally a bit to the right).

1.0:

  • Initial release.

FAQ:

  • The TU bars are sometimes mis-aligned.
    This is a bug in the progressbar drawing, not in the mod. It has been fixed in X:CE 0.25 . You can try to edit assets/scripts/combatguiexport(_large).lua and decrease widths of xxx_hpbar items by one as a workaround (and it will only mitigate the mis-alignment, not fix it completely).
  • Is this mod compatible with mod XYZ?
    The mod uses a text patch utility that is quite intelligent about merging changes even to files that have been modified. Unless something changes exactly the same items as this mod does (which is unlikely) , there should be no problem. Since other mods seem to work by replacing files as a whole rather than patching them, it is recommended to install this mod as the last one.
  • How do I update this mod if the game updates? Is this mod compatible with game version x.y?
    As said above, the mod is good at patching files even if they have changed slightly, so if the game updates files relevant for this mod and overwrites the changes, it should be enough to apply the patch again (and possibly revert it first). If there will be any problems, the patch utility will report problems while applying the changes (you may need to run the patching from a command shell to see the error messages). Generally, if anything else fails, resetting your game to its original state (e.g. verifying game files in Steam) and applying the patch again should work.

timeunitsfirst.zip

timeunitsfirst.jpg

timeunitsfirst.zip

timeunitsfirst.jpg.92b0bea9a6b66d2e08e1b

Edited by llunak
Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
  • 1 month later...

ok, it appears XNT does nothing to any script files.

not sure what made the script to fail the update of .lua files, maybe Win7 restrictions for "Program files" folder modification. I copied both vanilla and XCE .lua files into a separate folder and ran the script. Then copied the result back to Xeno folders - worked fine

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...