• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Nov 26, 2002
521
0
www.neuralhq.com
1.03 events ... ALL events broken for AI

Figured Id post this as a seperate bug that I discovered while trying to figure out the education problems the AI is having.

Basicly the bug is the AI will ALWAYS ignore option "action_a" for an event no matter what the ai_chance is set at.

Here's the event I created to test this: (and yes I tried with ai_chance 50 rather than 5 with no difference)

Code:
character_event = {
	id = 20600
	
	picture = "event_plague"
	
	trigger = {
		condition = {
			type = not
			value = {
			  type = age value = 2
			  }
		}
	}

	mean_time_to_happen = {
		days = 1
        }
	action_a = {#Give me prestige
                ai_chance = 5
		effect = { type = prestige value = 10 }
	}
	action_b = {#Give me piety
                ai_chance = 5
		effect = { type = piety value = 10 }
	}
}

I then fired up the F12 console and pulled up a kid from an AI court and typed charevent 20600. Then using shift/up-arrow I fired off the event over and over running it about 25 per character. If things were working as they were supposed to the character would get a pretty even split between piety and prestige. But things are not working normaly ;) The AI chooses option 'b' 100% of the time.

Now if I use this instead for the options:
Code:
	action_a = {#Give me prestige
                ai_chance = 5
		effect = { type = prestige value = 10 }
	}
	action_b = {#Give me piety
                ai_chance = 5
		effect = { type = piety value = 10 }
	}
	action_c = {#Give me prestige
                ai_chance = 5
		effect = { type = prestige value = 10 }
	}

Then run the same test you see an exact 50/50 split between option 'b' and 'c'. So my theory is that the AI is totaly ignoring option 'a'.

From a quick test of the standard game events it looks like this is the case for all events in game ..which means the game is about worthless in its current state as the AI is forced down certain paths everytime ...the female child education issue being the most obvious as there is only 2 possible options for it to choose from.

Well, hopefully this helps it get fixed fast as Im getting a bit tired of playing a broken game guys ;)

Myros
 
Upvote 0