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.1 reply
Age of Kings Heaven » Forums » Scenario Design and Discussion » AI script builds lumber-camp to far from TC ??
Bottom
Topic Subject:AI script builds lumber-camp to far from TC ??
StAAlker
Squire
posted 01-13-01 06:28 PM CT (US)         
Why does my script build lumber-camp so far from home??
(defrule
(unit-type-count-total villager > 15)
(building-type-count-total lumber-camp less-than 1)
(resource-found wood)
(building-type-count-total lumber-camp < 5)
(can-build lumber-camp)=>
(build lumber-camp)
(chat-local-to-self "Building a lumber camp"))
AuthorReplies:
Bingmann
Squire
posted 01-14-01 12:03 PM CT (US)     1 / 1       
The default maximum distance for lumber/mining camps from the TC is 25 tiles. You can reduce this with:

; Maximum camp distance 15 or less
(set-strategic-number sn-camp-max-distance 15)


Bingmann's Age of Kings AI Scripting Kitchen Party - http://aok.xhounds.com
AoK:TC AI Tournament League - http://aok.heavengames.com/ai-tourney
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Kings Heaven | HeavenGames