Page 1 of 2 12 LastLast
Results 1 to 20 of 26

Thread: Crusades - hardcoded? Change targets and movement speed?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Crusades - hardcoded? Change targets and movement speed?

    Well, the title says it all, are crusades hardcoded?
    --> Can I change the movement speed bonus of crusading generals? (makem slower me wants)
    --> How can I affect the settlements that are possible crusading targets and their order in the list?

    (I found descr_regions as only file with clear references to the crusades - their the target cities have a 'crusade' tag - but changing these didn't actually change something in the game. Did I overlook some file? Maybe not a txt?)

    Thx for all answers!
    Regards,
    cg
    "Do you want Total War?"

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    --> Can I change the movement speed bonus of crusading generals? (make'm slower me wants)
    --> How can I affect the settlements that are possible crusading targets and their order in the list
    ?

    Speed: descr_campaign_db (opens with notepad)

    <crusades>
    <required_jihad_piety int="4"/>
    <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>

    Targets: your guess was right. The entry in the hidden_resource line determines the crusade (or jihad) target. It appears as if the game takes the first settlement in the list where it appears and then moves to the next instance fro the next crusade.










  3. #3

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    You guys are great!!
    After removing this map.rwm it finally showed the results I looked for!
    What is this file all about? - I dunno how to open .rwm, so I didn't have a look into it.

    Quote Originally Posted by gigantus View Post
    Targets: your guess was right. The entry in the hidden_resource line determines the crusade (or jihad) target. It appears as if the game takes the first settlement in the list where it appears and then moves to the next instance fro the next crusade.
    You sure about the sequence? Cause I think in Vanilla TA the first target settlement in the crusades list in Edoras, which is neither first not last entry in descr_regions? I'll have some research and testing of this soon.
    Doo.... - I am getting old.
    Didn't I read this before from your hands in another thread?
    (Might be confusing things. Age feeds on brain cells.)

    Kindly,
    cunfusus
    "Do you want Total War?"

  4. #4
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Quote Originally Posted by confused german View Post
    (I found descr_regions as only file with clear references to the crusades - their the target cities have a 'crusade' tag - but changing these didn't actually change something in the game. Did I overlook some file? Maybe not a txt?)
    Have you deleted map.rwm?

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  5. #5
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Have you deleted map.rwm?
    Doo.... - I am getting old.










  6. #6
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    The map.rwm is the actual map, or better: the result of all the map files in the base folder once the engine has managed to put everything together. Changes to the map files do not automatically get reflected in map.rwm, the file has to be deleted to create a new map.










  7. #7

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Ah! I had a look and indeed there was a new map.rwm!
    Now I get how it works.
    Thx!
    "Do you want Total War?"

  8. #8
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Seems I haven't lost all my marbles yet!










  9. #9
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Quote Originally Posted by gigantus View Post
    Seems I haven't lost all my marbles yet!
    That's questionable.

  10. #10
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Hijacking this thread:

    I have set up a descrs_regions without any Crusade tags (as I always suggest here around); strange enough the game allows me to call for crusades against all non-catholic settlements/factions......

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  11. #11

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Quote Originally Posted by konny View Post
    I have set up a descrs_regions without any Crusade tags (as I always suggest here around); strange enough the game allows me to call for crusades against all non-catholic settlements/factions......
    That's interesting - will check out the outcome in my TA soon as I've just today 'finished' choosing the crusade targets, which was quite a bunch of work.
    I tried to make all settlements targets, but didn't get the idea of trying the opposite!

    Btw you cannot hijack this plane! I'll fly in any direction!

    Would someone be so kind to me to explain what the numbers in descr_regions determine?

    Nan-Curunir_Province
    Nan-Curunir
    france
    English_Rebels
    200 180 200
    crusade, trolls, isengard, huge_city
    5
    5
    confudes
    "Do you want Total War?"

  12. #12
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Check my tutorial for details: Creating a World – Adding detailed Regions










  13. #13

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Again!

    Ok, I'll shut up for now and check 'Creating a world' BEFORE I ask some more questions.
    I don't want you to have to say that again!
    [Maybe someone should replace the 'm' here with a 't' for the TWC: - It would save you words and could invest more time in modding.]

    If I had done so, before I might even have noticed that deleting your map.rpm totally s up your savegames.


    I now have found out the hard way.

    Sorry for silly smile spam here!

    C u guys,
    Consufed


    EDIT:

    Konny:
    I have set up a descrs_regions without any Crusade tags (as I always suggest here around); strange enough the game allows me to call for crusades against all non-catholic settlements/factions......
    At first glance I saw I couldn't launch crusades against orthodox ( = elfs) in my TATW.
    The order of the targets in the list didn't suit me, so I dropped the idea quickly.

    I don't believe btw the order has anything to do with the order of appearance in the file as gigantus stated.
    [Although he might have a tutorial for this.]
    It got the impression it got instead to do with wether a city or castle (the latter preferred) and some other factors I have not yet acertained:
    - number of inhabitants?
    - faction standings?
    - cultural rates?
    - distance to 'rome'?

    ...
    Last edited by confused german; April 07, 2010 at 07:14 AM.
    "Do you want Total War?"

  14. #14
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    When you play the vanilla game, the first crusade always goes to Cairo. It so happens Cairo is the first settlement in the descr_regions file with a crusade entry. If you move Jerusalem (which has a crusade entry too) before Cairo, the first crusade goes to Jerusalem. Coincidence?










  15. #15

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Quote Originally Posted by gigantus View Post
    When you play the vanilla game, the first crusade always goes to Cairo. It so happens Cairo is the first settlement in the descr_regions file with a crusade entry. If you move Jerusalem (which has a crusade entry too) before Cairo, the first crusade goes to Jerusalem. Coincidence?
    Sounds really conclusive. In Third Age Vanilla 'Edoras' is always first in the list but it's way back in the file. I deleted the 'crusade' tag in Edoras' hidden ressource and added some others and now 'Erebor' is permanently on top, although again very far down in the file. Other targets also seem to have no connection between place in list and place in file. So I'd say: Maybe really coincidence. Maybe even some difference between TA and whateveryouplay?
    Anyways this shall be easy to test for me: I'll go and change the target order in the file a little and will report the outcome.
    (This time backupping my old map.rwm. )

    Cheers,
    cg
    "Do you want Total War?"

  16. #16

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Quote Originally Posted by gigantus View Post
    When you play the vanilla game, the first crusade always goes to Cairo. It so happens Cairo is the first settlement in the descr_regions file with a crusade entry. If you move Jerusalem (which has a crusade entry too) before Cairo, the first crusade goes to Jerusalem. Coincidence?
    I concur.
    You sorted out the same problem i encountered a year ago.Thx for that.
    I now always have a successful first crusade on Antioch.
    Also i seen that by increasing the numbers of crusades targets like adding a new region Marienburg and adding it to a crusade target etc etc seems to work well but after a few turns the crusade target list pops a valuable target up and pushes Antioch down.
    I don't know how the AI Determines it's preferences and on what scale.

  17. #17

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Hmmmm - I play SS 6.1 - and something strange happened.

    I deleted map.rwm (from "base" folder) and changed descr_regions (in 'base" folder and in "Late_Era_Campaign" folder). and - what happened (i deleted european cities like vilnus or frankfurt, vienna as targets of crusades).

    Vilnus indeed disappeared from list (i started from beginning) - but then appeared (after some turns). Anyway - how many times I try to set crusade at that city - pope refuse. Does it mean that I modifed files properly or Vilnus is still possible target of crusade?

  18. #18

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    ps- way you proposed didn't work. In my game Denmark was excommunicated and 3 cities of Denmark appeared on crusade's list (the strange thing is that I'm unable to set crusades on these cities, because Pope always refuses). But these cities didn't have "crusade" word attached to description in that file "descr_regions"

    They were just put as possible targets after excommunication

  19. #19
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    Settlements (some of them) of an excommunicated faction make the crusade list by default










  20. #20
    EarendilElenthol's Avatar Artifex
    Join Date
    Apr 2008
    Location
    The Netherlands
    Posts
    998

    Default Re: Crusades - hardcoded? Change targets and movement speed?

    hijacking this thread as well: I take it that changing the orthodox name of the religion to eastern_orthodox deletes all blocks regarding not attacking orthodox factions in a crusade?

    and secondary: is it possible to use the desertion-function also outside a crusade? That would be very nice. (or is there any scripting that comes close?)

Page 1 of 2 12 LastLast

Posting Permissions

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