.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old November 23rd, 2008, 02:45 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default SemiRandom AI

Well its time for another offering from me for the lovers of chaos. Ive been playing awhile with a new program of mine.

It selects nation 77 and assigns basic units and commanders to it.
And then randomly assigns 2 more units and one commander from anything in the game (any unit, summons, or pretender).

6 heroes and 2 multi-heroes are selected from anything in the game.

Also 10 new gods are added to the nation from anything in the game. Its kindof interesting to get an insane god, or a blessable one, or one that can seduce.

This is kindof the opposite of the CBM mod. Instead of seeking balance for the players, Im seeking imbalance for the AI. Within reason of course. The initial version randomized all of the units for the nation.
Too insane even for me.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #2  
Old November 23rd, 2008, 02:55 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: SemiRandom AI

Here is one of the god selection screens I got.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #3  
Old November 23rd, 2008, 02:59 PM
HoneyBadger's Avatar

HoneyBadger HoneyBadger is offline
General
 
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
HoneyBadger is on a distinguished road
Default Re: SemiRandom AI

That sounds great, Gandalf, and a lot of fun, but are the blessable Pretenders actually blessable? In other words, does making them sacred crash the game with the "No Holy" error?
__________________
You've sailed off the edge of the map--here there be badgers!
Reply With Quote
  #4  
Old November 23rd, 2008, 03:03 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: SemiRandom AI

I have chosen a couple and didnt crash the game. But I didnt test the actual bless so I probably should next time.

Edit:
OK a pretender seems to stay unblessable. But he can cast bless on others and build temples.
Interesting side note, it seems as though no one can bless themselves?
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)

Last edited by Gandalf Parker; November 23rd, 2008 at 03:25 PM..
Reply With Quote
  #5  
Old November 23rd, 2008, 03:38 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: SemiRandom AI

Ok here is a shot of a recruiting screen.


Militia, Lt Infantry, Hvy Infantry, Lt Cavalry, Hvy Cavalry, Knight, Archer, Crossbowman, SLinger, Axeman. Then two units "granted by Eris the Goddess of Chaos" which are Merman Captain @ 150 gold and Manticore @ 150 gold.

The commanders are Scout, Commander, Knight Commander, Priest, and Druid. One commander granted by Eris which is a False Horror at 240 gold. Then various mages granted by the random selection of unit-granting magic sites which means that the Druid is the only mage which can be hired outside of the capital.

I want to test how the AI creates armies when all of these are available but I wouldnt mind some tips from other people who have tested the AIs actions in order to improve them. Im also debating tossing in the Flagellants to get the AI a generic blessable unit.

Last edited by Gandalf Parker; November 23rd, 2008 at 03:51 PM..
Reply With Quote
  #6  
Old November 23rd, 2008, 03:44 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: SemiRandom AI

Heehee. Having a Mad Cultist as a god is kindof interesting. And having an Iron Dragon show up as a hero is useful.
Reply With Quote
  #7  
Old November 23rd, 2008, 04:54 PM
Gregstrom's Avatar

Gregstrom Gregstrom is offline
Major General
 
Join Date: Sep 2007
Location: Scotland
Posts: 2,066
Thanks: 109
Thanked 162 Times in 118 Posts
Gregstrom is on a distinguished road
Default Re: SemiRandom AI

Do Doom Horror pretenders disappear at random, as you'd expect?
Also, when will I be able to download this?
Reply With Quote
  #8  
Old November 23rd, 2008, 05:26 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: SemiRandom AI

No. To keep things working right, all of the added units are copied to a new ID number. So they have the same features but are not the same unit.

It might be awhile before downloading. I can make some of the mods it creates available but the program is abit more difficult. For now its a yaBasic program that runs on Windows and my Linux server. Eventually I will compile it for Windows.

Here is one of the mods it made. Just unpack it into your mods directory, enable it, and then play an early era game. The new nation shows up at the end of the list.
Attached Files
File Type: zip SR_AI.zip (1.0 KB, 157 views)
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #9  
Old November 26th, 2008, 01:29 PM
JimMorrison's Avatar

JimMorrison JimMorrison is offline
Lieutenant General
 
Join Date: May 2008
Location: Utopia, Oregon
Posts: 2,676
Thanks: 83
Thanked 143 Times in 108 Posts
JimMorrison is on a distinguished road
Default Re: SemiRandom AI

Pretty cool!

I'd recommend removing Militia from the roster though.....

Is there any rhyme or reason to the Pretender costs and starting Dominion? The Dusk Elder at 15 is a steal, but some of the others ended up as 190-200? Also, interesting thing I noticed - a Pretender with random magic will recycle each time you select, so you can just try again until you get the picks that you want.

Really interesting to mess around with though. One other thing I'd recommend, is maybe adding 3 units instead of 2. I don't think that will make the strongest any stronger really, but it'll increase the odds of getting something really useful, and affordable. I really like the capital sites though, good job!

Maybe you could just generate a dozen or so of these really quickly, and we could help you test the relative viability against other randomized nations?
Reply With Quote
  #10  
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
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:41 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.