Age of Empires II (2013)

Age of Empires II (2013)

Advance to the Steam Age
Explore new maps, multiplayer scenarios, and user created campaigns. Or reinvent your game experience with new sounds, visuals, AI, units, and more! Ready to share your creations with the world? Upload right from the map editor, or collaborate with friends to create a masterpiece collection.
manemane 9 Apr, 2019 @ 1:49pm
AI won't build house first.
hey i just want 1 thing.
that my villagers build a house just when the game starts.

i tried everything...

they first gather some sheep and after maybe 30 seconds they start to do what i want.

( defrule(true) => (set-strategic-number sn-food-gatherer-percentage 0) (set-strategic-number sn-gold-gatherer-percentage 0) (set-strategic-number sn-stone-gatherer-percentage 0) (set-strategic-number sn-wood-gatherer-percentage 0) (set-strategic-number sn-maximum-gold-drop-distance 0) (set-strategic-number sn-maximum-stone-drop-distance 0) (set-strategic-number sn-maximum-food-drop-distance 0) (set-strategic-number sn-maximum-wood-drop-distance 0) (set-strategic-number sn-enable-new-building-system 1) (set-strategic-number sn-percent-civilian-explorers 0) (set-strategic-number sn-percent-civilian-builders 100) (set-strategic-number sn-percent-civilian-gatherers 0) (set-strategic-number sn-cap-civilian-builders 100) (set-strategic-number sn-cap-civilian-explorers 0) (set-strategic-number sn-cap-civilian-gatherers 0) (set-strategic-number sn-random-placement-factor 0) (set-strategic-number sn-build-frequency 10) (set-strategic-number sn-max-build-plan-gatherer-percentage 100) (up-build place-normal 0 c: house) (build house) (disable-self) )
< >
Showing 1-1 of 1 comments
I haven't coded for this game in a while but i might be able to help. does the ai script load any other personality files before it gets to this code? if so one of those files might be using its code in-place of the one shown here.

One thing of note is that per files are executed top down so anything above the code snipet shown here will be executed first. In short things you want done fist should be at the start of the file.
< >
Showing 1-1 of 1 comments
Per page: 1530 50