Games in Progress: 3 | Players logged in: 4 | Players Registered: 37413 | Games Played Total: 68649
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Original AI: Distance From Store (Kroah Decompilation 5.2.2)  (Read 2366 times)
Big Head Zach
Global Moderator
Mule Senior
*****
Posts: 188


You have captured the Mountain Hedgie (OH NOES!)


View Profile WWW
« on: January 22, 2010, 23:21 »

Distance From Store

This is a minor function that is used by other more complex heuristics. All it does is give a rough weight of a plot based on the difficulty the player has in getting to that plot from the town.

4 4 4 4 5 4 4 4 4
4 3 2 2 3 2 2 3 4
4 3 2 1   1 2 3 4
4 3 2 2 3 2 2 3 4
4 4 4 4 5 4 4 4 4


QUESTIONS:

This map presumes a town with only east and west exits. With the addition of north-south exits, should the river valley weights be reduced (by 1, perhaps?)
Logged

Use me, use me, 'cause I ain't your average MULE groupie.

Lobby Quote of the Moment:
BallsInMyMouth: i need less balls in my mouth
bigheadzach: [you need a username change?]
MrBrown
Mule Regular
***
Posts: 30


View Profile WWW
« Reply #1 on: January 23, 2010, 13:30 »

This map presumes a town with only east and west exits. With the addition of north-south exits, should the river valley weights be reduced (by 1, perhaps?)
As the current version is supposed to resemble the original MULE as close as possible, the north and south exits should be removed from the game.

But if there are additional exits then of course they should be considered by the A.I.
Logged
Pages: [1]
  Print  
 
Jump to: