CBWarDog 说:
Well, i know that renown also increases your party's size. So... where is this multiplier located? because i want to make every party (mine and AI's) bigger.
For players, it's all in the game_get_party_companion_limit script:
("game_get_party_companion_limit",
[
(assign, ":troop_no", "trp_player"),
(assign, ":limit",
30),
(store_skill_level, ":skill", "skl_leadership", ":troop_no"),
(store_attribute_level, ":charisma", ":troop_no", ca_charisma),
(val_mul, ":skill",
5),
(val_mul, ":charisma", 1),
(val_add, ":limit", ":skill"),
(val_add, ":limit", ":charisma"),
(troop_get_slot, ":troop_renown", ":troop_no", slot_troop_renown),
(store_div, ":renown_bonus", ":troop_renown",
25),
(val_add, ":limit", ":renown_bonus"),
(assign, reg0, ":limit"),
(set_trigger_result, reg0),
]),
Red is the base amount (30).
Blue is the number of troops per leadership point (5).
Green is the amount of renown required for +1 party size (25).
(val_mul, ":charisma", 1), is a line you can add if you want to have more than one troop per point of charisma.
For npcs, there's party_get_ideal_size which also has the king/castle/marshal bonus as well as the multiplier for player level.
If you are going to buff sizes a lot (as in, double or treble them), you might want to adjust morale and/or map speed as well.