Basic Monster

if you havn't done the basic sentries tut please do it now, as this builds on what was done there.

This tut replaces s_ai.h, s_ai.cand sentry.c. it gives the sentry the capability to chase towards it's targets and shoot them (if the target is more than 200 units away it chase towards them, till it gets within 150 units and then it shoots them. otherwise it just shoots them) it rotates in place as I havn't given a way to set it's angles (the laser designator code is still there, it just doesn't do anything anymore. feel free to strip it out)

Read the source files provided. They are commented far better than I used to do, and should be fairly undertandable. The main difference is that it is now using a state variable to store what the sentry is doing at the moment. It makes the code a bit more readable.


Resources


Skunkworks Tutorials