How can i recruit more soldiers?

Users who are viewing this thread

Lord_killzor

Hi. Can someone tell me , if i go to one village , recruit soldiers then it gives only 0-8 soldiers max for me. Tell me where can i change it more , to get like 50 soldiers with 1 time :razz:.
 
Do you mean change the programming so it gives you 50 or do it with no editing to the game?

Just gt them to like you. Do quests for them
 
I mean this , i go to village ---> Recruit voultuneers --> And then i wish to get 50 with one time. 

Changing the number from party_templates or something :razz:.
 
Code:
("update_volunteer_troops_in_village",
    [
       (store_script_param, ":center_no", 1),
       (party_get_slot, ":player_relation", ":center_no", slot_center_player_relation),
       (party_get_slot, ":center_culture", ":center_no", slot_center_culture),
       (faction_get_slot, ":volunteer_troop", ":center_culture", slot_faction_tier_1_troop),
       (assign, ":volunteer_troop_tier", 1),
       (store_div, ":tier_upgrades", ":player_relation", 10),
       (try_for_range, ":unused", 0, ":tier_upgrades"),
[color=red]         (store_random_in_range, ":random_no", 0, 100),[/color]
         (lt, ":random_no", 10),
         (store_random_in_range, ":random_no", 0, 2),
         (troop_get_upgrade_troop, ":upgrade_troop_no", ":volunteer_troop", ":random_no"),
         (try_begin),
           (le, ":upgrade_troop_no", 0),
           (troop_get_upgrade_troop, ":upgrade_troop_no", ":volunteer_troop", 0),
         (try_end),
         (gt, ":upgrade_troop_no", 0),
         (val_add, ":volunteer_troop_tier", 1),
         (assign, ":volunteer_troop", ":upgrade_troop_no"),
       (try_end),
       
       (assign, ":upper_limit", 7),
       (try_begin),
         (ge, ":player_relation", 5),
         (assign, ":upper_limit", ":player_relation"),
         (val_div, ":upper_limit", 2),
         (val_add, ":upper_limit", 10),
       (else_try),
         (lt, ":player_relation", 0),
         (assign, ":upper_limit", 0),
       (try_end),

       (val_mul, ":upper_limit", 3),   
       (store_add, ":amount_random_divider", 2, ":volunteer_troop_tier"),
       (val_div, ":upper_limit", ":amount_random_divider"),
       
       (store_random_in_range, ":amount", 0, ":upper_limit"),
       (party_set_slot, ":center_no", slot_center_volunteer_troop_type, ":volunteer_troop"),
       (party_set_slot, ":center_no", slot_center_volunteer_troop_amount, ":amount"),
     ]),

for the red line, change it from "0,100" to "100,100".

You should get a ton of troops that way.

I don't really know much about coding but that's what I'd do.

That's in modul_scripts.py of the module system btw.

If you don't know how to use the module system, I recommend you learn it.

http://forums.taleworlds.com/index.php/topic,56798.0.html
 
In what folder is it? How can i go to this place to change them?
 
captain lust said:
That's in modul_scripts.py of the module system btw.

If you don't know how to use the module system, I recommend you learn it.

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

klick the link and enjoy the rest of the weekend
 
Back
Top Bottom