DBZ tribby triggers

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Icedaemon
Newcomer
Posts: 10
Joined: June 5th, 2007, 10:45 pm

DBZ tribby triggers

Post by Icedaemon »

basically what i'm trying to do is replicate Broly's "Destruction Ball" and the Revenge Ball skills. Problem is I cant identify what part of the JASS script makes it happen. I have the skills, models, ect set just need the engine to start crankin. Also, if anyone has played "Battle Tanks" or as it was called when I was dev "Tank Wars Evo", I cant locate the script for the "Devil Epxlosion" skill from the super-st00pid-fresh Infernal Titan.

I can deprotect any map myself, but the JASS gets consolidated into one script as opposed to separate triggers. If anyone can help me on this i'd be great. I could actually get my map going again.
User avatar
Sepharael
Forum Staff
Posts: 533
Joined: April 3rd, 2007, 11:39 pm
Title: Legendary Angel

Re: DBZ tribby triggers

Post by Sepharael »

Try looking at this. I used this when my friend wanted some spells from dbz. http://www.hiveworkshop.com/resources_new/spells/819/
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: DBZ tribby triggers

Post by Aero »

Finding the script will actually be trickier than you think.
From what I understand, the spell is actually composed on two triggers.

When you initially cast the spell, it creates a unit with the ball effect that flies and has 522 movement speed. The unit has the goblin sapper explode ability and when it's created, it's ordered to explode on the target.

The real explosion is triggered when the ball casts the explode ability. When it does, the ball destroys itself (taking care of that), the target unit is damaged (the damage to be done is stored in a variable which is calculated at cast base+X*int or something), explosion special effects are made and terrain deformations occur.