Results 1 to 7 of 7

Thread: New unit does not show up

Hybrid View

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

    Default New unit does not show up

    Hi everyone,
    Recently I tried to add new units for my mod. But they don't show up at all in the custom battle menu (and maybe even in the campaign). I thought it was a permission error, but it isn't. The units are set to recruitable.
    Can you check it out and tell me what's wrong?
    The new unit is the first in every table (I marked it with "AA").
    Thanks.

    Greetings
    Attached Files Attached Files
    Last edited by Freelancer Tex; August 23, 2013 at 08:00 AM.

    If you are depressed, just stop being depressed.
    - Ace Rimmer | March 18th ,2014

  2. #2
    Frodo45127's Avatar Artifex
    Patrician

    Join Date
    Dec 2011
    Location
    Lost In Translation
    Posts
    440

    Default Re: New unit does not show up

    Ok I checked the mod and works, but I see some problems:
    - The unit is not recruitable in campaign: This is because you must add the unit to the table "building_units_allowed" in order to tell the game in what buildings you want to recruit the unit.
    - The unit doesn't shoot: This is because you must to put in the column "default_missile_type" of the table "units_stats_land" the type of proyectile you use.
    And this is more an advice: if you want to use this units with all FOTS factions, add it to the table "units_to_groupings_military_permissions". If you want to use it in only one faction, add it to "units_to_exclusive_faction_permissions" instead of "units_to_groupings_military_permissions".

  3. #3

    Default Re: New unit does not show up

    First of all, thanks for the reply.

    Quote Originally Posted by Frodo45127 View Post
    Ok I checked the mod and works, but I see some problems:
    It works?! It doesn't work to me! I can't see the unit in Custom Battles! How did you see it?

    Quote Originally Posted by Frodo45127 View Post
    - The unit is not recruitable in campaign: This is because you must add the unit to the table "building_units_allowed" in order to tell the game in what buildings you want to recruit the unit.
    Right now, I just want to test the units in custom battles. I'm not interested in campaign, that's why I didn't add that table.

    Quote Originally Posted by Frodo45127 View Post
    - The unit doesn't shoot: This is because you must to put in the column "default_missile_type" of the table "units_stats_land" the type of proyectile you use.
    Must have forgotten that.

    Quote Originally Posted by Frodo45127 View Post
    And this is more an advice: if you want to use this units with all FOTS factions, add it to the table "units_to_groupings_military_permissions". If you want to use it in only one faction, add it to "units_to_exclusive_faction_permissions" instead of "units_to_groupings_military_permissions".
    I knew it from modding Empire, but I read in a tutorial that for some reason it does require the "units_to_groupings_military_permissions" to the unit to show up, even if it is already added to the "units_to_exclusive_faction_permissions".
    I added both tables just to be sure.
    Last edited by Freelancer Tex; August 23, 2013 at 03:06 PM.

    If you are depressed, just stop being depressed.
    - Ace Rimmer | March 18th ,2014

  4. #4
    Frodo45127's Avatar Artifex
    Patrician

    Join Date
    Dec 2011
    Location
    Lost In Translation
    Posts
    440

    Default Re: New unit does not show up

    Quote Originally Posted by Freelancer Tex View Post
    It works?! It doesn't work to me! I can't see the unit in Custom Battles! How did you see it?
    I only copy the mod to data folder and activate it in modmanager. Like any other mod. Maybe you have other mod incompatible.

    Quote Originally Posted by Freelancer Tex View Post
    I knew it from modding Empire, but I read in a tutorial that for some reason it does require the "units_to_groupings_military_permissions" to the unit to show up, even if it is already added to the "units_to_exclusive_faction_permissions".
    I added both tables just to be sure.
    The table "units_to_groupings_military_permissions" it's not required if you use the table "units_to_exclusive_faction_permissions".

  5. #5

    Default Re: New unit does not show up

    Quote Originally Posted by Frodo45127 View Post
    I only copy the mod to data folder and activate it in modmanager. Like any other mod. Maybe you have other mod incompatible.
    And then I really don't understand. Can't see my units, and no other mod is installed.
    Just great.

    If you are depressed, just stop being depressed.
    - Ace Rimmer | March 18th ,2014

  6. #6

    Default Re: New unit does not show up

    I looked in the units_to_exclusive_faction_permissions. It looks like that unit can only be recruited by Sendai. That is who you were playing as right?

  7. #7

    Default Re: New unit does not show up

    Quote Originally Posted by kugkings View Post
    I looked in the units_to_exclusive_faction_permissions. It looks like that unit can only be recruited by Sendai. That is who you were playing as right?
    Of course.
    Even though, that they should be recruitable by all boshin factions, because I added a line for them in the units_to_groupings_military_permissions.

    If you are depressed, just stop being depressed.
    - Ace Rimmer | March 18th ,2014

Posting Permissions

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