It has been too long since I played an Islamic faction and need someone to tell me if there is a time limit to join a jihad like for crusades.
Obviously I can't use I_JihadTimeLeft in my code if there is no time limit.
It has been too long since I played an Islamic faction and need someone to tell me if there is a time limit to join a jihad like for crusades.
Obviously I can't use I_JihadTimeLeft in my code if there is no time limit.
i found this in descr_missions.txt, its the only reference to Jihads, so i assume there is no limit. Unfortunately, same as you, i've not played an Islamic faction for a long time, so i could be wrong!
Code:mission jihad_active ; (NOT SUITABLE FOR VARIANTS) { duration 0 paybacks { payback_id empty_payback } eligible_religions { islam } }
It's the same as crusades with the exception of not papal ass kissing, we directly use an Imam for it. And we have about 10 turns to join otherwise it's abandoned.![]()
Last edited by Ishan; November 28, 2011 at 05:36 PM.
Thanks. So I_JihadTimeLeft could always be used to check the remaining time and or the time passed the join limit. I have no error using it in traits, but I guess I'll have to wait until I actually get a jihad to try it out.
Or can I force my jihad ability by simply raising the rank of an imam?
The abilities of Imams to call jihads are found in the descr_campaign_db:
Mine's modified, i think vanilla is about 4, the minimum required piety stars to call a jihad.
Code:</agents> <crusades> <required_jihad_piety int="8"/> <max_disband_progress float="20.0"/> <near_target_no_disband_distance float="4.0"/> <disband_progress_window float="3"/> <crusade_called_start_turn float="20"/> <jihad_called_start_turn float="20"/> <movement_points_modifier float="2.0"/> </crusades>
Yes that's the file and yes it's 4 in vanilla cpn db file.![]()