Recruits from villages belonging to owning faction

正在查看此主题的用户

状态
不接受进一步回复。

Ruthven

Baron
Alrighty then, I was wondering, (and I know there is a way, but I searched and didn't find anything) what I would do to make it so that villages will always give you recruits from the owning faction.

Thanks in advance.

 
add the following text in blue into "give_center_to_faction_aux" in module_scripts.py

---------------------------------------

      (party_set_banner_icon, ":center_no", 0),#Removing banner

      #SW - captured villages now produce troops of new faction, script courtesy of HardCode
      # HC - Change center culture
      (faction_get_slot, ":faction_culture", ":faction_no", slot_faction_culture),
      (party_set_slot, ":center_no", slot_center_culture, ":faction_culture"),
      # End HC
     
      (call_script, "script_update_faction_notes", ":eek:ld_faction"),
 
HokieBT 说:
add the following text in blue into "give_center_to_faction_aux" in module_scripts.py

---------------------------------------

      (party_set_banner_icon, ":center_no", 0),#Removing banner

      #SW - captured villages now produce troops of new faction, script courtesy of HardCode
      # HC - Change center culture
      (faction_get_slot, ":faction_culture", ":faction_no", slot_faction_culture),
      (party_set_slot, ":center_no", slot_center_culture, ":faction_culture"),
      # End HC
     
      (call_script, "script_update_faction_notes", ":eek:ld_faction"),
I tried that, and for the most part it worked. When I go to recruit someone from a village I've taken, (say I was a nord and took the village from a swadian) it will say "x amount of nord recruits are willing to join your party" but when they get to my party, they're just swadian recruits.

EDIT: Hey! I got the 30000th post in The Forge.
 
By KON_Air.

http://mbx.streetofeyes.com/index.php/topic,872.msg30453.html#msg30453
 
fisheye 说:
By KON_Air.

http://mbx.streetofeyes.com/index.php/topic,872.msg30453.html#msg30453
No, that didn't work either. It says I'd get a nord recruit, but it's still a swadian.
 
I use this the tweaks by TML (since Module system for 1.003 is not out yet)

http://forums.taleworlds.com/index.php/topic,46290.0.html

Number 6 in the Combat/Troop Related part.
 
That's because I'm taking it granted everyone knows well enough to add it to the script_village_recruit_volunteers_recruit, too :razz:
 
Ruthven 说:
I tried that, and for the most part it worked. When I go to recruit someone from a village I've taken, (say I was a nord and took the village from a swadian) it will say "x amount of nord recruits are willing to join your party" but when they get to my party, they're just swadian recruits.

the code I posted doesn't work?  Hmm, thats good to know, I guess I never actually played my mod long enough to test it out.....  :wink:
 
HokieBT 说:
Ruthven 说:
I tried that, and for the most part it worked. When I go to recruit someone from a village I've taken, (say I was a nord and took the village from a swadian) it will say "x amount of nord recruits are willing to join your party" but when they get to my party, they're just swadian recruits.

the code I posted doesn't work?  Hmm, thats good to know, I guess I never actually played my mod long enough to test it out.....   :wink:
I'm pretty sure it works for your mod, as I can remember it working in your old Star Wars mercenaries mod.

KON_Air 说:
That's because I'm taking it granted everyone knows well enough to add it to the script_village_recruit_volunteers_recruit, too :razz:
Now you tell me?!?!?  :razz:

EDIT: Alrighty, it works now.

Thanks KON_Air
 
状态
不接受进一步回复。
后退
顶部 底部