Thread: Bugs Thread
View Single Post
  #489  
Old 11-07-2012, 12:42 AM
Bhruic Bhruic is offline
Approved Member
 
Join Date: Oct 2012
Posts: 233
Default

Quote:
Originally Posted by Bhruic View Post
edit: I started a new game with the "all units available" mod, hired a Highterant and its egg showed up correctly. So I'm thinking it might be a bug caused by the unit summoning it being an "ally" rather than being owned by the player? I haven't seen an enemy unit with one to test if they work for the enemy.
Ok, now here's a bug: When you control a Highterant, if there is an adjacent enemy unit, and you try and summon an egg, you get the popup "There are no enemies nearby!" Obviously there are enemies nearby, but I'm not sure why that's relevant in either case. Are you not supposed to be able to summon an egg when you are next to an enemy? I don't remember how it worked in AP.

Also not sure if this is the same issue as with the AI controlled one, but it seems entirely likely.

edit: Ha, I was curious enough to fire up AP, and it does the exact same error!

edit x2: Yeah, the problem was indeed that the AI is, well, dumb. I think the problem is that they tried to do a unified AI for every unit that summons things, but neglected to take into consideration special cases like the Highterant. The AI basically tries to get as close to all of the enemy units as it can, then summons whatever it can summon. But Highterants can't summon when they are beside an enemy, so it borks. I've got a fix that allows the egg to be placed properly, but it's still bad AI. Unlike all the other summons, the egg needs to hatch before units come out, so trying to get close to the enemy is the dumbest thing you could do - the enemy will just kill the egg. It's going to need a completely new AI routine to try and get the egg as far away from any other units as can be managed.

Last edited by Bhruic; 11-07-2012 at 02:39 AM.
Reply With Quote