Results 1 to 9 of 9

Thread: Removing Bullet Points

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Removing Bullet Points

    In the process of making some alterations to existing units, I want to get rid of the weak anti-armor bullet point on a unit card to which it no longer applies.

    The bullet point assignments to unit cards appear to live in data/db/ui_unit_bullet_point_unit_overrides_tables/data__core and this is how I was able to apply the Armor Piercing Missiles bullet point.

    Removing one however seems to be another matter entirely. The only way I can achieve this at present is to copy the entire table over to the mod, remove the relevant row and retain the original naming structure so as to overwrite the whole vanilla table. But this seems like it would create serious problems for compatibility.

    Anyone got a solution for this?

  2. #2
    Mooncabbage's Avatar Ducenarius
    Join Date
    Oct 2005
    Location
    Australia
    Posts
    990

    Default Re: Removing Bullet Points

    Can your not just create your own table with only the entries you need to override?

    data/db/ui_unit_bullet_point_overrides_tables/my_data << add lines for the ones you want to remove
    Not actually on the moon.

    Empire: Tactical Warfare Mod v1.0

  3. #3

    Default Re: Removing Bullet Points














    vanguard_deployment wh_main_emp_cav_pistoliers_1
    very_fast wh_main_emp_cav_pistoliers_1
    weak_anti_armour wh_main_emp_cav_pistoliers_1


    A renamed table (my_data for example) will only overwrite vanilla for what exists in the mod table. A missing value is simply interpreted as nothing to override and leaving a field blank causes a CTD when the unit is selected

  4. #4
    Mooncabbage's Avatar Ducenarius
    Join Date
    Oct 2005
    Location
    Australia
    Posts
    990

    Default Re: Removing Bullet Points

    That's what I mean. Just break it in the one place, and let it be a load order issue.
    Not actually on the moon.

    Empire: Tactical Warfare Mod v1.0

  5. #5

    Default Re: Removing Bullet Points

    No, unfortunately not. If I remove the row, the mod simply doesn't override it (as there is no instruction from the mod to do so) and changing the row has the effect of creating a new entry. The only way I have right now to remove a row is to change the entire table.

  6. #6
    Mooncabbage's Avatar Ducenarius
    Join Date
    Oct 2005
    Location
    Australia
    Posts
    990

    Default Re: Removing Bullet Points

    I see what you're saying, I took a second to look at the file. No, I don't think there is any way to remove the bullet points without either overwriting the whole file, or renaming the units completely in the files. That said, any mod that changes this file, is probably also changing vanilla units anyway, so the compatibility is up in the air. Since you say you're altering _some_ units, rather than just one, it's fair to say what you're doing sounds more like an overhaul, and you might be better off altering the whole file and breaking compatibility on purpose. Better to break loud than break quiet.
    Not actually on the moon.

    Empire: Tactical Warfare Mod v1.0

  7. #7

    Default Re: Removing Bullet Points

    I figure the only solution is to replicate the unit with the desired alterations, include only the bullet points I want and then change the recruitment building to produce my modded unit in place of the vanilla one. That'd leave the table compatible with other mods. Its just a lot more work.

  8. #8

    Default Re: Removing Bullet Points

    Hm. That's not going to help either, id have to overwrite the entire building_units_allowable table to disallow the vanilla version of the unit, else its just going to allow both.

  9. #9

    Default Re: Removing Bullet Points

    Leaving the bullet point in seems the better choice honestly. Its unsightly (although technically correct, the unit is garbage against armor in melee so...) but its more compatible.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •