Game
Towncraft II
10 years ago

Week #4 - new FOW, and AI villages' development


Sorry if I haven’t posted Week #3 news, I didn’t because I simply did nothing to the game that week, lol. But this week I worked a lot on it. I made a new fog of war system:

5d0c46e924b25.png

I’m also working on two things, one is very important, a new movement system, and the other is very cool, the AI villages development. Their AI work like this, in order of priority:

  1. Pop. capacity exceeded? Build a house.

  2. Food production < Food consumption? Build farm.

  3. No villagers for building requests? Train villager.

  4. Order idle villagers to work on mines/lumbermills if possible.

  5. Build mine/lumbermill when nothing is really needed.

Each village has its action_delay variable, which defines the time between these checks above. The faster the checks, the faster they raise. Difficulty defines their action delay, added to some random number. I need to add more things like make them build markets, barracks, etc, also making them train warriors when in need of protection and make they plan attacks (mwahaha) against the others, of course, but it’s already very nice and grateful to see them raising their own villages, hehe.



3 comments

Loading...

Next up

Just as Pecaminosa's musicians #improvise this rendition of #LittleSunflower 🌻, so do we improvise with this post you're reading. 😂

What's coming out of your own improvs? 🤔

#Pecaminosa | #IndieDev | #OST | #Jazz

We are under attack!

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

Sometimes the suction cup get sticky. Small animation I made in Blender after doing my tutorial on picking up/dropping objects in animations. Crate model by jQueary (https://sketchfab.com/3d-models/game-ready-sci-fi-crate-d98deca6…).

"Day to Day" (also check spud out here he's a great guy and writer: https://soundcloud.com/spudward)

An infected room from the second part of Cybel ! Are you up for some cleansing?

Who's is this little cutey👸 here? Thanks🙏 for a gorgeous fanart @WheNa! Feel free to share your arts, screenshots, or videos with #playzelter or #zelter hashtags! #pixelart #animating #unity3d #animated #indiegames #unrealengine #animate #conceptart

If you’ve played the Vault demo and enjoyed it, please consider ‘liking’ the game page here on Gamejolt and/or leave a comment!

Also please consider tossing Vault on your Wishlist, I really appreciate your support!

https://store.steampowered.com/app/1251800

New Teasers!