Im having some trouble getting my building to animate and act correctly.
My structure is based off of the "protoss cannon"
My structure is not using the turret actor in the weapon array( I want the whole building to turn and aim before attacking)
The building will not turn to attack if the "foot print" is set on the building to be the standard 2x2 footprint. So I had to remove it.
Since the building does not have the 2x2 footprint, Units tend to path around its corners because its using the circular unit radius not the square building foot print pathing blocker.
Heres my ways im thinking about handling this situation.
Increase enemy units innerradius to the point where units cant make it between two of my buildings.
I was thinking I could make my tower with the problem have no collision and then spawn a dummy pathing blocker thats hidden on top of the built building. ( this could prolly be done through Actor- events or triggers. How to do it in actor events would be helpfull.
Is is possible to make the turret actually turn the building itself, or does the model need to have some kinda Turret buillt into it. Im not sure how the turret actors know what to turn.
Alot of people are having similiar problems like this This is specifically related to the "2x2 footprint" preventing the building from turning. And my building does not have a turret.
I am not sure why you are having a problem with this, what actor are you using for your unit? Also, there is a difference between "Pathing Footprint" and "Footprint". You probably want to be modifying the "Pathing Footprint", and not touching the "Footprint".
One of the units in my map is essentially a photon cannon, but I wanted the pathing footprint to be solid, and not the circular one. I also wanted it to do different damage, so here is what I did:
Copy the photon cannon unit
Change the pathing footprint to 2x2, and change the name of the unit.
Copy the photon cannon actor.
Change the name, and the unit the actor corresponds to, ensuring that the model stays the same (It likes to change when you modify the unit it cooresponds to).
Copy the weapon, and all attached effects/actors
Rename all of the effects/actors, ensuring that they continue to reference each other.
IMPORTANT: Copy the actor for the missile. This is not linked within the editor to the weapon in any way, but you need to copy this actor if you want the impact effect to occur on the target when it hits the target, and not when the missile is fired.
Set the missile art on your renamed "Photon Cannon Attack" to this new actor that you created.
Change the weapon (Leaving the turret as is) to your new weapon.
Change the damage on the (Damage) effect, and the speed on the weapon to whatever is desired.
This might be more than you were asking for, but rather do that than fail to answer your question.
I am unsure where you find the "pathing footprint" but that sounds like what i wanna look at inless thats actually the "unit- FootPrint" because the Unit-FootPrint makes it so the building cant turn
Rollback Post to RevisionRollBack
Skype
KageNinpo = SN
My Libraries
DialogLeaderboard & TeamSort
My Projects
SPACEWAR Tribute
Infinite TD
To post a comment, please login or register a new account.
Im having some trouble getting my building to animate and act correctly.
Heres my ways im thinking about handling this situation.
Alot of people are having similiar problems like this This is specifically related to the "2x2 footprint" preventing the building from turning. And my building does not have a turret.
bump@SouLCarveRR: Go
@SouLCarveRR: Go
bump bump
Bump Bump Bump
@SouLCarveRR: Go
I am not sure why you are having a problem with this, what actor are you using for your unit? Also, there is a difference between "Pathing Footprint" and "Footprint". You probably want to be modifying the "Pathing Footprint", and not touching the "Footprint".
One of the units in my map is essentially a photon cannon, but I wanted the pathing footprint to be solid, and not the circular one. I also wanted it to do different damage, so here is what I did:
This might be more than you were asking for, but rather do that than fail to answer your question.
@Honz: Go
Well I know of these foot prints..
I am unsure where you find the "pathing footprint" but that sounds like what i wanna look at inless thats actually the "unit- FootPrint" because the Unit-FootPrint makes it so the building cant turn