Results 1 to 10 of 10

Thread: Unit Prod. Files

  1. #1
    Member Member Cid's Avatar
    Join Date
    Oct 2002
    Location
    NY, NY, USA
    Posts
    183

    Question

    Hope someone can splain this to me.

    Why are units that should not be able to be produced by a faction apparently made available to it in the prod. files?
    eg, Longbows have all factions listed after it with (159.2) for Catholic_Expansionist and (169)for Muslim_Devout.

    I assume the numbers indicate the likelihood of an AI faction building that type of unit in which case the above seems to indicate that a Muslim_Devout faction has a higher probability of building Longbows than a Catholic_Expansionist faction.

    What am I missing here

  2. #2
    Senior Member Senior Member Lord Krazy's Avatar
    Join Date
    Jul 2002
    Location
    Elephant Free State
    Posts
    1,638

    Default

    Only if they are English.
    The English are the only faction
    that can produce longbows.
    If your prod has another entry
    then it must be a mod

    LK

  3. #3
    Member Member Cid's Avatar
    Join Date
    Oct 2002
    Location
    NY, NY, USA
    Posts
    183

    Default

    Nope, not a mod.

    This is probably 101 stuff that I'm missing since I've just started trying to mess with these files. I just used Longbows as an example. It seems that most units are listed as available to all factions with a greater or lesser numeric possibility of production.

    Another random example is Gahzi Inf. which reads left to right-Cost, various unit specific #s, then Muslim_Heritics(-25)Muslim_Zealots(15)etc., then ALMOHAD, then (what confuses me) every AI behavior possibility (CATHOLIC_EXPANSIONIST, ORTHODOX_STAGNANT etc.)with a number after it,some Christian #s greater than Muslim.

    If this unit is limited to Almos, why are the other AI behavior settings listed and given a number?

    Haven't downloaded Lord Gnomes Unit Editor yet so I'm still doing this in Word Pad if that makes a difference.

  4. #4
    Senior Member Senior Member Lord Krazy's Avatar
    Join Date
    Jul 2002
    Location
    Elephant Free State
    Posts
    1,638

    Default

    Cid send me a copy of your prod11 in a zip
    and I'll have a look.

    lk_mtw@yahoo.co.uk

    LK

  5. #5

    Default

    Cid, it sounds like your looking at the AI behaviour column. This field contains the same number of entries for every unit listed (one for each AI behaviour possible in the game I'd guess). I think you are right in that it is a modifier on how likely the AI is to build a unit under each behaviour. If you play around with these numbers you should affect the AI behaviour in building them but it's hard to test as we don't know what the numbers mean. It seems the entry must contain the whole list regardless of which factions can build it. (I haven't tested this but you could delete some and see if it notices, I reckon it'll crash though.)

    I think any faction can have any of the AI behaviours in the game... not sure. You can set the starting behaviour for a faction in the campaign.txt but I'm pretty sure it changes dynamically in the game after this, don't know if Muslims can have crusader AI's etc or not though.
    Lord Gnome

  6. #6
    Member Member Cid's Avatar
    Join Date
    Oct 2002
    Location
    NY, NY, USA
    Posts
    183

    Default

    Thanks for the offer LK but I think Lord Gnomes post answers my question. After posting I began to suspect that these AI behaviors were there in case the factions were modded.

    Just downloaded LG's unit editor btw and by the raves it's getting I expect to finally make some headway without collateral migraine. Expect I'll still pester people on this post with inane questions from time to time though.

  7. #7
    Member Member MR EGG's Avatar
    Join Date
    Jan 2003
    Location
    WOOLACOOBE N,DEVON
    Posts
    126

    Default

    Ahhhh the Ai changes behaviour this could be my problem .My camp CTD's after so many moves.Thx M.E

  8. #8
    Member Member Turbo's Avatar
    Join Date
    Oct 2002
    Location
    New Jersey
    Posts
    414

    Default

    Cid, The game requires behavior build priorities (Expansion(XX) for all behaviors regardless of whether all the AI behaviors can build the unit or not. There are two ways MTW restricts the build of a unit, the first is faction limitation, the second religion limitation. Under feudal knight for example there is an entry "all_factions" which indicates all factions can build it. It however lists "catholic" which means all factions that are catholic can build it. MTW will ignore for example Muslim_devout entries regardless of how high the priority may be.
    When you decide that servicing your core niche is no longer important, you might as well put a gun to your corporate temple. - Red Harvest -

  9. #9
    Senior Member Senior Member Lord Krazy's Avatar
    Join Date
    Jul 2002
    Location
    Elephant Free State
    Posts
    1,638

    Default

    I thought you were seeing it happen in the game

    Now I understand

    Seen as the computer doesn't know
    a christian from a 1 or a 0
    then you can try alot of variations
    from changing the culture and religion.
    So if you make the english muslim
    and the units muslim then that's how the A.I.
    will behave.

    LK

  10. #10
    Member Member Mr Frost's Avatar
    Join Date
    Dec 2002
    Location
    In a chair
    Posts
    520

    Default

    By including these A.I. behaviors in each units' stats C.A. has allowed not only easy modification to switch units between factions {or create new factions and give them interesting troops} , but also a handy guide as to what should be used when designing new units
    7 out of 10 people like me ,
    I'm not going to change for the other three .

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO