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.5 replies
Age of Kings Heaven » Forums » Scenario Design and Discussion » how do u task villagers to construct a building?
Bottom
Topic Subject:how do u task villagers to construct a building?
Kai124
Squire
posted 10-19-00 05:07 PM CT (US)         
title says it all.
also i would like to know how to task the villagers to start working as soon as the scenario starts
thanx
AuthorReplies:
Icedagger
Squire
posted 10-20-00 03:26 AM CT (US)     1 / 5       
I hope someone will correct me if I'm wrong (since I've never actually done this before), but I think I have an idea. First of all, it requires the Conquerers, as I cannot think of a way to do it without one of the new triggers. Basically, use the "Place foundation" trigger to place the foundation of a building. Then, use "Task Object" triggers on the villagers and task them to the foundation. They should start building when the scenario starts (you could also set a specific condition for them to start building, of course).

Using "Task Object" triggers in the same way, you can task villagers to farms, gold, stone, trees, fish, berries, etc...

Hopefully, that will work. Anyone else have any thoughts?


Romans 10:9 That if thou shalt confess with thy mouth the Lord Jesus, and shalt believe in thine heart that God hath raised him from the dead, thou shalt be saved.

Websites of note:
www.debka.com
www.worldnetdaily.com
www.boundless.org

Midas
Squire
posted 10-20-00 06:02 AM CT (US)     2 / 5       
Another way could be a specific AI-file for this player/civ.
Never designed a scen myself but it worked with others.

(defrule
(can-build xxx)
=>
(build xxx)
(disable-self)
)

where xxx is the name of the building, e.g. barracks, archery-range, stable etc.


Now is the yesterday of tomorrow

[This message has been edited by Midas (edited 10-20-2000).]

Kor
Busschof Happertesch
(id: Derfel Cadarn)
posted 10-20-00 03:01 PM CT (US)     3 / 5       
Icedagger: It won't work.
You cannot taks a unit on something that has not yet been created on the map.
Mental_Dwarf
Squire
posted 10-20-00 03:18 PM CT (US)     4 / 5       
Make or ask someone to make an ai for you.

Just cos i like to bash things
Today is the day of IDIOTS!
Proud member of AoKPunk!!!
You can fart as lowd as you shout.
I have not come here to destroy you i have come here to lough at you.
Icedagger
Squire
posted 10-21-00 03:51 AM CT (US)     5 / 5       
Derfel Cadarn: Yeah, that's true, now that I think about it. Does anyone here know what the "Place Foundation" trigger is actually for?

Romans 10:9 That if thou shalt confess with thy mouth the Lord Jesus, and shalt believe in thine heart that God hath raised him from the dead, thou shalt be saved.

Websites of note:
www.debka.com
www.worldnetdaily.com
www.boundless.org

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

Hop to:    

Age of Kings Heaven | HeavenGames