
Originally Posted by
Withwnar
No, the public order:
Ok. This is the public order, but Leon (an Spain faction) it's only an example for test the command


Originally Posted by
Withwnar
The thread I linked to said that provoke_rebellion only works if that number is below 70%.

If you're referring to the percentage of "unrest", I have tested it with various percentages and orders (25%, 45%, and 50%) and it doesn't work. If it refers the percentage of "public order", then the command doesn't serve me. Because I can't guess how will be the city once started the game. The objective is that a "conflictive" character in the region between and his while inside, the city must revolt yes or yes.
MY POSSIBLE SOLUTION:
export_descr_character_traits.txt
Code:
;------------------------------------------
Trait RebelLeonese
Characters family
Hidden
Level Rebel_Leonese
Description Rebel_Leonese_desc
EffectsDescription Rebel_Leonese_effects_desc
Threshold 1
Effect Command 1
;------------------------------------------
descr_character.txt
Code:
type heretic
actions moving_normal
wage_base 0
starting_action_points 80
faction slave
dictionary 2
strat_model heretic
faction russia
dictionary 2
strat_model heretic
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
descr_model_strat.txt
Code:
type heretic
skeleton strat_diplomat
scale 0.7
indiv_range 40
texture slave, models_strat/textures/heretic_christian_rebels.tga
texture russia, models_strat/textures/heretic_christian_england.tga
model_flexi_m models_strat/heretic.cas, max
shadow_model_flexi models_strat/shadow_staff.CAS, max
campaign_script.txt
Code:
monitor_event FactionTurnStart FactionType slave
and I_TurnNumber > 1
spawn_army
faction slave
character Isaac, named character, age 36, x 67, y 103, label leoneserebel, direction E
traits LoyaltyStarter 1 , RebelLeonese 1 , ReligionStarter 1
unit NE Bodyguard exp 3 armour 0 weapon_lvl 0
unit Mailed Knights exp 0 armour 0 weapon_lvl 0
unit Mailed Knights exp 0 armour 0 weapon_lvl 0
unit Mailed Knights exp 0 armour 0 weapon_lvl 0
unit Spear Militia exp 0 armour 0 weapon_lvl 0
unit Spear Militia exp 0 armour 0 weapon_lvl 0
unit Spear Militia exp 0 armour 0 weapon_lvl 0
end
historic_event world_is_round ;;;(sorry, I didn't have time to write a message)
terminate_monitor
end_monitor
monitor_event CharacterTurnStart FactionType slave
and AgentType = named character
and Trait RebelLeonese > 0
and IsRegionOneOf Leon_Province
and I_LocalFaction spain
add_settlement_turmoil Leon 50
spawn_character russia random_name, heretic, age 30, x 73, y 105
spawn_character russia random_name, heretic, age 32, x 73, y 103
spawn_character russia random_name, heretic, age 34, x 74, y 103
spawn_character russia random_name, heretic, age 36, x 74, y 105 ;;;(The fourth is optional)
end_monitor
SAMPLE:
AND NOW... THE FINAL BLOW. THE TRICK OF GIGANTUS.
Transparent texture and this code in "descr_models_strat.txt"
Code:
type heretic
skeleton strat_diplomat
scale 0.7
indiv_range 40
texture slave, models_strat/textures/heretic_christian_rebels.tga
texture russia, models_strat/textures/heretic_christian_england.tga
model_flexi_m models_strat/heretic.cas, max
shadow_model_flexi models_strat/shadow_staff.CAS, max
Until not die the rebellious character, will not disappear the heretics (interesting challenge for me)... At the moment it is the best option I can think.