Results 1 to 18 of 18

Thread: -HELP- Does anyone know how the Hero Recruitment Panel populates?

Hybrid View

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

    Default -HELP- Does anyone know how the Hero Recruitment Panel populates?

    Does anyone know how the Lord and Hero recruitment panel populates?

    Is it done with a script or is it a function of agent_subtypes and start_pos_characters?


    Trying to get this damn custom lord in game is driving me utterly bat$%!#crazy!

    I have resorted to making one single change at a time before testing it in game and NOTHING!! NOTHING is changing! AAAAHHHHHHHHH!

    Modding with this godawful tool is why cartoon characters run screaming straight through walls, leaving behind that perfect person shaped cut out!

  2. #2

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    you need to edit "agent_subtypes", "faction_agent_permitted_sutypes" and "agent_culture_details" tables

  3. #3

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    Those are among the files I have edited.

    I am trying to make a new, custom Death Knight Legendary Lord for the vampire counts based on the Wight King model and icons.

    So far I can get the unit stats and skills in game but the model ALWAYS >.< looks like a damn Vampiress and I can only do it with agent_subtypes auto generate set to true, and then it just make random named lords each round.

    I want ONE Death Knight with a custom name and the correct model and portrait.

    No matter what I have changed the model and icon is always the vampiress. I just cannot seem to figure out why the game seems to default to that model regardless of what I change.

    I have edited the following

    For Skill and abilities
    character_skill_level_details
    character_skill_level_to_ancillaries_junctions
    character_skill_level_to_effects_junctions
    character_skill_nodes
    character_skills
    special_ability_phases
    special_ability_to_invalid_usage_flags
    unit_special_abilities
    land_units_to_unit_abilites_junctions


    For the unit
    land_units
    main_units
    melee_weapons
    start_pos_characters
    agent_culture_details
    agent_uniforms
    agent_subtype
    campaign_character_arts
    campaign_character_art_sets
    variants
    unit_variants
    battle_set_pieces_armies_characters
    faction_agent_permitted_subtypes
    commander_unit_permissions
    names
    unit_to_groupings_military_permissions
    groupings_military
    unit_set_to_unit_junctions



    Everything seems to be pointing to the Wight King model and icon but time and again the unit in game is the Vampiress.
    ideas?


    Cheers!
    -Rov

  4. #4

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    Upload your mod Rovaeden, I think I know here is your problem

  5. #5

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    Here is an upload.

    I tossed out my old work and started over, hoping that I could better track my changes and find out what was going wrong with a clean version. I ended up having the same problems however and being unable to track them down.

    What I want to do, ultimately, is have a Death Knight Legendary Lord who upgrades to riding a Barded Nightmare and then to riding a Zombie Dragon.

    In this version, I only have the foot soldier created as I was planning to get the base unit working before I added the mounts.

    I also am going to create his own custom skill set, but for the moment I was going to link to Mannfred's skills for testing. I never got around to linking the skills in this iteration because the main unit itself was not working, but I know how to link the skills... hell, its the one damn thing that I actually can get to work! >.<


    Anyway, if you want to take a crack at it, be my guest.

    Thank you for your time, either way.


    Cheers!
    -Rov
    Attached Files Attached Files

  6. #6

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    it works






    I just modified


    ''agent_culture_details_tables'' => gender general have no gender














    general
    wh_main_vmp_vampire_counts
    wh_main_vmp_cha_deathknight_rov_0
    552
    0

    m
    UI/units/icons/wh_main_vmp_wight_king.png
    ui/campaign ui/agents/wh_main_vmp_champion.png















    general
    wh_main_vmp_vampire_counts wh_main_vmp_cha_deathknight_rov_0
    552
    0 UI/units/icons/wh_main_vmp_wight_king.png
    ui/campaign ui/agents/wh_main_vmp_champion.png




    "campaign_character_art_sets" Change "is_custom" TRUE => FALSE













    general wh_main_art_set_vmp_deathknight_rov_0
    wh_main_vmp_vampire_counts True
    True
    vmp_deathknight_rov
    1














    general wh_main_art_set_vmp_deathknight_rov_0
    wh_main_vmp_vampire_counts False
    True
    vmp_deathknight_rov 1

  7. #7

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    your lord and my custom agent together for the battle

    Beware your lord have 809 to morale
    And you forget to edit ui_unit_bullet_point_unit_overrides_tables (green text)




  8. #8

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    OMG I NEVER would have thought to turn off gender! Why the $%#@ would they make that flag so important!? LOL

    Thank you!


    And yes, I set attribute values high for testing. It makes it easier to see if it changed if the value is much different than default values of similar units. I still have a lot of work to do polishing up the lord, but I had stopped working on it because I could not find a fix to make the proper model show up.


    Thank you so much! Going to go and try your fix myself now! XD

  9. #9

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    Ok, awesome! One step forward. I have him in game! Still not a custom legendary lord, but one step at a time, and progress is progress.

    Do you know why the Paladin icon is showing up on the Recruit Lord panel instead of the Wight King icon?



    Also, do you know why his cloak and armor keep changing color?

    I would like it if he remained black. Is there some way to do that?



    Thank you once again!


    -Rov
    Attached Thumbnails Attached Thumbnails 20160601185631_1.jpg   20160601185610_1.jpg   20160601185511_1.jpg  

  10. #10

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    Quote Originally Posted by Rovaeden View Post
    Do you know why the Paladin icon is showing up on the Recruit Lord panel instead of the Wight King icon?
    I don't know, it's doing the same for my agent, I search but not find yet, maybe portrait_settings_core.bin but i'm unable to open it :s


    Quote Originally Posted by Rovaeden View Post
    Also, do you know why his cloak and armor keep changing color?
    I would like it if he remained black. Is there some way to do that?
    I think it's when a agent has no more movement point for the turn, try to search this effect in Create Assembly kit maybe :s

  11. #11

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    Thanks for all your help Subio!

    I will also keep looking for an answer to the paladin portrait thing and I will let you know if I find any answers.

    I do know that the Paladin portrait is the default portrait set in schema in agent_culture_details, but I am yet to find a way to force another portrait to show up there.
    Its funny, when my unit model was broken, and showing up as the vampiress, all of the portraits showed up properly as the vampiress even though over all it was all the wrong model and portrait. I feel like there must be either some connection to agent_culture_details that I am not getting (I think I have tried every setting on/off in that file and agent_subtypes multiple times) or there is something going wrong with the relative path to the icon I am trying to point at, and so it is defaulting to pally.

    My 2c off the top of my head.

    Cheers!

    -Rov

  12. #12

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    Quote Originally Posted by Rovaeden View Post
    Thanks for all your help Subio!
    You're welcome! Happy to help

    Quote Originally Posted by Rovaeden View Post
    I will also keep looking for an answer to the paladin portrait thing and I will let you know if I find any answers. !
    I'll do the same if I find a solution

    Quote Originally Posted by Rovaeden View Post
    I do know that the Paladin portrait is the default portrait set in schema in agent_culture_details, but I am yet to find a way to force another portrait to show up there.
    Its funny, when my unit model was broken, and showing up as the vampiress, all of the portraits showed up properly as the vampiress even though over all it was all the wrong model and portrait. I feel like there must be either some connection to agent_culture_details that I am not getting (I think I have tried every setting on/off in that file and agent_subtypes multiple times) or there is something going wrong with the relative path to the icon I am trying to point at, and so it is defaulting to pally.
    I' think that empire champion portrait it's actually the default portrait
    There is table that link to portrait in "campaign_character_arts_tables" but doesn't seems to work

  13. #13

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    Hey guys, thanks for sharing this, it's been very instructive. I'm trying to make a non-legendary random Lord but I can't manage to get it to work with the campaign pool (after hours wasted on a seemingly bugged agent_subtype table :\ ). Gender and custom toggle have always been off (or even toggled for a test); generation is on, assigned via grouping, all is well in custom battle but still nothing in campaign.

    So here comes the dreaded question: do I still need a startpos even though it's not a legendary/starting boss? Or am I probably missing something else? I even nuked the generation of the other Lords to make it 100% a chance.
    Thanks in advance for any help.

  14. #14

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    @ Cataph

    I would take a look over the following and try to trace what settings other lord of your faction have.

    For the unit
    land_units
    main_units
    start_pos_characters
    agent_culture_details
    agent_uniforms
    agent_subtype
    campaign_character_arts
    campaign_character_art_sets
    variants
    unit_variants
    faction_agent_permitted_subtypes
    commander_unit_permissions
    names
    unit_to_groupings_military_permissions
    groupings_military
    unit_set_to_unit_junctions

    I am still not 100% on what causes a unit to show up in game, but I know it is some interplay between the above.

    I am pretty sure that "battle_set_pieces_armies_characters" is only necessary if you are making a unit only for the pre set battles or custom battles, but if you still cant get things working you could try that table too.

    You are welcome to DL my file from above and look at my custom death knight lord. I want him to be unique and for the game to only allow creation of one of him in the lords panel, but I have not yet figured out how to do that. For the moment I am just happy that he is in game with the proper model finally.


    From what you have said, I would just check that the agent_subtype auto_generate field is set to TRUE and I would set up a new entry for your unit in the start_pos_characters too. I really wish there was some sort of documentation to modding this, because it is a nightmare of trial and error trying to figure out what table and what field in a given table does what.

    Anyway, hopefully this will help you get a few more steps forward.

    Cheers!
    -Rov

  15. #15

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    Thanks. As far as I can see those tables were in working order from the first moment - except the startpos one. However, looking through the vanilla one, only legendary characters or secondary starting leaders are shown, so realistically it should'n be that - I even tried for good measure but nothing. Same thing for battle_sets.

    I also already referencing with your pack and the one for Mousillon, following the steps for the vanilla Vampire Lord. I was progressing through audio and variant assignment before a crash happened and I rollbacked step-by-step, so those tables are now missing, but I doubt they affect the pool.

    I'm staring at auto_generate but it doesn't get any less toggled on. The only thing that comes to my mind is that for now agent_subtype cannot be touched by PFM (which I mainly use for compatibility reasons, I bloody hate those full db tables), so I guess I will try and rebuild everything via kit just to see if it's that. I'm not even sure I want it to work that way.

  16. #16

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    Sorry about the double post, but this has to be said.

    I don't know what is going on. I did the following:
    - had breakfast.
    - played some minutes without caring for the mod.
    - thought of something, got back to the mod.
    - cloned the pack and renamed it, literally clicked by mistake on the auto-generate toggle while I was staring at it again, clicked again to reactivate it.
    - mod working.
    - ???????

    Please note that I had been renaming, cloning and swapping tables all the time for the last two days. It's like having a successful recessive gene coming up after three generations.
    Apparently it is not compatible with a saved campaign but it'll do for now, I guess, until some other sorcery happens.

  17. #17

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    LOL!

    I know EXACTLY what you mean!

    I'm glad it is working for you.

    Cheers!
    -Rov



    FWIW, I do all of my editing in DaVE and then use PFM4 if I need to double check or extract a table. I dont know if there is any real difference between them as far as overall functionality. DaVE does seem to have a little bit more description of what the fields are, but not what they do.

  18. #18

    Default Re: -HELP- Does anyone know how the Hero Recruitment Panel populates?

    Any luck with your UI cards and portholes? Karl Franz keeps haunting me everywhere except on the recruited (in-army) card. Might as well leave a vanilla placeholder art_id until I can get rid of him, he's really offsetting.

Posting Permissions

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