Results 1 to 14 of 14

Thread: Create a Custom Unit with PFM

Hybrid View

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

    Default Create a Custom Unit with PFM

    I'm requesting someone make a tutorial on how to make custom units using the PFM. i followed the instructions for how to do it with hex editing and tried to follow along doing it in the PFM instead but i'm sure someone could probably explain it better. i'm also trying to do something a little more involved than what that tutorial covers - a matchlock ninja unit for the hattori! haha. ideally i'd like to make a geisha ninja unit! but i can't figure out how to change the unit models. i know someone made a mod changing the officer of the kisho ninja unit to the max-level ninja model, so i'm pretty sure it can be done.
    anyone with the necessary expertise care to help me out?

    thanks!

  2. #2

    Default Re: Create a Custom Unit with PFM

    Quote Originally Posted by madpluck View Post
    I'm requesting someone make a tutorial on how to make custom units using the PFM. i followed the instructions for how to do it with hex editing and tried to follow along doing it in the PFM instead but i'm sure someone could probably explain it better. i'm also trying to do something a little more involved than what that tutorial covers - a matchlock ninja unit for the hattori! haha. ideally i'd like to make a geisha ninja unit! but i can't figure out how to change the unit models. i know someone made a mod changing the officer of the kisho ninja unit to the max-level ninja model, so i'm pretty sure it can be done.
    anyone with the necessary expertise care to help me out?

    thanks!
    I will do this when I have some spare time.
    Btw: Could anyone suggest a reliable pic hoster?
    Don't smoke the seed

  3. #3

    Default Re: Create a Custom Unit with PFM

    Madpluck in the meanwhile u may want to look at the NTW and ETW modding workshop - tutorial pages.

    Lots of great tutorials on how to add units and much other modding stuff and is 95% the same as how things are done in TWS2.

    Agostinos i use the obvious one imageshack and havnt seem to had any problems with them.

  4. #4

    Default Re: Create a Custom Unit with PFM

    thanks guys looking forward to it. trying to look through NTW tutorials but they're rather poorly organized/laid-out. i think i've done everything except the model business which is new to me, but the unit won't show up in game/custom battle even without trying to make all the weird custom model stuff happen so i'm not sure what i'm missing. added the unit in units, and unit_stats_land and buildings_units_allowed and a uniform entry but i still don't see it in custom battles.

  5. #5

    Default Re: Create a Custom Unit with PFM

    Quote Originally Posted by madpluck View Post
    thanks guys looking forward to it. trying to look through NTW tutorials but they're rather poorly organized/laid-out. i think i've done everything except the model business which is new to me, but the unit won't show up in game/custom battle even without trying to make all the weird custom model stuff happen so i'm not sure what i'm missing. added the unit in units, and unit_stats_land and buildings_units_allowed and a uniform entry but i still don't see it in custom battles.
    I believe you also need to add the unit to units_to_groupings_military_permissions for it to show up in custom battles.
    Last edited by Aira; April 10, 2011 at 02:39 AM.

  6. #6

    Default Re: Create a Custom Unit with PFM

    yeah i added it with a "japan" entry but that didn't change anything...thanks though! we're getting closer...

  7. #7

    Default Re: Create a Custom Unit with PFM

    There is definitely something different about Shogun 2 compared to Empire. Editing units or switching them is one thing, but adding them to the ques is a completely different story.

  8. #8

    Default Re: Create a Custom Unit with PFM

    If you want to edit the unit models try looking at the Uniforms_table in patch1, 2, or 3. I did that for my Yari farmer unit.



  9. #9

    Default Re: Create a Custom Unit with PFM

    well i've already tried messing with the uniforms table but that does not seem to be the only piece of the puzzle. i got my unit to show up in game, but even though i've tried cloning two different units: 1 the samurai matchlock and 2 the kisho ninja, and then set it's equipment and skills to matchlock stuff, it still shows up as a samurai matchlock unit! i changed the uniform table, well i cloned the kisho ninja for that so i thought it would work, and i have the "model" value in units set to kisho ninja. the only thing i can think of is i used shogun_man_musket for the animation table and shogun_infantry_teppo for the warscape equipment id. also how would i create a custom info card? like use the max-level ninja portrait for the unit info card?

  10. #10
    Dewy's Avatar Something Witty
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    4,697

    Default Re: Create a Custom Unit with PFM

    Care to upload the files and I'll take a look at it?
    Oh no the picture of my dog disappeared!

  11. #11

    Default Re: Create a Custom Unit with PFM

    haha sure i just added the files to darthmod since it was conflicting (don't worry i have a safe backup copy!)

  12. #12

    Default Re: Create a Custom Unit with PFM

    i've gotten my unit to show up in game and everything, really following agostinos' hex-editing guide. i can't figure out where in the units table you associate your info card files with the unit. since i've cloned a unit i would have thought it would have the same entries but i can't find those. the remaining bit after that is the models. i've read the ETW guide here http://www.twcenter.net/forums/showt...+unit+creation but it only deals with textures not totally changing the model. i know it's not really necessary but it would look cool as to have matchlock-armed geisha or missionaries haha

    sorry for double-post.

  13. #13
    Dewy's Avatar Something Witty
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    4,697

    Default Re: Create a Custom Unit with PFM

    In uniforms change unit idref for your new units. It's adding your new uniform to Inf_Special_Kisho_Ninjas_Hattori which is not the name(s) of your new units. It should be Inf_Missile_Matchlock_Ninja and Inf_Special_Matchlock_Kisho
    Oh no the picture of my dog disappeared!

  14. #14

    Default Re: Create a Custom Unit with PFM

    @Dewy: AMAZING! Thank you! matchlock armed ninjas are incredibly cool-looking! i changed the unit idref like you said, then actually made the uniform file/unit_variant since i hadn't figured out how to do that. next step - battle geisha.

Posting Permissions

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