Princess Bot Properties (for Megamek)

Discussion in 'Tabletop' started by MagnusEffect, Mar 10, 2013.

  1. MagnusEffect

    MagnusEffect Administrator Staff Member Jarl SC Huscarl

    Messages:
    9,655
    Likes Received:
    6,103
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Melbourne, FL
    Ætt (Clan):
    Huscarls
    file pathway:
    ...\mekhq-0.1.23 & MP4.0a\mmconf

    Unfortunately the original author of Princess didn't write any docs for her. Here's what I've been able to piece together, though.

    fall_shame - How much Princess wants to avoid failing a Piloting roll. Higher values maker her more conservative.

    blind_optimism - Supposed to be used for 'assuming' the enemy will move away, but it doesn't seem to be implemented.

    enemy_underestimation - Not actually used, near as I can tell.

    foolish_bravery - Affects how much she'll worry about taking damage. Higher makes her more willing to take damage in order to do damage.

    hyper_aggression - How much does she want to close with the enemy. Closer to 1.0 is more aggressive while closer to 0.0 is less. She'll still want to close, but not as quickly.

    herd_mentality - Affects how close she wants to stay to her allies. Higher means she'll stick closer.

    self_preservation - When Crippled or ordered to flee, this determines how quickly she'll move toward her home edge.

    home_edge - Which edge is home.
    0 = North
    1 = South
    2 = West
    3 = East

    The ranges are actually pretty open-ended code wise. As for what the practical limits are, that's going to have to be an exercise in experimentation. However, I'd generally stay within the same order of magnitude.
     
    Last edited: Jul 19, 2013
  2. MagnusEffect

    MagnusEffect Administrator Staff Member Jarl SC Huscarl

    Messages:
    9,655
    Likes Received:
    6,103
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Melbourne, FL
    Ætt (Clan):
    Huscarls
    bot fix when restarting a saved game or when a bot is stuck:

    /help = lists all commands (prefacing /help with a command will explain function)
    /who = list of all players (including bots)
    /kick # = kick # according to /who list
    /replacePlayer [name of player/bot] = replaces actor with Testbot
    /replacePlayer -b:princess [name of player/bot] = replaces actor with stock Princess settings

    example: For the name DieronRegulars the command /replacePlayer DieronRegulars will activate a TestBot
    /replacePlayer -b:princess DieronRegulars will activate a Princess bot
     
    Last edited: Apr 8, 2014
  3. MagnusEffect

    MagnusEffect Administrator Staff Member Jarl SC Huscarl

    Messages:
    9,655
    Likes Received:
    6,103
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Melbourne, FL
    Ætt (Clan):
    Huscarls
    6 vs 6 Bot Testrun (Princess vs Princess)

    Total Rounds: 57
    Memory Allocated: 2048 MB
    CPU Usage: ~60% (Core 2 Duo 3.16/3.17 Ghz, 8 GB of RAM)
    Average Movement Turn Time for Bots: under 20 secs :D
    Total Crashes: 1 (Princess2 "disconnected"); fixed with "/replacePlayer -b:princess <player name>" command

    Modified Bot Parameters:
    fall_shame=20.0
    blind_optimism=1.2
    enemy_underestimation=.5
    foolish_bravery=1.5
    hyper_aggression=0.02
    herd_mentality=0.10
    self_preservation=30.0
    home_edge=0

    Test notes: Ran test on Canyon map again. After AI changes, bots now deployed much closer together; worked more effectively as a team. No suicides from blindly running off cliffs and heavily damaged mechs retreated like they are suppose to. Bots using mechs with jump jets are far more effective at moving through rough terrain and can navigate cliffs easily. Sprint is still broken; bot appears to "panick" when heavily damaged and uses it too much: recommend discontinuing use. Leaping and Adv. Backward Movement appear to work correctly now.

    More testing needed.

    Game Results:

    Victory!
    -------------------

    Winner is: TEAM #1

    MagnusEffect: 0 BV remaining (from 0 initially) 0 BV fled
    Princess: 810 BV remaining (from 5862 initially) 0 BV fled
    Princess2: 0 BV remaining (from 5978 initially) 0 BV fled

    Survivors are:
    Ostroc OSR-2C (Princess) is :awesome:
    Pilot : Liu-liang Jianbua [4/5]
    Kills : 3



    The following units are in retreat:
    MechWarrior Mong-Hien Wie (Princess)
    Gunnery Skill : Mong-Hien Wie [4]
    Kills : 0

    MechWarrior Liam bin Nazeem (Princess)
    Gunnery Skill : Liam bin Nazeem [4] ( 4 hit(s) )
    Kills : 0

    MechWarrior Eliisa Ageda (Princess2)
    Gunnery Skill : Eliisa Ageda [4] ( 4 hit(s) )
    Kills : 0

    MechWarrior Zoie Malata (Princess2)
    Gunnery Skill : Zoie Malata [4] ( 5 hit(s) )
    Kills : 0

    MechWarrior Orran Syrett (Princess2)
    Gunnery Skill : Orran Syrett [4]
    Kills : 0

    MechWarrior Wynn Kunderan (Princess)
    Gunnery Skill : Wynn Kunderan [4] ( 1 hit(s) )
    Kills : 0

    MechWarrior Aklilu Rassul (Princess)
    Gunnery Skill : Aklilu Rassul [4] ( 3 hit(s) )
    Kills : 0

    MechWarrior Melanie Maragos (Princess)
    Gunnery Skill : Melanie Maragos [4] ( 4 hit(s) )
    Kills : 0

    MechWarrior Thomas Durand (Princess2)
    Gunnery Skill : Thomas Durand [4] ( 2 hit(s) )
    Kills : 0

    MechWarrior Jeanne Mori (Princess2)
    Gunnery Skill : Jeanne Mori [4]
    Kills : 0

    MechWarrior Altair Telis (Princess2)
    Gunnery Skill : Altair Telis [4]
    Kills : 0


    Graveyard contains:
    Flea FLE-4 (Princess)
    Pilot : Mong-Hien Wie [4/5]
    Kills : 0
    Destroyed by Phoenix Hawk PXH-1 (Princess2)

    Wasp WSP-1A (Princess2)
    Pilot : Eliisa Ageda [4/5] ( 4 hit(s) )
    Kills : 0
    Destroyed by Ostroc OSR-2C (Princess)

    Phoenix Hawk PXH-1 (Princess)
    Pilot : Wynn Kunderan [4/5] ( 1 hit(s) )
    Kills : 0

    Phoenix Hawk PXH-1 (Princess2)
    Pilot : Thomas Durand [4/5] ( 2 hit(s) )
    Kills : 3

    Warhammer WHM-6R (Princess2)
    Pilot : Jeanne Mori [4/5]
    Kills : 1
    Destroyed by Ostroc OSR-2C (Princess)


    The following utterly destroyed units are not available for salvage:
    Scorpion SCP-1N (Princess)
    Pilot : Liam bin Nazeem [4/5] ( 4 hit(s) )
    Kills : 0
    Destroyed by Phoenix Hawk PXH-1 (Princess2)

    Scorpion SCP-1N (Princess2)
    Pilot : Zoie Malata [4/5] ( 5 hit(s) )
    Kills : 0
    Destroyed by Wolverine WVR-6R (Princess)

    Chameleon CLN-4V (Princess2)
    Pilot : Orran Syrett [4/5]
    Kills : 0
    Destroyed by pilot error.

    Wolverine WVR-6R (Princess)
    Pilot : Aklilu Rassul [4/5] ( 3 hit(s) )
    Kills : 1
    Destroyed by Phoenix Hawk PXH-1 (Princess2)

    Hunchback HBK-4G (Princess)
    Pilot : Melanie Maragos [4/5] ( 4 hit(s) )
    Kills : 0
    Destroyed by Warhammer WHM-6R (Princess2)

    Victor VTR-9A (Princess2)
    Pilot : Altair Telis [4/5]
    Kills : 0
    Destroyed by Ostroc OSR-2C (Princess)


    Detailed unit status saved to entitystatus.txt
     
    Last edited: Mar 18, 2013