Results 1 to 4 of 4

Thread: Simple Question re: Adding units to a Faction

Hybrid View

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

    Default Simple Question re: Adding units to a Faction

    I'm experimenting a little bit with adding some Illyrian units to Epirus. But I found out rather quickly that there's no way to add specific building requirements to Epirus in particular. That is, if I want Illyrian Slave Javelinmen to be trained in the Slave Market only for Epirus, I have to create an entirely new unit (essentially just a copy of the old one). Is this correct?

  2. #2

    Default Re: Simple Question re: Adding units to a Faction

    You can assign that unit to only Epirus (and not the other hellenic factions) in the unit military permissions table.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  3. #3
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Re: Simple Question re: Adding units to a Faction

    Quote Originally Posted by EvilNed View Post
    I'm experimenting a little bit with adding some Illyrian units to Epirus. But I found out rather quickly that there's no way to add specific building requirements to Epirus in particular. That is, if I want Illyrian Slave Javelinmen to be trained in the Slave Market only for Epirus, I have to create an entirely new unit (essentially just a copy of the old one). Is this correct?
    Creating a seperate entry for the special cases is standard practice. The database doesn't normally handle exceptions particularly well (a few tables have true/false switches for such use, but it's not exactly common).
    Quote Originally Posted by Dresden View Post
    You can assign that unit to only Epirus (and not the other hellenic factions) in the unit military permissions table.
    That would only be the case if he only wanted the unit to be recruitable by Epirus, however it sounds more like it's Epirus having greater requirements to recruit said unit.
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

  4. #4

    Default Re: Simple Question re: Adding units to a Faction

    @crzyrndm

    Exactly. Alright, thanks for clearing it up. Just create duplicate entries in all the relevant pack entries I guess. There's probably numerous "create a new unit" tutorials around... Thanks, anyway!

Posting Permissions

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