The Daily Click ::. Forums ::. Misc Chat ::. Turn Based Strategy (TGF AI Examples / Suggestions / Help)
 

Post Reply  Post Oekaki 
 

Posted By Message

Peblo

Custom ratings must be 50 characters or less

Registered
  05/07/2002
Points
  185

Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
21st August, 2005 at 00:29:03 -

Fine, I'll explain myself then.

"((((Target HP + Target MP +(Speed*2))/average current HP of everyone on feild + average current MP of everyone on feild + average speed of everyone on feild) - (Distance from target player in pixels/(square height+length/2)) + 30 for each surrounding unit)*range of character* movement of character)+ ((Strengh of character+Defence of character)*(number of characters on field)/average strength + average defence)))"

I don't know if you have front/side/back damage or not, but you could always throw in something for that, like if the computer is able to hit someone for back damage, throw in a +50 in the equasion somewhere.

You don't have to use it, it just has everything evaluated in an equasion, which could be stored in an AV on each character. If you want cautious units, have an AV constantly be super high torwards a square. If you want something protected, put a high Straticic value on the square next to it. If you want a sneaky tactic then have stratigic points placed around the field with high stratigic value for them. And if you want them to run away, put 'run away' spots on the map when the computers health gets critical.

 
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath

RopeDrink



Registered
  09/08/2005
Points
  205
21st August, 2005 at 18:20:12 -

" I don't know if you have front/side/back damage or not, but you could always throw in something for that, like if the computer is able to hit someone for back damage, throw in a +50 in the equasion somewhere "

I mentioned that above, somewhere.
Seeing as the units are invisible whilst un-noticed, it's possible for you or the enemy to sneak up behind, or beside, a unit and deal a sneak attack for extra damage.

It'll mean that you really have to pay attention to where you move / where the PC moves their characters.

Thanks for your equation, though.

 
n/a

RopeDrink



Registered
  09/08/2005
Points
  205
21st August, 2005 at 22:13:48 -

Just finished another adition to the crap sprite collection I have.

http://www.sitesled.com/members/ropedrink/RopeDrinkAlien03.jpg

 
n/a
   

Post Reply



 



Advertisement

Worth A Click