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.
Hex Wars (name may change later) is an attempt to make a family friendly FPS/RTS online game. The idea is to have a game that plays something like a strategy board game with the players taking the role of the pieces.
Showing posts with label AI. Show all posts
Showing posts with label AI. Show all posts
31 May, 2012
Auto Turret Behavior
Labels:
AI,
Apoid,
Apoidea,
Autoturret,
Brift,
Hex wars,
Hexperiment,
turret
23 August, 2011
AI
So after a few of my classes I'm thinking that this project will need to include artificial intelligence of some sort. I think I would like to do simple sentry tower that will randomly appear in certain areas which fire at players who come into their line of fire. I think that I would like to do a simple spotlight pattern that indicates where their attention is focused. Scouts will be able to hack these devices provided that they can get around to the back side, and just like anything else that can be hacked they can either make them friendly to their faction or destroy them and get the recipe for making them. In this way there could be simple auto defense for bases so they don't always have to be guarded. They will have a spotlight of the color of the faction that they are programmed for and they will be white if they are found in the wild.
Labels:
AI,
Apoidea,
Brift,
game,
game design,
Hex wars,
programming
Subscribe to:
Posts (Atom)