31 May, 2012

Auto Turret Behavior

So I have talked about turrets in the past, and in looking through my past posts I realized I didn't have anything written down about them.  The recipe for making one will include at least 1 energy crystal, crafted metal pieces that will include enough for the dimensions of the turret, which will be 12 triblocks, and possibly something else I haven't determined yet.  They will probably look a little like the Daleks from Dr. Who or the laser towers from Zelda with a floating globe that indicates .  When crafted I want to give the creator the option of the scanning range in sets of 45 degrees.  So for example they could set it to scan a 90 degree angle, or they could set it to 360 if they wanted, though it would be less effective as it would take longer to get back to a given point.  Also the larger the scan field, the less radial distance the scan will cover

When attacked the auto turret will automatically fire a shot directly back to where it was shot from, and then it will scan in a 45 degree angle the area from which the shot was fired for approximately 5 seconds.  The change of scanning also increases total distance of possible scanning to the maximum while it searches, but once it resumes it's normal scan the distance will go back to the original amount.

I want these towers to shoot a constant stream of soldier level weapon fire once locked on a target.  A frontal assault on one is just not possible unless a team of least 15 soldiers are all attacking it at once, but I do hope to have a relatively dumb AI so smart players can defeat them if they work it right.  All turrets will have the ability to fire in 360 degrees  as well as directly up and mostly down so getting around behind one is not a guaranteed destruction.

One other thing I will consider is that if a player near a turret does their laser pointer in a specific direction, the turret will briefly scan that area more thoroughly.  This could possibly be a problem though as spies could intentionally point a turret away while enemy players pass through an area, so I'll probably have to set a timer on it and a limit to how often a player could "direct" the turrets attention.

No comments:

Post a Comment