PDA

View Full Version : Grenade/detpack


Nahotnoj
07-20-2006, 10:40 PM
So I'm making a map thats going to be based on the game Team fortress classic, and so I want the explosives expert character to have an ability to set a detpack (basically a pack that explodes after a certain amount of time, destroying certain path-blocking destructables and killing everything within range) I'm thinking I could use a summon spell such as feral spirit or something, but make the unit that is summoned a custom unit with a model that could be considered a "detpack" and then do the rest with triggers... but what about the explosion animation? Does anyone know if it would be possible to do this without triggers?

Also, I plan to make certain units be able to throw grenades, which I want to be able to have physics, bounce, etc. I know this is possible since I've seen it done in a WC3 CS map, but WE crashes when I try to open it, so I can't check it out. I also want one of the grenade types to be napalm grenades, which simply stay put, and then after a few seconds erupt into flame damaging nearby units and setting them on fire. I think the fire part would be fairly simple, since I could just use an ability, effect.

Any and all help would be nice.

P.S. If anyone here has skill in 3d modelling and converting models to WC3 compatible, please post.

Sid
07-21-2006, 2:02 AM
Make a pain Sentry Ward ability to summon a Ward typr unit. Give it an ability based off "Damage upon death" (Goblin Land Mine) ability. It will explode when it dies dealing damage. It may not show up blast so create it via triggers, you may download additional Blasts SFXs from WC3SEARCH and other resourceful sites.

Nahotnoj
07-22-2006, 1:22 PM
Alright well I guess I've got that figured out for now. Is it possible to make it so burrowed units can cast abilities?

refl3ction
07-26-2006, 2:44 AM
umm im not sure... u can give the burrowed unit the ability but idk if it will work

Sid
07-29-2006, 3:36 AM
Burrowed units can cast abilities, Burrowed units are treated almost as Wards. Except that they have a different Detection Classification.

gamer102
07-31-2006, 11:41 PM
Easy

Detonation Pack
Events
Unit - A unit Spawns a summoned unit
Conditions
(Unit-type of (Summoned unit)) Equal to Detonation Pack
Actions
Wait 10.00 seconds
Unit - Explode (Summoned unit)

Just add an ability to that custom unit AoE Damage (Goblin Sappers)
Now the AoE ability will work with Unit - Kill (Summoned unit)
Maybe it will work with Unit - Explode (Summoned unit)