Results 1 to 9 of 9

Thread: @ Socal

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ♔ST0MPA♔'s Avatar Ordinarius
    Join Date
    Jul 2006
    Location
    Western Australia
    Posts
    792

    Default @ Socal

    what does this mean exactly hidden_resource aor_levant that you have to own Jerusalem or something else?? the reason I ask is I might tackle making Templars and Hospitlars only recruitable at the city of Jerusalem and take the guilds away altogether. keeping in line with historical events. does this sound silly unhistorical impossible??
    "Yeah tho I walk through the valley of the shadow of death; I shall fear no evil... for I'm the meanest sonofa in the valley."


  2. #2
    ♔ST0MPA♔'s Avatar Ordinarius
    Join Date
    Jul 2006
    Location
    Western Australia
    Posts
    792

    Default Re: @ Socal

    I noticed this entry in edb file

    recruit_pool "Jerusalem Sergeants" 1 0.2 4 0 requires factions { england, france, hre, spain, venice, sicily, milan, scotland, denmark, portugal, poland, hungary, papal_states, } and hidden_resource aor_levant

    what do these numbers 1 0.2 4 0 represent?

    I plan on adding

    recruit_pool "Templar Sergeants" ? ? ? ? requires factions { england, france, hre, spain, venice, sicily, milan, scotland, denmark, portugal, poland, hungary, papal_states, } and hidden_resource aor_levant and counter_event TEMPLAR_FOUNDED


    so would look like

    recruit_pool "Jerusalem Sergeants" 1 0.2 4 0 requires factions { england, france, hre, spain, venice, sicily, milan, scotland, denmark, portugal, poland, hungary, papal_states, } and hidden_resource aor_levant
    recruit_pool "Templar Sergeants" ? ? ? ? requires factions { england, france, hre, spain, venice, sicily, milan, scotland, denmark, portugal, poland, hungary, papal_states, } and hidden_resource aor_levant and counter_event TEMPLAR_FOUNDED

    just not sure what to place in ? ? ? ?


    and for the guilds e.g. Templar guild (export_descr_guild)

    Guild templars_chapter_house
    condition counter_event TEMPLAR_FOUNDED
    building guild_templars_chapter_house
    exclude st_johns_chapter_house
    levels 100 250 500

    so you cant build them until they are recognised

    and for the Ancillary trigger

    Trigger crusader_5e
    WhenToTest GeneralTakesCrusadeTarget
    Condition IsCrusade and counter_event TEMPLAR_FOUNDED
    and not CharFactionType portugal
    and not CharFactionType spain
    and not CharFactionType hre

    AcquireAncillary knight_templar chance 70

    would this stop the trigger until the templars where founded.

    hopefuly im on the right track to

    A. be able to produce Templars in Jerusalom (when they have been founded)
    B. build Templar guild only after they have been founded
    C. recieve the Templar ancillary also only when they have been founded.

    Im I on the right track to acheive this or not. I appreciate your feed back on this good sir,
    "Yeah tho I walk through the valley of the shadow of death; I shall fear no evil... for I'm the meanest sonofa in the valley."


  3. #3
    Socal_infidel's Avatar PDER Piper
    Join Date
    Jan 2007
    Location
    Brooklyn USA
    Posts
    2,563

    Default Re: @ Socal

    Quote Originally Posted by ST0MPA View Post
    what do these numbers 1 0.2 4 0 represent?
    1 is the initial number of that unit available as soon as you complete the building from which it can be recruited

    0.2 is the replenishment rate (so in this case, 1 every 5 turns)

    4 is the maximum available at any given time in the recruitment pool

    0 represents starting experience level

    The hidden resources are used to designate the areas where a unit or building can be built. In this case, aor_levant represents the provinces along the Mediterranean in the Holy Lands (not sure, which exactly atm, but Jerusalem, Tripoli, Acre, Antioch, etc.).

    As far as the other things, I'm not sure exactly if you can use a monitor event condition in either the descr_guilds or ancillaries file.

    A good start here though would definitely be Alpaca's Script O-Rama.

    As far as what you're trying to do, I'm not sure it's too historical for Templars/Hospitallers be limited to Jerusalem. I follow what you want to do though, as I tried to increase the likelihood of being offered one or the other if you take Jerusalem and hold it for four turns, I believe, you should get offered one.

  4. #4
    ♔ST0MPA♔'s Avatar Ordinarius
    Join Date
    Jul 2006
    Location
    Western Australia
    Posts
    792

    Default Re: @ Socal

    ok well then if the levant thingy is what you say it is I can have them recruited in thoes areas. I will also leave them able to be reqruited in their guilds so that should leave them historicaly correct

    historical example would be the battle of asuf, Richard had templars and hospitlers when Saladin attacked him so don't see how it would be unhistorical for say england or any other Christian faction to have both. What i will do tho is increase substancly the turns between their availability to stop you from spamming them to much. thankyou for the link and explanation Socal.
    "Yeah tho I walk through the valley of the shadow of death; I shall fear no evil... for I'm the meanest sonofa in the valley."


  5. #5
    ♔ST0MPA♔'s Avatar Ordinarius
    Join Date
    Jul 2006
    Location
    Western Australia
    Posts
    792

    Default Re: @ Socal

    EDIT: solved thanks to Alpaca disregard my post.



    I'm having some trouble trying to prevent triggers of Santiago knights and the like until they are historically available. I have tried following alpacas tutorials which are very good and helpful, but somehow I'm failing to grasp the logic of it all as my tests are still giving me knights of Santiago when I conquer Marrakesh on a crusade in 1088. I think alpaca has probably had enough of me as I'm pressing him a bit which is fair enough (and i heard alpacas spit at you when you annoy them). if I show you my entries could you maybe tell me if any of them look ok so I know where I'm going right at least. I admire anyone who does scripting after this you really need a lot of patients and its very time consuming during testing phases. I guess I'm just not cut out for this sort of task but I really did try. anyway here are my entries would appreciate your feed back.

    -----------------------------------------
    campaign script
    -----------------------------------------
    declare_counter SANTIAGO_RECOGNIZED
    ;-- SANTIAGO_RECOGNIZED --
    monitor_event EventCounter EventCounterType SANTIAGO_RECOGNIZED

    add_events
    event historic SANTIAGO_RECOGNIZED
    date 85 100
    end_add_events

    end_monitor
    -------------------------------------------
    descr_events
    -------------------------------------------

    event historic SANTIAGO_RECOGNIZED
    ;TRUE TIME date 95
    date 85 100
    ;(c. 1175 AD)

    -------------------------------------------
    export_descr_ancillaries
    ;------------------------------------------
    Trigger knight_santiago_vnv_trigger
    WhenToTest PostBattle
    Condition WasAttacker
    and IsGeneral
    and IsOnCrusade
    and WonBattle
    and GeneralFoughtInCombat
    and BattleOdds >= 0.5
    and BattleOdds < 1.5
    and FactionType spain
    and EventCounter SANTIAGO_RECOGNIZED = 1


    AcquireAncillary knight_santiago chance 40

    ;-------------------------------------
    Last edited by ♔ST0MPA♔; October 29, 2007 at 07:11 AM.
    "Yeah tho I walk through the valley of the shadow of death; I shall fear no evil... for I'm the meanest sonofa in the valley."


  6. #6

    Default Re: @ Socal

    Could the order of the Knights of Santiago be opened up for Portugal, Aragon and Castilla? Its whats historically accurate, even though the Portugal wing closed down a few hundred years later because the King did not trust them but still they were there for them.

  7. #7
    ♔ST0MPA♔'s Avatar Ordinarius
    Join Date
    Jul 2006
    Location
    Western Australia
    Posts
    792

    Default Re: @ Socal

    They are m8 and I have managed to to get it to work, (thanks to Alpaca)for Spain and Portugal so far.
    I will now attempt to get it to work for the Templars and Hospitlars and associated guilds

    edit could you give me dates as to when this wing shut down Mikel. cheers
    "Yeah tho I walk through the valley of the shadow of death; I shall fear no evil... for I'm the meanest sonofa in the valley."


  8. #8
    Socal_infidel's Avatar PDER Piper
    Join Date
    Jan 2007
    Location
    Brooklyn USA
    Posts
    2,563

    Default Re: @ Socal

    Quote Originally Posted by ST0MPA View Post
    They are m8 and I have managed to to get it to work, (thanks to Alpaca)for Spain and Portugal so far.
    I will now attempt to get it to work for the Templars and Hospitlars and associated guilds

    edit could you give me dates as to when this wing shut down Mikel. cheers
    Glad to hear you got it working! Sorry I wasn't able to help out in this regard. I was busy over the weekend

  9. #9
    ♔ST0MPA♔'s Avatar Ordinarius
    Join Date
    Jul 2006
    Location
    Western Australia
    Posts
    792

    Default Re: @ Socal

    no problem m8 you just keep churning out those wonderful factions and skins
    "Yeah tho I walk through the valley of the shadow of death; I shall fear no evil... for I'm the meanest sonofa in the valley."


Posting Permissions

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