Results 1 to 6 of 6

Thread: Jihads and I_JihadTimeLeft

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Byg's Avatar Read The Manual
    Patrician

    Join Date
    Nov 2005
    Posts
    4,569

    Default Jihads and I_JihadTimeLeft

    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.

    NEW BGR V 20150324! . . . . . . . .. . . .BGRIV_E

  2. #2

    Default Re: Jihads and I_JihadTimeLeft

    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
        }
    }


  3. #3

    Default Re: Jihads and I_JihadTimeLeft

    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.

  4. #4
    Byg's Avatar Read The Manual
    Patrician

    Join Date
    Nov 2005
    Posts
    4,569

    Default Re: Jihads and I_JihadTimeLeft

    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?

    NEW BGR V 20150324! . . . . . . . .. . . .BGRIV_E

  5. #5

    Default Re: Jihads and I_JihadTimeLeft

    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>


  6. #6

    Default Re: Jihads and I_JihadTimeLeft

    Yes that's the file and yes it's 4 in vanilla cpn db file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •