View Single Post
  #7  
Old February 27th, 2004, 07:06 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: RanGame (random game generator project)

Hmmm where to begin. Lets see.....

the commanders coming from the full list gets alittle crazy. The easiest next step was to create a second routine for assiging a random commander. So I created a logical one which which selects only from 0-293 and ignores these
data 109,156,157,158,159,215,216,91,120,138
(god forms)

I thought about ignoring the large section of mages there also but left that in. I also lowered how many of the "pick from the whole insane list" might appear as bodyguards/units. So now the routine has a chance of giving you reasonable commander with reasonable troops assignments simply bosting the indeps defense, and a lesser chance of also tossing in a floating head with 3 monoliths guarding it and 5 titans as units.

The next level up on adding logic involves creating arrays which allow assigning based on land/water capability. The routine presently allows units to be assigned both land and water which "drown" in the first round of the game. Not too bad since it adds a possiblity of creating "empty" provinces.

Then the array might flag all units as commander, follower, god so that the Groups made more sense. You didnt have mages assigned as troops (wow, I have 15 guys in robes who attack with daggers) or not have a vineman commander leading an army of dragons. Or group them by type so that a dragon leads an army of dragons, and a titan leads an army of titans.

*sigh* there is more for the commander thing. Do you really want the whole list of my overly fertile mind? Much less the list for the castle/lab/temple thing, the indept/magic/sites strength, random sites assigning, logical equiping of commanders, etc?

Obviously this could get out of hand. Anyway the final vision for a total project might end up as involved as DomMap did. Listing all the possible features and giving a choice range from vanilla plain to completely insane.

[ February 27, 2004, 17:09: Message edited by: Gandalf Parker ]
__________________
-- 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