Page 6 of 12 FirstFirst 123456789101112 LastLast
Results 101 to 120 of 234

Thread: How to make a custom unit with PFM

Hybrid View

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

    Default Re: How to make a custom unit with PFM

    @ General George S. Patton

    Have you corrected land units table replacing with the original the historical descriptions entries (_long) since you removed the historical texts table?

    @
    Silven

    Well, that is interesting because it is the first time where a movie pack with a new unit did work and without a required db table!

    Anyway, as I noted the table is in patch_rome2.pack and has the same name except the loc at the end.




  2. #2

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by husserlTW View Post

    Well, that is interesting because it is the first time where a movie pack with a new unit did work and without a required db table!

    See this thread about strange things happening http://www.twcenter.net/forums/showt...modding-issues I am trying to add in the game a new naval unit, and I do not mean the entries in naval_units table, but the whole unit so there is a new naval unit for Rome, a quinquerem with hastati, but I cannot. I think maybe it is happening what Jack Lusted said.
    Last edited by Bethencourt; September 29, 2013 at 04:21 PM.

  3. #3
    Silven's Avatar Biarchus
    Join Date
    Jan 2007
    Location
    The Blazing Hot Sun, Arizona
    Posts
    646

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by husserlTW View Post


    @
    Silven

    Well, that is interesting because it is the first time where a movie pack with a new unit did work and without a required db table!

    Anyway, as I noted the table is in patch_rome2.pack and has the same name except the loc at the end.
    Ya I'm not sure why, but it definitely worked. When I initially tested it in my full movie pack format, I hadn't yet changed the short tooltip to reference a brand new one, i just made it reference a vanilla one that was already present as a placeholder. But as far as it working in movie format, that most certainly worked, and I have no idea why.

    And I don't have a patch_rome2.pack anywhere in my data folder. I ended up finding the table you're talking about in data_rome2.pack, and got everything working. But patch_rome2.pack does not exist in my data folder.

  4. #4

    Default Re: How to make a custom unit with PFM

    Good to here that it worked (obviously I noted wrongly the name of the pack).




  5. #5

    Default Re: How to make a custom unit with PFM

    I'm afraid that hasn't worked either
    twcenter finaly let me give you some rep btw

  6. #6
    Alkimachos's Avatar EoR Modeller
    Join Date
    Mar 2010
    Location
    W. Macedonia, Greece/Hellas
    Posts
    5,361

    Default Re: How to make a custom unit with PFM

    I can see the unit in the custom battle but their bodies are invisible!

    Does anyone knows why this happening?

    Nvm... I did mistake on "unit_variants_tables".
    Last edited by Alkimachos; October 01, 2013 at 06:23 AM.

    East of Rome Co - Leader / Modeller of Asia ton Barbaron / Ex beta tester of Roma Surrectum

  7. #7
    Alkimachos's Avatar EoR Modeller
    Join Date
    Mar 2010
    Location
    W. Macedonia, Greece/Hellas
    Posts
    5,361

    Default Re: How to make a custom unit with PFM

    I've just added a new unit in my mod but the game doesn't start. Could someone help me please?

    Thanks in advance...

    http://www.megafileupload.com/en/fil...h-up-pack.html
    Last edited by Alkimachos; October 02, 2013 at 07:18 AM.

    East of Rome Co - Leader / Modeller of Asia ton Barbaron / Ex beta tester of Roma Surrectum

  8. #8

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by Alkimachos View Post
    I've just added a new unit in my mod but the game doesn't start. Could someone help me please?Thanks in advance...http://www.megafileupload.com/en/fil...h-up-pack.html
    Hey, I took a quick look it seems that in main_units the unique index numbers are not that unique.

    Double check all your tables though you never now when spelling mistakes will creep somewhere.
    Last edited by blackheartz; October 02, 2013 at 10:15 AM.

  9. #9
    Alkimachos's Avatar EoR Modeller
    Join Date
    Mar 2010
    Location
    W. Macedonia, Greece/Hellas
    Posts
    5,361

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by blackheartz View Post
    Hey, I took a quick look it seems that in main_units the unique index numbers are not that unique.

    Double check all your tables though you never now when spelling mistakes will creep somewhere.

    Fixed it! Thank you very very much!

    East of Rome Co - Leader / Modeller of Asia ton Barbaron / Ex beta tester of Roma Surrectum

  10. #10
    TuCoT's Avatar Biarchus
    Join Date
    Jan 2009
    Location
    Thrace
    Posts
    606

    Default Re: How to make a custom unit with PFM

    Thanks for this great guide, friend. I've added some historically accurate units from Europa Barbarorum mod, and maybe I will release them as a pack in near future when it's done:

    Here's my custom Mori Gaesum (Helvetii Phalanx) with proper stats, equipments, variants, animations, attributes/skills, descriptions, unit card, building requirements and custom battle faction availability:

    Spoiler Alert, click show to read: 




    Spoiler Alert, click show to read: 




    Another custom unit; Noricene Gaecori (Noricum Spearmen):

    Spoiler Alert, click show to read: 


    Last edited by TuCoT; October 02, 2013 at 05:59 PM.

  11. #11

    Default Re: How to make a custom unit with PFM

    So...





    from my limited playthrough as Rome and a few other factions, it would seem as though Rome are the only faction with units available, which actually use an Area of Recruitment rule..

    As you can see from the "regionunit_resource_requirement" column they are all labelled "Auxilia" and all belong to the roman faction..

    I havent found other entries for the "Auxilia" in the db yet to get a better understanding of how it fully works..

    Now I may be wrong (and I really, really.. hope I am), but it appears as though Rome are the ONLY faction that have an even slightly interesting recruitment style, where the cultural area effects what units you can recruit..

  12. #12

    Default Re: How to make a custom unit with PFM

    Thanks for the wonderful guide.

    I am trying to make a custom archer unit with it's own bow, but I can't seem to get it.
    Does anyone know which tables I need to modify for a custom projectile with a custom bow?

  13. #13

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by Actus Reus View Post
    So...





    from my limited playthrough as Rome and a few other factions, it would seem as though Rome are the only faction with units available, which actually use an Area of Recruitment rule..

    As you can see from the "regionunit_resource_requirement" column they are all labelled "Auxilia" and all belong to the roman faction..

    I havent found other entries for the "Auxilia" in the db yet to get a better understanding of how it fully works..

    Now I may be wrong (and I really, really.. hope I am), but it appears as though Rome are the ONLY faction that have an even slightly interesting recruitment style, where the cultural area effects what units you can recruit..
    I have the same problem. I want to have Cretan Archers and Rhodian Slingers available for all Greek factions and recruit them as the Roman faction does but so far I cannot make it work.

    Can someone PLEASE PLEASE show a guide on how to do just that?

    My eyes are starting to bleed trying to achieve this .
    Last edited by Oplitis; October 17, 2013 at 05:35 AM.

  14. #14

    Icon6 Re: How to make a custom unit with PFM

    Could someone please have a look at my unit pack and tell me why it freeze on the startup screen, I would be very grateful, as would my sanity.

    +rep of course twcenter willing
    Attached Files Attached Files

  15. #15
    FaLKReN's Avatar Civis
    Join Date
    Sep 2013
    Location
    Budapest, Hungary
    Posts
    196

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by General George S. Patton View Post
    Could someone please have a look at my unit pack and tell me why it freeze on the startup screen, I would be very grateful, as would my sanity.

    +rep of course twcenter willing
    I wasn't able to solve your problem, but here are a few pointers that are definitely causing some trouble

    If you include your own variants, you have to specify them in the variants_tables. That table is missing from your pack.
    I haven't been able to make a unit pack with my own long historical descriptions, so I usually use an already existing one, but that might only be my stupidity.
    If you want to use custom unit cards, you have to include them in your Rome 2 data folder, I found some random ones in your pack, so I assume you want to.

    Also, I know this is basic, but this one saved me a few times: Look for typos, just one can cause your pack to go nuts.

    As I said, even after these alterations I haven't been able to solve it, so there might be other problems with it.
    Last edited by FaLKReN; October 07, 2013 at 11:29 AM.

  16. #16

    Default Re: How to make a custom unit with PFM

    I have made your suggested changes and like you said, it still doesn't work, is anyone else able to help?

    here is a updated zip file
    Attached Files Attached Files

  17. #17

    Default Re: How to make a custom unit with PFM

    My new unit shows up in the game fine, but any changes I make to the stats of other Illyrian units don't. Do you just have to edit their defence/attack/etc in land_units_tables or is there something else to change?

  18. #18

    Default Re: How to make a custom unit with PFM

    anyone know how to get rid of officers? im trying to make 1 man units to create homeric heroes but i dont get my custom 1 man unit, i only get the annoying officer , any ideas on how to do that? i've already tryed to use a blank officer row in land_units_officers table but i only get ctd

  19. #19

    Default Re: How to make a custom unit with PFM

    I seem to have some issues now when I edit units to groupings military permissions tables. If I add anything to it the game crashes at start. Even if I add a unit that does not exist it crashes.

  20. #20

    Default Re: How to make a custom unit with PFM

    I created a new Wardogs unit that isn't appearing when I go to custom battle.

    Is this because there is no special category under the faction I made it for? If so, can I add one?

Posting Permissions

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