= Defense Turret = * Tickets: #212, #394 * Authors: * Code: Martin Mueller (muemart) * Model: moralelastix(?) == Important Files: == * data/models: * turretHead: The part that actually moves and shoots. * Parts for the socket: * turretSocketFront * turretSocketIn * turretSocketLeft * turretSocketRight * turretSocketTop * src/modules/objects: * [source:code/trunk/src/modules/objects/Turret.cc Turret.cc], [source:code/trunk/src/modules/objects/Turret.h Turret.h]: Rotates the turret and calculates, if an enemy is in range. * src/modules/objects/controllers: * [source:code/trunk/src/modules/objects/controllers/TurretController.cc TurretController.cc], [source:code/trunk/src/modules/objects/controllers/TurretController.h TurretController.h]: Controls the turret, especially searches suitable enemies. * [source:code/trunk/src/modules/objects/controllers/TeamTargetProxy.cc TeamTargetProxy.cc], [source:code/trunk/src/modules/objects/controllers/TeamTargetProxy.h TeamTargetProxy.h]: Copies team and target from a parent to itself (see docs for more info). == Infos for levelmakers == Add {{{ }}} for the standard turret (the only one at this point) to your file, and you're pretty much good to go. Add a turret with {{{