Hi, i want to give my generals the champions' training ability. Which table should i edit? Thanks in advance.
Hi, i want to give my generals the champions' training ability. Which table should i edit? Thanks in advance.
im not sure if you can give generals this as a base ability, it probably has to be a trait or skill, but its easy enough to just change one of these into what you want
you'll need to alter the character_skill_level_to_effects_junction_tables
then find a skill or trait to add this line to "rom_agent_skill_action_mod_champion_army_military_training" plus ofcourse the amount of exp you want them to gain each turn
something like this might work.. but maybe it wont if the ability is specific to champions, maybe youre able to change that too in another table but i would try this first
Last edited by Adreno; December 18, 2013 at 06:42 AM.
I tried to add that line to a trait and apply to this_general, this_agent, this_general_force but none of them worked. I guess this line only works when the military training action is triggered.
try this_general_army. that will apply it to his army. if you attach it to ancillary, skill or to a trait it will work with that tag. I'm pretty sure it will. I took the embedded spy ability that reduces success chance of enemy agent actions and attached it to a few skills and army traditions.
Really hate having my army's annihilated by a 2 stack or 3 stack because an agent stopped one of my stacks from reinforcing
Thanks a lot. I'll try that. 1 more question: If you attach an ability to a skill/tradition, how do you prevent the AI from having the same ability when its generals lv up and get that skill/tradition?
not sure about that one. you might have to make the skill faction specific and then use that faction. that would prevent all other factions from using it.
I tested with this_general_army and almost all the others too but sadly it still didn't work.![]()
After looking into this matter for myself I have figured out a way to achieve this. I'm sure that the reason it did not work for you was because of the effect you tried to give the generals. The effect_key, rom_agent_skill_action_mod_champion_army_military_training won't work due to champions having to click on a target first to initiate the ability and as generals can't click you can't use this effect key. Instead use rom_agent_action_parent_army_xp_gain. I use DEI but im sure this will work in vanilla as well. I attached this effect to general_skilled_tactician_1 (the Level 1 Skilled Tactician general trait) and now any general with that will get the effect. And you can change the "value" according to how much xp gain you want per turn. This will only work for that trait and not the upgraded one i.e. if I upgrade Lvl 1 Skilled Tactician to Lvl 2 Skilled Tactician it will not work and you work have to do the same steps for Lvl 2 Skilled Tactician or any trait you assign the effect to.
Spoiler Alert, click show to read:
Just looked and this affects A.I. Generals as well so this could be a great addition to overhaul mods.