You must be logged in to post messages.
Please login or register

Scenario Design and Discussion
Moderated by Sebastien, Mr Wednesday

Hop to:    
Welcome! You are not logged in. Please Login or Register.2 replies
Age of Kings Heaven » Forums » Scenario Design and Discussion » Idle villagers
Bottom
Topic Subject:Idle villagers
jontonn
Squire
posted 04-03-03 07:55 AM CT (US)         
I want to create a computer-player nation with 10 villagers. I want 8 of them to be farmers and one to be gold miner, and the last one stone miner.

I try to write this in an AI-script, as 80+10+10 percent, but two of the villagers stand still and do nothing, like they are confused or something?

This is probably basic, I am new to this, can somebody help me?

J^o^n^I

AuthorReplies:
zyxomma100
Squire
posted 04-03-03 09:40 AM CT (US)     1 / 2       
I have almost no clue how to work with AI. Would it be conceivable to use triggers to task the villagers? Or would you need the farmers to rebuild the farms? I believe that you could create a looping create farm trigger, but after the first farm was used up the second one would become invisible. You would have to create flowers or something to compensate and make the villager look like it's farming or hoeing something.

zyxomma100- Age of Kings Heaven forumer
Proudly thwarting Dark_Aro's evil plans since 2002
"There is nothing more sad than watching a teutonic knight chasing a petard."
jontonn
Squire
posted 04-04-03 05:05 AM CT (US)     2 / 2       
I think I solved the problem myself, by setting more strategic numbers, for example:

sn-percent-civilian-gatherers 100

This is exiting when you begin to understand it...

J^o^n^I

You must be logged in to post messages.
Please login or register

Hop to:    

Age of Kings Heaven | HeavenGames