Map Database  •  FAQ  •  RSS  •  Login

AI gone mad((

<<

Thanatos

Blacksmith

Posts: 28

Joined: 10 Sep 2009, 22:00

Location: Russia/Nsk

Post 22 Sep 2009, 13:31

AI gone mad((

I was testing my new map and after 1:30 since I started the game. AI started making strange things. AI was mowing its troops from one def point to another without a reason. And 10 minutes later, behaved like it was attacked. Soldiers were screaming and running around all the map. :shock: One more strange thing was that my archers and watchtowers didn't shoot at enemyes.

What the hell they were doing? I have no idea about why... Does anybody know the reason? Heelp!... :cry:

I would put screenshots of that nightmare here but i can't load images from my computer.
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 22 Sep 2009, 14:14

Re: AI gone mad((

Soldiers were screaming and running around all the map. :shock:
Cool! I didn't know that soldiers could run around screaming in KaM!
Seriously though, I think I know what this is. It's called the "Drunk Soldiers" bug. It is caused by having too many units in the game, and is thought to be a bug in the KaM engine.
To fix it, reduce the number of units on the map. (e.g. delete a team or use the AI Max. Troops setting to restrict the number of troops the AI trains)
There is a more detailed explanation in the help file for my editor. Go to Help -> Help under the menu and then look under Appendix -> Game Bugs.
<<

Thanatos

Blacksmith

Posts: 28

Joined: 10 Sep 2009, 22:00

Location: Russia/Nsk

Post 22 Sep 2009, 16:14

Thank you, Lewin. At first I thought my dat.file is damaged(if i can use this term) and will always work incorrectly. My 10 hours of scripting won't be lost! Though I probably have to decrease number of men in each troop and delete all animals. Yeah... action may not be so cool as i imagined at first.... But i'll work with the mission more. In 2-3 days I send you a beta-version of it. I hope, It will be an interesting thing.....

Oh! One more question. I've read help file of your editor and discovered that number of all of repeating attacks is limited(10 times) I know it's imbossible for AI to make 15 AI attacks with 100 men. It take a lot of time and gold. but though if I want to make this can I create 2 similar(may be a wrong word) scripts with the same Repeating attacks(70 men in 4 ranged and 3 melee troops, for example) It'll be 20 times. So... will it work?

That isn't all! :lol: I still can't understand what the difference between Repeating Combo and Repeating attack using random units?
<<

Thunderwolf

User avatar

Crossbowman

Posts: 233

Joined: 22 Jan 2008, 23:00

Website: http://thunderwolf.freehost10.com/KaMMissionBuilder/index.php

Location: Netherlands

Post 23 Sep 2009, 08:14

@Lewin: sure they can scream, at least the infantry. they can scream "CHARGE!!!" and stuff...
~old sig
MissionBuilder v0.9f2 UPDATED!!
Defend The Outer Colony. fight for your king and uncover the secrets of this land.
Temporary version at
http://thunderwolf.x10hosting.com/index.php
"You can't defeat me, I've played Knights and Merchants"
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 27 Sep 2009, 23:31

Oh! One more question. I've read help file of your editor and discovered that number of all of repeating attacks is limited(10 times) I know it's imbossible for AI to make 15 AI attacks with 100 men. It take a lot of time and gold. but though if I want to make this can I create 2 similar(may be a wrong word) scripts with the same Repeating attacks(70 men in 4 ranged and 3 melee troops, for example) It'll be 20 times. So... will it work?
You completely misunderstood me. As far as I know attacks will continue to repeat forever. The limit is that you can only have 10 individual attacks. But each attack will continue to happen for the whole game. (I think) By individual attacks I mean the number of items (commands) under the attack heading in the treeview.
That isn't all! :lol: I still can't understand what the difference between Repeating Combo and Repeating attack using random units?
Firstly, I am only going on what people say and what I have experienced. I made up the names repeating and repeating combo. In the script they are just numbers.
The difference between repeating and repeating combo:
1. Repeating combo only works in TPR, but Repeating will work in both.
2. Repeating combo allows for a time to be set. Say you have set the time to be 10 minutes (which is 6000 in KaM time) This means that the AI will wait ten minutes, then if they have enough men they will attack. After that they will continue to attack without delay if they have enough troops. So it just puts a delay before the first attack.
With just Repeating attacks they will start without delay if they have enough troops.
<<

Categoricus

User avatar

Warrior

Posts: 128

Joined: 31 Oct 2009, 23:00

KaM Skill Level: Average

Location: Ireland

Post 02 Nov 2009, 22:52

In original 015th mission "drunk soldiers" effect often comes forward at the south-east black village but I don't remember they would have stopped it even when I "limited":) their number.

EDIT: I was wrong when writing 016 so I corrected it to 015.
Primus Christianus Hungaricus Categoricus

Return to “General Talk”

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest