Results 1 to 16 of 16

Thread: AI Tutorials

Hybrid View

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

    Default AI Tutorials

    Does somebody know where i can found tutorials for AI?
    BETA TESTER FOR TSARDOMS TOTAL WAR

    Check the second preview
    http://www.twcenter.net/forums/showthread.php?t=140490

    I reject your reality and substitute my own

    Learn to play piano: www.HowToPlayPianoTips.com

  2. #2
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: AI Tutorials

    what do you want do do ?
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  3. #3

    Default Re: AI Tutorials

    Quote Originally Posted by Swagger View Post
    what do you want do do ?
    Battle AI and Campaign AI
    BETA TESTER FOR TSARDOMS TOTAL WAR

    Check the second preview
    http://www.twcenter.net/forums/showthread.php?t=140490

    I reject your reality and substitute my own

    Learn to play piano: www.HowToPlayPianoTips.com

  4. #4
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: AI Tutorials

    try lusted's AI
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  5. #5

    Default Re: AI Tutorials

    Quote Originally Posted by Swagger View Post
    try lusted's AI
    Thank you but i need Tutorials for the AI
    BETA TESTER FOR TSARDOMS TOTAL WAR

    Check the second preview
    http://www.twcenter.net/forums/showthread.php?t=140490

    I reject your reality and substitute my own

    Learn to play piano: www.HowToPlayPianoTips.com

  6. #6

    Default Re: AI Tutorials

    Quote Originally Posted by masteri View Post
    Thank you but i need Tutorials for the AI
    The same here.

  7. #7

    Default Re: AI Tutorials

    If you're looking for a tutorial on AI, your best bet is the following link:
    http://rtw.heavengames.com/cgi-bin/f...ct&f=9,6718,,1

  8. #8

    Default Re: AI Tutorials

    Helpfull for me aswell,
    amazing what you find when your out for a "stroll"

    thanks a lot amigos.

  9. #9
    Harry Lime's Avatar Not a ToS violation
    Artifex Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Kent, England
    Posts
    15,771

    Default Re: AI Tutorials

    Moved to Text editing and scripting.
    Proud Patron of derdrakken, dave scarface, J@mes & irishron
    Indulging in the insight & intelligence of imb39

  10. #10

    Default Re: AI Tutorials

    Ok, thanks.

  11. #11

    Default Re: AI Tutorials

    Great link. I have a fair amount of modding AI experience with M2TW, and this taught even me some new tricks. Thanks a lot.

  12. #12

    Default Re: AI Tutorials

    A great link. Thanks & +rep for telling us.

    Retired creator of 'Das Heilige Römische Reich' - Get v. 0.7 here.
    -------------------------------------------------------------
    Visit my homepage.
    --------------------------------------------
    Proud son of jimkatalanos, grandson of Garbarsardar and father of DerDiskusWerfer and HannibalExMachina.

  13. #13

    Default Re: AI Tutorials

    The .xml files (campaign ai, battle ai) are very powerful, don't only rely on the information already entered, but you can make new entries with new rules. Anyone who has a slight experience with programming would understand what I'm saying.

    I might experiment with this, see if I can make the AI function better and more realistic. ...Oh by the way, just looking through the vanilla campaign ai.xml, already found a mistake, corrected it, I'll see if it did anything.
    Last edited by HorseArcher; April 17, 2008 at 09:32 AM.

  14. #14
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: AI Tutorials

    The .xml files (campaign ai, battle ai) are very powerful, don't only rely on the information already entered, but you can make new entries with new rules. Anyone who has a slight experience with programming would understand what I'm saying.
    I wouldn't count on that. Whilst the game doesn't crash if you add in new rules, I seriously doubt it recognises them as they link to nothing in the hardcode(for instance i've added in code such pie-vs-cake with no problems and serious code of cavalry-vs-spearmen with no observable changes in battles)). Remember that all the .xml files do is like to various parts of the hardcode, in the case of the battle AI to provide easily tweakable numbers, and in the campaign AI to provide the code for the various variables used in decision entries.
    Last edited by Lusted; April 17, 2008 at 09:35 AM.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  15. #15

    Default Re: AI Tutorials

    That is some think i was looking for. 10X
    BETA TESTER FOR TSARDOMS TOTAL WAR

    Check the second preview
    http://www.twcenter.net/forums/showthread.php?t=140490

    I reject your reality and substitute my own

    Learn to play piano: www.HowToPlayPianoTips.com

  16. #16

    Default Re: AI Tutorials

    when changing the config_ai_battle.xml must i start a new campaign to see the effects?

    nevermind question answered thanks.
    Last edited by sfmain; August 20, 2008 at 09:26 AM.

Posting Permissions

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