Thread: Mod SemiRandom AI
View Single Post
  #12  
Old November 26th, 2008, 04:36 PM
Stavis_L's Avatar

Stavis_L Stavis_L is offline
Second Lieutenant
 
Join Date: Sep 2008
Posts: 466
Thanks: 35
Thanked 95 Times in 60 Posts
Stavis_L is on a distinguished road
Default Re: SemiRandom AI

@JimMorrison - re: cycling to get advantageous picks, I think the point is to have the AI use this, and it presumably wouldn't do that :-)

@Gandalf Parker - Interesting idea, and looks fun. Have you considered investing a little extra time into the program's infrastructure to allow some configuration a-la SemiRandom/RanDom? Where I'm going with this is to allow randomness, but within certain ranges to prioritize synergistic combinations.

Here's a totally off the cuff configuration schema that might be a way to go (note: had to use braces vs. xml angle brackets for it to be accepted into the post...)

{units}
{unit id="727"}{!-- Jaguar warrior, likes a strong fire, water, or death blesss --}
{magicpreference type="fire" minlevel="9" /}
{magicpreference type="water" minlevel="9"/}
{magicpreference type="death" minlevel="9" /}
{!-- unit synergies are with a fast or flying, blessable unit --}
{unitsynergy type="262" /}{!-- van --}
{unitsynergy type="367" /}{!-- pegasus rider --}
{unitsynergy type="726" /}{!-- eagle warrior --}
{unitsynergy type="791" /}{!-- red guard --}
{unitsynergy type="851" /}{!-- cu sidhe --}
{/unit}
{unit id="784"}{!-- Jotun Woodsman, likes cold and a Nature or earth bless --}
{magicpreference type="nature" minlevel="4"/}
{magicpreference type="earth" minlevel="6" /}
{scalepreference type="cold" /}
{!-- unit synergies are with cold resistant unit or those that
appreciate earth or nature bless --}
{unitsynergy id="831"/}{!-- ice elemental --}
{unitsynergy id="1287"/}{!-- tempest warrior--}
{unitsynergy id="1618"/}{!-- angakok --}
{unitsynergy id="1927"/}{!-- peshti axeman --}
{unitsynergy id="2001"/}{!-- seren --}
{/unit}
{unit id="304"}{!-- devil, likes blood or fire magic, heat, no particular unit synergies --}
{magicpreference type="blood" minlevel="4"/}
{magicpreference type="fire" minlevel="4"/}
{scalepreference type="heat" /}
{/unit}
{/units}
Reply With Quote