Author: {wf}shadowspawn <shadowspawn_at_shadowspawn_dot_net>     Reply to Message
Date: 9/3/2012 7:19:58 AM
Subject: Weapons Factory Arena: Bot Cyborg Killing Sentry

This was kinda tough to do. I'm still working on the weapon switch after it kills the sentry, but it resets on death. If cyborg is killed by a sentry, he actually works like one big sentry killer. Same code, almost, but I ignore the "is the sentry visible" part and make it a LTG (Long Term Goal) if it's present. It also is always aware if a sentry is present or not, which to me isn't cheating, because in a team-based game people are communicating anyway, and you're gonna know if one is still up or destroyed. However... if a new one is up, the bot doesn't know about it unless it gets hit by it. I don't have him switching weapons during mid-fight with an alive player, and am working on switching if there are no players left.


_