Page 9 of 12 FirstFirst 123456789101112 LastLast
Results 161 to 180 of 234

Thread: How to make a custom unit with PFM

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    AngryTitusPullo's Avatar Comes Limitis
    Join Date
    Jan 2006
    Location
    Kuala Lumpur
    Posts
    13,018

    Default Re: How to make a custom unit with PFM

    Still couldn't figure out why one works and the other one didn't.


    CIVITATVS CVM AVGVSTVS XVI, MMVI
    IN PATROCINIVM SVB Dromikaites SVB MareNostrum SVB Quintus Maximus
    Want to know more about Rome II Total Realism ? Follow us on Twitter & Facebook

  2. #2

    Default Re: How to make a custom unit with PFM

    what exactly do I have to do to add a custom unit with a custom variantmeshdefinition? So far all I can do is edit an existing variantmeshdef., so the vanilla unit design will change, too.

  3. #3

    Default Re: How to make a custom unit with PFM

    When I go into building units allowed, it will not let me enter my unit key. It only gives me pre-selected choices from a drop down menu. How can I put my unit in there?

  4. #4

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by Ambigatos View Post
    When I go into building units allowed, it will not let me enter my unit key. It only gives me pre-selected choices from a drop down menu. How can I put my unit in there?
    There are two check boxes at the top of the table. When you uncheck them you can type in the fields of the table

  5. #5

    Default Re: How to make a custom unit with PFM

    I almost got it! Thanks for your patience. I just have two minor things i need to iron out.

    1. How do I get the unit stats and abilities to show up in custom battles or encyclopedia when I right click on the unit card?
    2. My unit functions as intended, but the javelin heads do not appear when on the battlefield. Once the unit starts to throw them they appear, but when standing still they look like this....

    http://cloud-4.steampowered.com/ugc/...763BF93B07727/

  6. #6

    Default Re: How to make a custom unit with PFM

    In regards to #1, it's ok. I see that I can see the unit stats when I hover over the unit card in the battlefield, so that's cool. In regards to #2, I noticed that none of the skirmisher units in my game have javelin heads when I look at them on the battlefield. So it's not just my modded unit. Was it always like that? I guess I never noticed.

  7. #7

    Default Re: How to make a custom unit with PFM

    Disregard my last post. I realise the javelins are facing downwards. Wow, that was embarrassing,lol. Long day.

    Anyways, my new unit looks and functions like I intended. Perfect...almost. I realised that my new unit took the unit card from an existing vanilla unit. Now the other unit in game has a completely different unit card. The Arverni Naked Warrior now has a Roman ship for a unit card ?!! How do I fix that? Or how do I avoid that from happening when creating a unit in PFM?


    Thanks.

  8. #8

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by Noif de Bodemloze View Post
    I have tried get my first custom unit to done and I have all files what need to make a custom unit, but weird it cause me crash a lot. I have talked with Radious and Zarkar about this and after changes, they did not found any issue what might cause this. So sad. Even I don't know what can cause this.
    You can upload your pack file if you want and I will try to check it as soon as possible.

    Quote Originally Posted by Vilu View Post
    That is for faction groups. Some factions have their own unique grouping, like Sparta, Boii, Nervii and Rome. But some do not, like Arveni and Suebi which got the grouping for gallic and germanic, that also include most of the other tribes around them. That is the reason why Boii and Nervii do not get savage dogs, as they got their own military group and are not part of the gallic group while savage dogs are assigned to gallic group in units_to_groupings_military_permissions table.


    If one wants to add units to specific faction (lets say for Suebi, without adding it to all of the germanic tribes), units_to_exclusive_faction_permissions is the right table, i believe.

    Well, at least in my tests I added savage dogs to Suebi in that table, and i could recruit them in campaign. Don't know if that is the 100% right way to add unit(s) to a specific faction, but it did the trick for me. It didn't remove the dogs from Arveni either, as i did do a quick test to see if i still could recruit them.
    What you say is true, I have not updated the guide as I was planning so some sections are a little undetailed.

    Quote Originally Posted by Maetharin View Post
    Hi, i really appreciate this whole thread, it really helped me with my custom unit, but does anyone know how i can change my unit into another one after i researched a technology?
    Like the Hastati & Principes becoming legionairies...
    I believe the table you need is the technology_unit_upgrades.

    Quote Originally Posted by Ambigatos View Post
    Disregard my last post. I realise the javelins are facing downwards. Wow, that was embarrassing,lol. Long day.

    Anyways, my new unit looks and functions like I intended. Perfect...almost. I realised that my new unit took the unit card from an existing vanilla unit. Now the other unit in game has a completely different unit card. The Arverni Naked Warrior now has a Roman ship for a unit card ?!! How do I fix that? Or how do I avoid that from happening when creating a unit in PFM?
    Thanks.
    Probably in the units_variants table you have made a spelling mistake on the unit card column or you are pointing to a non-existent unit card.

  9. #9
    Noif de Bodemloze's Avatar The Protector of Art
    Content Emeritus

    Join Date
    Apr 2009
    Location
    Finland
    Posts
    5,747

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by blackheartz View Post
    You can upload your pack file if you want and I will try to check it as soon as possible.
    here you go
    http://www.mediafire.com/download/pv..._hoplitai.pack

    I totally suck in custom unit that I don't know what cause crash in begin of game. I hope somebody can solve this for me because even Radious or Zaskar can't find it.

  10. #10

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by Le_Swede View Post
    Is this tutorial applicable to the assembly kit? If no can someone point me in the right direction for a similar guide to it?
    No there are quite a few differences in how things work with the assembly kit. For starters you can read http://www.twcenter.net/forums/showt...mbly-Kit-Guide.


    Quote Originally Posted by Noif de Bodemloze View Post
    here you go
    http://www.mediafire.com/download/pv..._hoplitai.pack

    I totally suck in custom unit that I don't know what cause crash in begin of game. I hope somebody can solve this for me because even Radious or Zaskar can't find it.
    I checked your pack and indeed there does not seem to be anything wrong with it. Maybe some weird corruption is going on, maybe we are all missing some spelling mistake that is causing the crushes. Try to recreate the pack from scratch and go on table at a time just to be sure. Lestat had a problem where if he copied stuff from land_units or main_units some column would not be copied and later it would cause a crush. I am not sure if PFM gives a warning message for there kind of things.

  11. #11

    Default Re: How to make a custom unit with PFM

    I don't know where I should put this, but I'm having issues with my unit pack, it's a small pack adding 10 units to massalia
    I was wondering if maybe someone could take a look at it and tell me what I did wrong
    I already used this tread to make it check it 4 times step by step, and if this is the wrong place, where do I go?
    http://www.mediafire.com/download/mv.../Massalia.pack

  12. #12

    Default Re: How to make a custom unit with PFM

    I make a custom unit name Urban Cohort base on Preatorian Guard. The only issue that despite I add desc for my unit in unit_desc_short_text.loc, my unit's short desc still use Preatorian Guard's short desc.

  13. #13
    Maetharin's Avatar Senator
    Join Date
    Oct 2013
    Location
    Austria
    Posts
    1,483

    Default Re: How to make a custom unit with PFM

    Hi, i really appreciate this whole thread, it really helped me with my custom unit, but does anyone know how i can change my unit into another one after i researched a technology?
    Like the Hastati & Principes becoming legionairies...

  14. #14

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by blackheartz View Post
    units_to_groupings_military_permissions --> Which factions can use the unit.
    That is for faction groups. Some factions have their own unique grouping, like Sparta, Boii, Nervii and Rome. But some do not, like Arveni and Suebi which got the grouping for gallic and germanic, that also include most of the other tribes around them. That is the reason why Boii and Nervii do not get savage dogs, as they got their own military group and are not part of the gallic group while savage dogs are assigned to gallic group in units_to_groupings_military_permissions table.


    If one wants to add units to specific faction (lets say for Suebi, without adding it to all of the germanic tribes), units_to_exclusive_faction_permissions is the right table, i believe.

    Well, at least in my tests I added savage dogs to Suebi in that table, and i could recruit them in campaign. Don't know if that is the 100% right way to add unit(s) to a specific faction, but it did the trick for me. It didn't remove the dogs from Arveni either, as i did do a quick test to see if i still could recruit them.

  15. #15
    Noif de Bodemloze's Avatar The Protector of Art
    Content Emeritus

    Join Date
    Apr 2009
    Location
    Finland
    Posts
    5,747

    Default Re: How to make a custom unit with PFM

    I have tried get my first custom unit to done and I have all files what need to make a custom unit, but weird it cause me crash a lot. I have talked with Radious and Zarkar about this and after changes, they did not found any issue what might cause this. So sad. Even I don't know what can cause this.

  16. #16

    Default Re: How to make a custom unit with PFM

    Is this tutorial applicable to the assembly kit? If no can someone point me in the right direction for a similar guide to it?

  17. #17

    Default Re: How to make a custom unit with PFM

    I know this is probably the wrong place to post this, but I can't find what I've done wrong
    I've made and checked it 4 times step by step using this guide but I can't find the problem
    I was wondering if maybe someone could have a look and tell me what I did wrong, the game won't even start, it's a unit pack for Massalia,

    http://www.mediafire.com/download/mv.../Massalia.pack

  18. #18

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by blackheartz View Post
    Now to the final db table, unit_variants. Here we can set our units variantmeshes and unit cards, as well as change its predetermined from the man_entiry column height. For this expample we will use variantmeshes and unit cards that are already in the game, cause you are probably tired and possibly frustrated or bored by now and want to end this. I know I am frustrated cause the forum ate my post and I had to re-write some stuff. Once more we will copy the Gre_Light_Cav unit, leave its unit card and variant untouched and change the unit and name columns to Gre_Periokoi_Cav.
    I am not tired nor frustrated and need some advices, because I just can't get the PFM to all me to chose my own variant mesh.

    I've created myself a new .VariantMeshDefinition file with the assembly kit, based on an existing unit. Now I've put this file into the "/variantmeshes/variantmeshdefinitions/" of my mod pack file. Also I've added them in a new file under variants_tables and unit_variants_tables, because I thought it might belong in there. That's how far I got. If I now try to define it for my unit in the unit_variants_table, it doesn't show up.

    What am I doing wrong?

  19. #19
    Kraut and Tea's Avatar Campidoctor
    Join Date
    Apr 2013
    Location
    Home
    Posts
    1,550

    Default Re: How to make a custom unit with PFM

    Thanks for the help!


  20. #20
    Kraut and Tea's Avatar Campidoctor
    Join Date
    Apr 2013
    Location
    Home
    Posts
    1,550

    Default Re: How to make a custom unit with PFM

    Hello started modding recently and have encounterd a problem with the PFM

    Everytime I open a pack. the tables are colored red and I can no longer view what is in them.

    It looks like this:



    Does anyone here know how to resolve this matter?

Posting Permissions

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