
Originally Posted by
Elitewolf
Does anyone know how to make krell appear? He does not appear when I capture the brass keep, and I want my awesome dead chaos warrior! D: Took some work getting an army there...
The following is what I understand of the script regarding Krell (blue text is my comments);
Code:
set_event_counter krell_capitan 0
set_event_counter krell_hungary 0
;тестовый скрипт для атаки
;monitor_event FactionTurnStart FactionIsLocal
;console_command auto_win attacker
; siege_settlement Mannfred Von_Carstein, Med, attack
;terminate_monitor
;end_monitor
The lines above have been deactivated by placing semicolons (;) before them.
monitor_event FactionTurnStart FactionIsLocal
and I_TurnNumber > 0 This is the turn from which the script starts checking if the requirements have been met.
and RandomPercent < 20 This is the percentage chance that the unit is spawned.
and I_EventCounter krell_capitan = 0
historic_event KRELL_RECRUITMENT false factions { hungary, }
terminate_monitor
end_monitor
monitor_event FactionTurnEnd FactionIsLocal
and I_EventCounter krell_capitan = 1
and not I_WorldwideAncillaryExists krell_axe
historic_event KRELL_RECRUITMENT_END false factions { hungary, }
set_event_counter krell_capitan 0
terminate_monitor
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and I_SettlementOwner Med = hungary This is the requirement to own Brass Keep (named Med in the game system apparently).
and not I_WorldwideAncillaryExists krell_axe
and I_EventCounter krell_capitan = 0
spawn_army
faction hungary
character Krell, named character, age 29, x 59, y 103, direction S, label Krell_general, battle_model Krell, portrait Krell, hero_ability Damnation_Ability
traits Krell 1
unit Vampire skeleton khorne warrior exp 9 armour 0 weapon_lvl 0
unit Vampire skeleton mount chaos exp 3 armour 0 weapon_lvl 0
unit Vampire skeleton chaos exp 3 armour 0 weapon_lvl 0
unit Vampire skeleton chaos warrior exp 3 armour 0 weapon_lvl 0
unit Vampire skeleton chaos warrior halberd exp 3 armour 0 weapon_lvl 0
unit Vampire skeleton chaos axe exp 3 armour 0 weapon_lvl 0
end
historic_event KRELL_RECRUITMENT_PLAYER false factions { hungary, } event/Krell.bik
set_event_counter krell_capitan 1
set_event_counter krell_hungary 1
console_command give_ancillary Krell_general krell_axe
terminate_monitor
end_monitor
The lines below are for AI controlled Silvania.
monitor_event FactionTurnStart FactionType hungary
and I_IsFactionAIControlled hungary
and I_EventCounter krell_capitan = 0
and I_SettlementOwner Drakenhof = hungary
and not I_WorldwideAncillaryExists krell_axe
and RandomPercent = 5
spawn_army
faction hungary
character Krell, named character, age 29, x 107, y 53, direction S, label Krell_general, battle_model Krell, portrait Krell, hero_ability Damnation_Ability
traits Krell 1
unit Vampire skeleton khorne warrior exp 9 armour 0 weapon_lvl 0
unit Vampire skeleton mount chaos exp 3 armour 0 weapon_lvl 0
unit Vampire skeleton chaos exp 3 armour 0 weapon_lvl 0
unit Vampire skeleton chaos warrior exp 3 armour 0 weapon_lvl 0
unit Vampire skeleton chaos warrior halberd exp 3 armour 0 weapon_lvl 0
unit Vampire skeleton chaos axe exp 3 armour 0 weapon_lvl 0
end
set_event_counter krell_capitan 1
set_event_counter krell_hungary 1
console_command give_ancillary Krell_general krell_axe
terminate_monitor
end_monitor
It looks like you're going to have to wait a while for him to spawn, < 20% is a rather large chance, but if you want him to spawn immediately you'll have to change the percentage chance to 100 (and replace the < with an =).
The 'campaign_script' file is in 'mods\Call_of_Warhammer\data\world\maps\campaign\imperial_campaign'.