Hi, I'm trying to make a sort of grenade toss/grenade launch ability for my hero in my TPS map. Since it's a third person shooter map things get very complicated for me when I try to make an ability like this one. The engine I'm using is using a traceline, I want the ability to be a grenade toss towards where the crosshair is facing, which is current camera yaw of player1. The Grenade will arc and explode upon impact (doodad/unit/ground). I've really got no clue atm from where I should begin, any help would be greatly appreciated.
Thanks in advance
I assume you have some sort of system for aiming your normal attacks. Just take the target point and use a Launch Missile effect to launch a missile from your unit to the target point.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I assume you have some sort of system for aiming your normal attacks. Just take the target point and use a Launch Missile effect to launch a missile from your unit to the target point.
What you're talking about is a physics engine desgined for your grenade throw. I've looked into this too, it's absurdly complicated, but here's some info to get you started. Not exactly what you are looking for, but along the same lines in that it's an ability that considers gravity for an ability's range.
What you're talking about is a physics engine desgined for your grenade throw. I've looked into this too, it's excessively complicated, but here's some info:
Hi, I'm trying to make a sort of grenade toss/grenade launch ability for my hero in my TPS map. Since it's a third person shooter map things get very complicated for me when I try to make an ability like this one. The engine I'm using is using a traceline, I want the ability to be a grenade toss towards where the crosshair is facing, which is current camera yaw of player1. The Grenade will arc and explode upon impact (doodad/unit/ground). I've really got no clue atm from where I should begin, any help would be greatly appreciated. Thanks in advance
I assume you have some sort of system for aiming your normal attacks. Just take the target point and use a Launch Missile effect to launch a missile from your unit to the target point.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
And if I aim straight up into thin air? :P
@DeepCover187: Go
What you're talking about is a physics engine desgined for your grenade throw. I've looked into this too, it's absurdly complicated, but here's some info to get you started. Not exactly what you are looking for, but along the same lines in that it's an ability that considers gravity for an ability's range.
http://www.sc2mapster.com/forums/resources/tutorials/22121-triggers-implementing-a-physics-engine/
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
Is that really the easiest way? Thanks for posting the thread though, I'll make sure to check it out tomorrow :)