Page 2 of 2

Re: Snippets

Posted: Sun May 15, 2022 11:06 pm
by arandi
Oh no, more ranged units AIs incoming ;)

Re: Snippets

Posted: Mon May 16, 2022 2:25 am
by kunyi
Gj :dance
in ranged micro missing

(defconst goal "xy")

Re: Snippets

Posted: Tue May 24, 2022 10:21 am
by FireBall37
Alright, reuploaded again, fixing more mistakes and adding a new script from Marathon! :dance I decided to start numbering these for you guys because of how many mistakes I've missed and thanks Kunyi for pointing out the missing defconsts for the goals :head :rolleyes:

Re: Snippets

Posted: Fri Jun 17, 2022 12:59 pm
by wattle
I added the sheep claim and the first houses to "my" Mangudai AI and I love the sheep claim <3. The second house gets placed but the dumb vill next to it ignores it and moves else where. Need to unnoobyfy a bit more probably :lol:
Thanks MrElephant for setting me up ofc :rolleyes:

Re: Snippets

Posted: Sun Apr 23, 2023 3:43 am
by wattle
Randomly thinking about what snippets would be great to have for a lazy noob.
- Retreat from TC, tower, castle
The ranged mirco snippet has that for TC and towers, but not for castles and well its for ranged micro ofc.

- Vill defense vs rams
It often bothers me to see when a (lonely) ram attacks a TC or tower and the vills auto-garrison into TC, being idle and ineffective vs the ram, while some good AIs let them hop out and make short work of the ram.

I think these snippets also can serve as a help to understand how this scripting can be done, ideally lowering the barrier to more complex parts and leaving room for improvements, so people are encouraged to pick up from there.