Jump to content

22 July Progress Update


Recommended Posts

Another question about the AI, Chris (or whomever): Will the AI be avoiding hazardous tiles in the future? (Not walking through fire, gas, etc).

Personally, to do this I'd give the game two pathing systems: the current one, and a new one that forces the game to see fire and gas-filled tiles as impassable. Then I'd have each movement "decide" through a random dice roll to see which pathing system to use for any given movement. There'd be a chance for each AI unit to pick which one to use, in essence.

For example, for civilians, I'd make it 100% (chance to choose the hazard avoidance system). For all other aliens, each rank/species would have their own percentage, based on their armor, species behavior, etc. For example, an Andron would have a 0% chance to choose the hazard avoidance system, simply because it doesn't care. If the alien's armor wouldn't allow it to take damage from fire or gas, then they'd not care about walking through the tile, then, since it's not a hazard.

When the AI unit is panicked, they'd always get the non-avoidance system, because they aren't thinking clearly.

Also, if possible, making the % chance for the AI unit variable, increasing or decreasing based on certain factors, that'd be more realistic. For example, if the AI unit has low HP, it'd be more likely to avoid the hazardous tiles. If it had high HP, then it wouldn't care as much. Also, I can't remember if alien armor can take damage (and thus reduce in effectiveness), but if it can then how damaged the armor is could also be a factor.

Now, if we can get the AI's path to avoid tiles, couldn't we have a toggle to make the player's path avoid such hazardous tiles too?

A few ways I could see this happening (feel free to pick and choose which would be best); put a toggle "Avoid Hazardous Tiles" in the options menu; give the player a toggle in the GC UI (tooltip "Enable Hazardous Tile Avoidance"); make a hotkey (shift click, maybe?) to use the other option (so if hazardous tile avoidance is activated, normal clicking would use that method, and shift clicking would use the other).

Anyway, I posted the idea ages ago (inspired by Solarius Scorch), but nothing seemed to come of it. Here it as again, on a thread that actually seems to be read by the developers (really, there are some nice ideas in the suggestions board, yet there is remarkably little developer input on that forum).

Link to comment
Share on other sites

I like some of the suggestions, but maybe we should create an AI thread in the Beta forum. I think the "avoid" bad tiles directive is already on the AI "list" for Goldhawk, but Gomez has made some good suggestions as have others.

Edited by StellarRat
Link to comment
Share on other sites

Ground Combat AI discussion should probably just go in the Ground Combat balance thread, given how intricately it is linked to the rest of the GC missions. Also yes, avoiding hazardous tiles is on the list of AI things to implement.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...