Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
computer game AI
#41
new beta version:

PLAYER:
1) bishops can now heal friendly units
2) 'm' key initiates MOVEMENT
3) '<' , '>' scrolls thru friendly units
4) 'SPACEBAR' puts all workers to work and advances turn.
5) endturn screen now has world mini map
6) archer bug fixed
7) campaign maps display start campaign text
8) player units only resupplie on player buildings
9) player starting resources are load from map file.

ENEMY AI:
1) bishops will seek and heal damaged enemy units
2) enemy units will seek buildings and resupply when low.
3) enemy units will retreat to enemy building when heavy damage is sustained.
4) enemy soldiers and pikeman will capture player buildings.
5) enemy buildings will produce units according to available resources.
6) enemy archers only attack in X

still polishing up the code and fixing graphics up here and there. i dont understand that setvideoseg tut, i need to study it somemore before trying to plug it in my code. but thanx nathan.

i updated the zip file with the changes, please feel free to test and give feedback. im really trying to bring my gameplay programming up a notch, so constructive critisism is welcome, and encouraged.

http://masula.com/qb45/kingsland.zip
url]http://qb45.think-new.com[/url]
Reply
#42
"." crashes the game.

Again, I am STRONGLY advising you to use "," for military and "." for civilian. The way you have it now has no military/civilian differentiation and the shift key must be used.

Still no way to use keys to move units.

There is still no way to switch between units and buildings.

> and < don't work.
Clicking the work done button sets to work both yours and the enemy's units.

Number killed often exceeds number present.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#43
make sure you replace all the graphics, cause ive added some, they may be causing the crash...

the , and . rotate the units, not buildings. i couldnt get it to crash with the . or ,

currently, there is no way to scroll through buildings... so should it be like?
, and . for military units and ; and ' for buildings, and [ and ] for workers i think that would work good. ?

ill add the keyboard for movement selection.

ill fix the ALL WORK button

ill fix the diceroll (where it says enemy killed) and cap it.

once again, thanx for the help... its very easy to overlook bugs when staring so close. ill post an update 2moro with these fixed.

did you test the AI, how was it?
url]http://qb45.think-new.com[/url]
Reply
#44
Great!

About teh crash:

I just copied all the files over, i dunno.

About ">", "<", ".", ",": I think that you accidentally made the "<" and ">" keys "," and "." But! The game crashes sometimes by pressing them. Not sure why. Next time it crashes I'll try to remember what happened to make it crash.

EDIT

>and ; and ' for buildings, and [ and ] for workers i think that would work good. ?

With "." and ",", I'm going by the M$ standard here, which is often adopted. I'm not sure if there is a back mechanism, but how about shift+{button}? For buildings, I dunno what the (microsoft) standard is.... but I'll check it out.... (EDIT: there is no standard; each building has its own CTRL+bla combo.)

For the AI, I wasn't able to see any difference, but the scenario was way different this time. The extra units helped big time. I was able to squash the AI very quickly. The AI also seemed more peaceful when it comes to villagers attacking and killing military units. Smile

Another EDIT

The waiting time in battles seems.. unnecessary.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#45
man, i got alot done...

k, each unit now uses his move stat... so different units can move different ways.

AI villagers dont attack

'm' key bug fixed (thats what caused your crsah, not the ,.)

u can move units a single space with arrow keys (still working on extending arrow key movement)

[ and ] rotates thru buildings

All Work bug fixed (player doesnt effect enemy villagers)

terrain now effects bonuses in combat

attacker can kill more than the number of enemy present

and a few graphics here and there.

ill post a link when i get home
url]http://qb45.think-new.com[/url]
Reply
#46
>there is not enough time on the intro page to read all the stuff.
>there is no way to know what the ation icons are, with out guessing based off the picuter. try a pop-up name if you can.
>i would strongly sugest using letter keys for actions.
>very good looking game.
Reply
#47
new version up.... this will be the last demo/beta i post, i figure in a few weeks ill have all the fix'ns.

thanx to those who helped me Smile ill squeeze ya in the credits Smile



http://masula.com/qb45/kingsland.zip
url]http://qb45.think-new.com[/url]
Reply
#48
Momo,

My avitar has four examples of icons. The yellow-orange is the transparent color. You can probably find the file Kngs_Ico.gif if you search your Temporary Internet Files directory.
hrist Jesus came into the world to save sinners, of whom I am first.(I Timothy 1:15)

For God so loved the world, that He gave His only begotten Son,
that whoever believes in Him should not perish, but have eternal life.(John 3:16)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)