Results 1 to 4 of 4

Thread: MTW - Multi Faction battles - Want the AI on your side?

  1. #1
    Member Member DrNo's Avatar
    Join Date
    Oct 2000
    Location
    Nottingham,England
    Posts
    465

    Default

    Don't think anyone's posted how to do this so far, but you can mod the battles to include multiple Factions and wether they are allied to you or not.

    In jaffa.bdf:

    Player::"Richard Coeur de Lion" 5 5 LOCAL "richard" 0 false 19588 28226 180 CHRISTIAN_CULTURE

    First number after player name is the faction. i.e. 5
    Second number is the alliance it belongs to.
    again 5.
    LOCAL/ARTIFICIAL is Human or AI, I set 2 armies to LOCAL and ended up with waiting for deployment to end. i.e. no other human connected to deploy the other army.

    "Richard" is the army definition file name.

    Not sure what the 0 is for.

    false/true dictates if you are attacker/defender.

    Then coordinates maybe for initial camera postion(Will have to check that one)

    Next is direction of facing.

    And then culture lastly. Not sure what difference this will make.


    Here is what I used as a test:

    Player::"King Dummy" 6 5 ARTIFICIAL "Dummy" 0 false 20588 23226 180 CHRISTIAN_CULTURE
    Player::"Sultan Saladin" 4 4 ARTIFICIAL "saladin" 0 true 22066 5924 0 MUSLIM_CULTURE
    Player::"Richard Coeur de Lion" 5 5 LOCAL "richard" 0 false 19588 28226 180 CHRISTIAN_CULTURE


    Then create an additional adf file for dummy and away you go.


    //
    // Army description file
    //

    UnitStart::"Unit"
    InitialLeaderName::"King Dummy"
    IsGeneral::true
    Position:: 19668 25556
    Direction::180
    GeneralRank::4
    LeaderHonour::4
    UnitMon::1
    TroopType::LateRoyalKnights
    TroopNum::60
    TroopHonour::4
    Columns::5
    CurveRadius::1
    FormationType::FORMATION_CLOSE
    MeleeMode::ENGAGE_AT_WILL
    FatigueLevel::FRESH
    HoldPosition::true
    GeneralIsDaimyo::true
    ArmourLevel::1
    WeaponLevel::2
    UnitEnd::

    Expect to see lots more interesting battles created now!

  2. #2
    Member Member alKO's Avatar
    Join Date
    Jul 2002
    Location
    Finland
    Posts
    11

    Default

    I don't manage to get it work. When I start the battle, it says "wait until conflict is resolved". I added King Dummy to the Jaffa.bdf, then created a new .bdf file for his army.

  3. #3
    Member Member DrNo's Avatar
    Join Date
    Oct 2000
    Location
    Nottingham,England
    Posts
    465

    Default

    I think the message is indicating that there is no human in the battle and the AI is going to fight it out.

    Did you just cut and past the king dummy line into the jaffa.bdf file?

    It should work fine.

    I notice you typed
    'then created a new .bdf file for his army.'

    Is this a typo it should be an adf?



  4. #4
    Member Member alKO's Avatar
    Join Date
    Jul 2002
    Location
    Finland
    Posts
    11

    Default

    Got it working now, I named the army description file wrong before, but it's ok now.
    And it was a typo =)

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