Is class behavior hard coded?
Posted: Fri Aug 05, 2011 3:31 pm
Theoretically speaking, is it possible to create custom unit class behavior sets? For example, the scout is the only unit class that uses sniper nodes. Give any unit the designation of scout and it will try to be a sniper. On the flipside, engineer is the only unit class that repairs building given it has a fussion cutter. Giving a fussion cutter to a soldier does not make it repair buildings. These preset behaviors are starting to be a problem for me because I somewhat re-made the classes in my current mod. The Engineer is responsible for repairs, fighting with a shotgun, giving out extra ammo, dropping auto-turrents, and dropping deployable cover. Two of the five functions are based on the scout (the deployable cover is just an auto-turret firing an enlarged droideka shield) and the other functions are based on the engineer. I was wondering if there was any way to combine the properties of those two class behaviors so that the AI would make the most of this class.