Page 7 of 12 FirstFirst 123456789101112 LastLast
Results 121 to 140 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

    Well its working.... but it also somehow turned every bit of clothing in the game neon pink.

    While that would make an interesting campaign, can anyone tell me what I screwed up?

  2. #2
    Ritter-Floh's Avatar Artifex
    Join Date
    May 2011
    Location
    Bavaria
    Posts
    2,449

    Default Re: How to make a custom unit with PFM

    Hello at all!

    I think i need some help. i create a new unit and i will use my own variantmesh for this unit. All works really fine - but the unit is invisible in battle. i can only see the officer, the solders are transparent...

    in unit_variants i use my own variant and the name of the varianmeshdefinition ist the same like the variant in unit_variants

    What is wrong with my work?

    Edit: Problem solved!
    Last edited by Ritter-Floh; October 22, 2013 at 12:37 PM.

  3. #3
    Aguirre's Avatar Decanus
    Join Date
    Apr 2008
    Location
    Gothenburg
    Posts
    548

    Default Re: How to make a custom unit with PFM

    Hi all and thanks blackheartz for a very informative guide. I did what it said as well as I could but somewhere something must be wrong. I have most variantmeshdefinitions ready for a Seleucid Extension mod, but can't get the mod to work, it freezes at startup.
    I have edited other mods for while with pfm, but when trying to make my own with new custom units, Im cut short. Would anyone be kind enough to take a look at my mod and decipher the error? I can send it by pm? its only one unit, using a vanilla model and named is named Gre_Chrysaspides_Pike, available only for Seleucids.

    http://www.putlocker.com/file/EF47E87A7C72D13A

    Furthermore I would like to know exactly how to add your own Variantmeshdefinition to the unit in the mod? Like radious unit packs. Cheers and sorry for repeated questions, can only give in return a promise of an awesome seleucid rooster
    Last edited by Aguirre; October 22, 2013 at 11:58 AM.

  4. #4

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by Aguirre View Post
    Hi all and thanks blackheartz for a very informative guide. I did what it said as well as I could but somewhere something must be wrong. I have most variantmeshdefinitions ready for a Seleucid Extension mod, but can't get the mod to work, it freezes at startup.
    I have edited other mods for while with pfm, but when trying to make my own with new custom units, Im cut short. Would anyone be kind enough to take a look at my mod and decipher the error? I can send it by pm? its only one unit, using a vanilla model and named is named Gre_Chrysaspides_Pike, available only for Seleucids.

    http://www.putlocker.com/file/EF47E87A7C72D13A

    Furthermore I would like to know exactly how to add your own Variantmeshdefinition to the unit in the mod? Like radious unit packs. Cheers and sorry for repeated questions, can only give in return a promise of an awesome seleucid rooster
    Hey, sorry I did not respond to you earlier, I do not have much free time theses days. So, I checked the file you uploaded. The problem seems to be that you had 4 blank rows in building_units_allowed. Also this table was not minimized but that is more of an optimisation thing. Note: The games runs fine now and the unit appears in the Seleucid roster on the custom battle menu. I have not checked it further.

    Here is the file http://www.putlocker.com/file/B8CF7F4D1513AC96.

    I will try to post about the variantmeshes sometime later.

  5. #5

    Default Re: How to make a custom unit with PFM

    Hello and thank you for the work of making a guide... I still cannot get my mod to work. I want to add a pikemen for the eastern factions, but the game freezes on startup. The mod is very small and I hope someone could help me out. http://www.putlocker.com/file/78140253D2415DB1 ( I am using Silver Shield Pikes for variants and unit cards, before I am going to do my own / I have already tried different index numbers -> still the same problem or I am just unlucky / not the final version, I was just getting started but I am already stuck )

  6. #6

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by knacki View Post
    Hello and thank you for the work of making a guide... I still cannot get my mod to work. I want to add a pikemen for the eastern factions, but the game freezes on startup. The mod is very small and I hope someone could help me out. http://www.putlocker.com/file/78140253D2415DB1 ( I am using Silver Shield Pikes for variants and unit cards, before I am going to do my own / I have already tried different index numbers -> still the same problem or I am just unlucky / not the final version, I was just getting started but I am already stuck )
    nvm.

    I have made the mod again, but with a little bit different approach and now it is working. I am not so sure what the problem was... maybe that I cloned the rows instead of added them?

  7. #7
    Aguirre's Avatar Decanus
    Join Date
    Apr 2008
    Location
    Gothenburg
    Posts
    548

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by knacki View Post
    nvm.

    I have made the mod again, but with a little bit different approach and now it is working. I am not so sure what the problem was... maybe that I cloned the rows instead of added them?

    could you upload it for me so that I can look at it and check if mine's the same?

  8. #8

    Default Re: How to make a custom unit with PFM

    It keeps freezing in the loading screen! Could someone please check it and test it?

    http://www.mediafire.com/download/hf...anPikemen.pack

    Thanks

  9. #9

    Default Re: How to make a custom unit with PFM

    Hello, I made this mod 2 days ago(it adds 15 vanilla units to sparta) it was working until I create a new unit, can someone help me?
    http://www.mediafire.com/download/fw...nic_units.pack

  10. #10

    Default Re: How to make a custom unit with PFM

    the new unit i want to add is Cypriot Hoplites and the unit key is Gre_Cypriot_Hoplites i dont know whats going wrong so please help me i woud be greateful to you please make me happy
    Cyprus imy country so this is really importand for me


    the pack is the attachment just unzip
    Attached Files Attached Files

  11. #11

    Default Re: How to make a custom unit with PFM

    I can't seem to get the loc file (unit names/descriptions) part of my mod to work. I take it the vanilla loc is still overriding the modded loc file? Any one know how I can make my modded loc to work?

  12. #12

    Default Re: How to make a custom unit with PFM

    Ah i figured it out - needed to alter a few things in the land units table.

  13. #13
    Brivime's Avatar Ordinarius
    Join Date
    Nov 2012
    Location
    Spain
    Posts
    740

    Default Re: How to make a custom unit with PFM

    Can you please tell me what I am doing wrong with this one? It gives me a CTD when I select the pack on Mod Manager.

    http://up.ht/1gaHCOA

    There should only be one unit there I'm testing with.

    Also how do I make a unit for more than one faction?

  14. #14

    Default Re: How to make a custom unit with PFM

    Hello guys, I have taken a look in your packs. So lets see:

    Quote Originally Posted by benedu3095 View Post
    Hello, I made this mod 2 days ago(it adds 15 vanilla units to sparta) it was working until I create a new unit, can someone help me?
    http://www.mediafire.com/download/fw...nic_units.pack
    This pack is a mess. It has many redundant db tables. Moreover in buildings_units_allowed there are many entries with no unique keys which is probably the reason for the crash.

    Quote Originally Posted by andreas e View Post
    the new unit i want to add is Cypriot Hoplites and the unit key is Gre_Cypriot_Hoplites i dont know whats going wrong so please help me i woud be greateful to you please make me happy
    Cyprus imy country so this is really importand for me
    The tables are not minimized and there was an empty line in buildings_units_allowed. Also there seemed to be some problem with your variantmeshes as they appeared red in my PFM.


    Quote Originally Posted by Brivime View Post
    Can you please tell me what I am doing wrong with this one? It gives me a CTD when I select the pack on Mod Manager.

    http://up.ht/1gaHCOA

    There should only be one unit there I'm testing with.

    Also how do I make a unit for more than one faction?
    The db tables are not renamed and that causes the crash. Also you have deleted all the entries in the text land_units and not renamed it so no units exist in the game.

    There might be other things wrong too, I did not check the packs line by line. Be patient and have fun modding!!
    Last edited by blackheartz; November 01, 2013 at 02:16 PM.

  15. #15
    Rewinged's Avatar Civis
    Join Date
    Nov 2006
    Location
    Australia
    Posts
    146

    Default Re: How to make a custom unit with PFM

    I've been working on a Syracuse mod for the last few days but I'm kind of stumped on what to do for the units. I have a list of units from other factions that I want them to have (and can alter later if need be) but because they aren't a major faction, I'm not even sure which building chain they use exactly. If they share the building chain of, say, Athens, I wouldn't want Athens to be able to train all the units too. I'm beginning to think it may be easier to create a whole new building chain for Syracuse, which would be such a pain haha.



  16. #16

    Default Re: How to make a custom unit with PFM

    Quote Originally Posted by Rewinged View Post
    I've been working on a Syracuse mod for the last few days but I'm kind of stumped on what to do for the units. I have a list of units from other factions that I want them to have (and can alter later if need be) but because they aren't a major faction, I'm not even sure which building chain they use exactly. If they share the building chain of, say, Athens, I wouldn't want Athens to be able to train all the units too. I'm beginning to think it may be easier to create a whole new building chain for Syracuse, which would be such a pain haha.
    All Hellenic factions use the same building chain.

  17. #17

    Default Re: How to make a custom unit with PFM

    Thanks for the instructions. I've never modded anything before so this took me a few hours to figure out. It was worth it though. Carthage can now recruit Balearic Slingers. There is so much I'd like to change/add to the Carthaginian faction. Now to figure out how to change Faction leader names and stats.

  18. #18

    Default Re: How to make a custom unit with PFM

    I made a new .pack only with my new unit, it works but the name of the unit doesn't show up.


    http://www.mediafire.com/?9jxivt75vffzk5p

  19. #19

    Default Re: How to make a custom unit with PFM

    Posting my mod to get some help on it. I don't know where this mystical typo that's preventing it from launching is. I've been looking at it for 5 hours and can't find anything.

    https://www.dropbox.com/s/pvrfdjk8dz..._Expanded.pack




    "In a man to man fight the winner is he with one more bullet in his clip."
    - Field Marshal Erwin Rommel

    "Suffer not the Witch to live, nor the Heretic to spread his lies!"

  20. #20

    Default Re: How to make a custom unit with PFM

    That sounds like a text issue.




    "In a man to man fight the winner is he with one more bullet in his clip."
    - Field Marshal Erwin Rommel

    "Suffer not the Witch to live, nor the Heretic to spread his lies!"

Posting Permissions

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