HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Please help, Vexorian! :(

09-12-2004, 10:02 PM#1
Zethiros
I got all the templates and the caster system and every required custom script text copied into my map and all that saves fine and dandy.

But I'm trying to make custom abilities, namely a Nova ability and an Aura ability.

First I'll start with the nova ability, I made a custom ability (I've never worked in JASS before, so):

//// My Incineration Nova:
call SetAbilityTemplate('A000', "NovaSpellTemplate", false)
call SetAbilityDataInt( 'A000', "n", 0, 30 )
call SetAbilityDataReal('A000', "scale", 0, 2 )
call SetAbilityDataReal('A000', "turninc", 0, 12)
call SetAbilityDataReal('A000', "speed", 0, 522 )
call SetAbilityDataReal('A000', "dur", 0, 4 )

Is what I made, with the correct Raw Code (A000 isn't the actual raw code, I made it that to 'disable' it because it didn't work with the correct raw code) and everything else right. But when I cast the spell, nothing happens? What gives?

Also, because I thought maybe I did something wrong, I went back into your Templates System map and took a look at Fire Nova and Poison Nova, I copied their base skills over, set the correct ability raw codes in the Nova Spell Template trigger, and tested my map.

Now, I *know* nothing should have gone wrong here, becuase I copied the abilities directly from your map and used your own functions.

However, still, NOTHING happened. It casts the spell, the warstop terrain deformation occurs, and nothing else happens AT ALL.

Any help? It's probably some stupid error but it has be stumped!

2 more problems--

Here's my aura problem...

Any way to specify what units it affects? I have a replica of your Fire Aura (It uses Endurance Aura base because +0.0 armor looks dumb :)) and it works and all, but it affects Neutral Passive units and Structures! I only want it to affect friendly/allied non-structure units.
So, any way to specify which units it affects? And yes, I tried changing the targets in the actual spell itself... but the effects are only in the trigger.


And, last but not least, my third problem!!!

In your Caster System 9.1 (or whatever the latest version is) map, I copied the Lightning Stone (the one with the farseer missle art effects) Triggerer ability and the trigger itself over to my map.

I changed everything that needed changing, but the item doesn't work! Yes, I changed the "Ability being cast equal to ..." condition and I made the item use the ability.

I also tried to bring over from your Caster System 9.1 map the Call the Blessed Sword spell (the one where the angel comes down and sends out a wave of holy energy when he swings his sword) and turn that into an item ability.

Everything came over fine and I changed the required rawcode of the shockwave ability in the spell trigger, but it gave me compile errors (see screenshot: "CompileError") and didn't end up working so I disabled the trigger.

Can you help me on any of these issues? I'd really like to use the above mentioned abilities!

(I'm probably doing something stupid, but any help is appreciated)
09-13-2004, 06:07 PM#2
Vexorian
about the error there is a ' missing after the rawcode.

About the templates, I think you aren't calling SetupSpecialEvents at map initialization
09-16-2004, 12:31 AM#3
Zethiros
Hmm, nope - I got that trigger. Here, I'll post up a couple of screenshots to show what's happening.

1st is the trigger you think I'm missing (something could be wrong with it),
2nd is the Nova Template JASS code I'm using for my ability ("Poison Nova), and
3rd (and 4th) is what's actually happening when I'm using the ability in-game,
5th pic is my spell in the object editor.

• 3rd pic is RIGHT as I used the ability, the poison-type ability I added via JASS is just starting to affect nearby units (but the actual spell-missles are unseeable)

• 4th pic is slightly after 3rd pic, and all the units are affected with the poison but that seems to be the only working part of the JASS?

Thanks for the help. =)


IMPORTANT EDIT-----

You didn't say, so - is it possible to change targets affected by auras using your template? :(
09-16-2004, 12:05 PM#4
Vexorian
the dummy.mdx model