need help with 'computer moving' basics..
Hei!
as this is my very first computer moving game i need some basic help with ai..
i installed few screenshots to my homepage at "EuroJari HomePage" to ease the understanding of the game idea, basicly its counters with combat and movement factors moving on an map capturing cities and locations with oppositing force doing the same..
i dont expect my project to be easy one to me, but i think i can make it, shortly, about this is how i was thinking to put things go right..
game map is 15x15 hexes, game turns 10.. if i do multiple arrays [15][15] holding the information where game pieces should be on and then just some kind of an close moving prosessing for counters distances 1-3 from 'right place' my game should be running just fine,am i right??..
like i said this is my very first 'computer moving' game and if my idea seems stupid or too simple from you or if you just make it better then i would love to here from you, before i do hundreds of lines of code..
Yours JariTapio / Helsinki Finnland
HomePage:www.EuroJari.net
EMail:JariTapio@EuroJari.net
--Your qustion is not clear.
--What are you asking?
Basicly im asking is my ai plan formatite to my game, i dont want to write those hundreds of lines of code and then someone just gives better idea for ai..
so, if i make multiple arrays [15][15] with locations (cities) holding 1-4 hexes between, and then some kind of a hex2hex movement&combat for distances 1-4, then will you people see my game ai routines reaching the level good ??
Yours : JariTapio / Helsinki Finnland
Screenshots : EuroJari HomePage
--What are you asking?
Basicly im asking is my ai plan formatite to my game, i dont want to write those hundreds of lines of code and then someone just gives better idea for ai..
so, if i make multiple arrays [15][15] with locations (cities) holding 1-4 hexes between, and then some kind of a hex2hex movement&combat for distances 1-4, then will you people see my game ai routines reaching the level good ??
Yours : JariTapio / Helsinki Finnland
Screenshots : EuroJari HomePage
Sounds like you could use a simple state machine for your AI.
This article in the Resources section of the site covers it pretty well.
Just ignore the part about grouping and mob mentality. Those are more advanced.
It seems like you just need two states to get started: Attack and Retreat.
This article in the Resources section of the site covers it pretty well.
Just ignore the part about grouping and mob mentality. Those are more advanced.
It seems like you just need two states to get started: Attack and Retreat.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement