Results 1 to 3 of 3

Thread: [Question] Adding Cloak To A Custom Unit

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    TuCoT's Avatar Biarchus
    Join Date
    Jan 2009
    Location
    Thrace
    Posts
    606

    Default [Question] Adding Cloak To A Custom Unit

    Hi friends. I've managed to add a custom unit to the game with proper stats, building requirements, long and short descriptions with PFM 3.1.0 and actually it works perfectly but I can't add a cloak to this custom unit of mine.

    Firstly, let me explain you what kind of a unit I added to the game.

    I just copied cel_levy_freemen.variantmeshdefinition and added it as "Gaeroas (Celtic Spear Soldiers)" with slightly altered stats. I just want to add some Celtic cloaks to them so here's my cel_spear_soldiers.variantmeshdefinition codes:

    Spoiler Alert, click show to read: 




    I've tried many things but either my custom units' head becoming bald or their bodies becoming invisible (except hair, shield and weapon).

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

    Default Re: [Question] Adding Cloak To A Custom Unit

    Quote Originally Posted by TuCoT View Post
    Hi friends. I've managed to add a custom unit to the game with proper stats, building requirements, long and short descriptions with PFM 3.1.0 and actually it works perfectly but I can't add a cloak to this custom unit of mine.

    Firstly, let me explain you what kind of a unit I added to the game.

    I just copied cel_levy_freemen.variantmeshdefinition and added it as "Gaeroas (Celtic Spear Soldiers)" with slightly altered stats. I just want to add some Celtic cloaks to them so here's my cel_spear_soldiers.variantmeshdefinition codes:

    Spoiler Alert, click show to read: 




    I've tried many things but either my custom units' head becoming bald or their bodies becoming invisible (except hair, shield and weapon).
    In this line: <SLOT name="cloaks" /> , remove the "/" so it will look like this <SLOT name="cloaks" >.

    The / makes the game ignore that slot.

    This is true to all slots. Basically the rule is this: When you want some thing to appear in the slot than it should look like this -> <SLOT name="something" > and if you don't want to use the slot then add the / in the end <SLOT name="something" />
    Last edited by FaLKReN; October 01, 2013 at 06:03 AM.

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

    Default Re: [Question] Adding Cloak To A Custom Unit

    Oh, what a stupid I am. Noticed that just before looking to this thread. Now working properly with desired parts (cloaks, hairs, trousers). Many thanks FaLKReN!

Posting Permissions

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