HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Ability Help

07-17-2004, 02:10 AM#1
Gilorn13
Basically how do you change the actually ability around... Only thing I know of changing really is just changing its Numbers. But here are some of the actual things I'm doing. I can go into detail with what I want to do with skills if needed.
07-17-2004, 02:13 AM#2
HexenLordX
Well, when you say changing the ability around, to us that means number unless you go into more detail. What exactly are you wanting to change about the ability?
07-17-2004, 04:28 PM#3
Gilorn13
I thought it would come to this and I made a list, but I'll only list some:

*For avatar... Is it possible to customize it to give attack speed and to not give hp gains?
*Is there a way to have a scroll of town portal teleport ALL allies and not just your units?
*I'm going to have items in the forest, mainly acorns. And I want to have a spell to turn them into things like grenades. Possible? ^_^
*Is there a way to summon random units as an ability? I mean, I make a list and the randomness is selected from there.
*A way to make an ability that will turn you invisble and create a clone, double, thing (The type that the Blademaster can do)
*A way to turn a unit undead and on your side? Something like turn a villager to a zombie or into a skeleton or ghost? I think I've seen this in a campaign in RoC, so I'll look into that.
07-17-2004, 06:01 PM#4
harshateja
For your avatar question, just give the avatared unit a dummy spell that enhances attack speed and set the hp gains to zero. For the townportal thing just edit the townportal ability on the interface that says "allowed targets:" and add allies to that. For the acorns.. i have no idea what you mean and whyd you want to do that so go into more detail. For the summon random units as an ability, make a dummy water elemental spell and use the following trigger:
Event:
Unit begans casting an ability

Condition:
Ability being cast equal to dummy spell

Action:
Custom value randomunit1 = 1
Custom value randomunit2 = 2
Custom value randomunit3 = 3
custom value randomunit4 = 4
custom value randomunit5 = 5
set var summonedunit1 = random integer between 1 and 5
set var summonedunit2 = random integer between 1 and 5
Create (number of level of ability being cast) summonedunit1 at point of castingunit
Create (number of level of ability being cast) summonedunit2 at point of castingunit
wait game-time(cooldown of the spell)
kill summonedunit 1
kill summonedunit 2
set var summonedunit1 = no unit
set var summonedunit2 = no unit

What the heck do you mean abou tcreating a clone, double, thing?
To make a unit undead, use a dummy spell based off death coil and make it deal no damage. Then say:

Event:
A unit begins casting an ability
Condition:
Ability being cast equal to dummy spell death coil
Unit type of ability being cast equal to Peasent(optional)
Action:
Replace unit of ability being cast with zombie
Give last createdunit to owner of casting unit and retain color.

~HarshaTeja~
07-17-2004, 10:17 PM#5
Gilorn13
Quote:
Originally Posted by harshateja
What the heck do you mean abou tcreating a clone, double, thing?

I said right after "The Type that the Blademaster can do" His mirror image spell/ability.
07-18-2004, 09:14 AM#6
garith
Quote:
Originally Posted by Gilorn13
I said right after "The Type that the Blademaster can do" His mirror image spell/ability.

Give it a mirror imiage spell!

Your acorn problem is one that many good maps can conquer well. a good exmple of this is in RPG's with the alchemy ability. when poeple pick up stuff, they can click it and change it into something else (Diffrent item alto egther) if they have a certin spell at a certin level! im really not sure how it is done but i think it works by giving it an evvolve command into somethin else at diffrent levle intigers....
07-19-2004, 12:44 AM#7
Gilorn13
[quote=garith]Give it a mirror imiage spell![quote]

The actual spell that I'm trying to do is turn you caster invisible and create a mirror image. Not just mirror image.
07-19-2004, 02:25 AM#8
harshateja
Quote:

The actual spell that I'm trying to do is turn you caster invisible and create a mirror image. Not just mirror image.

Hmm. Well thats very simple. Just make a trigger:

Event:
A unit begins casting a spell
Condition:
Ability being cast equal to edittedmirrorimage
Action:
Give Permanent Invisability to casting unit
Wait game-time X seconds( X should be the duration of the spell)
Remove Permanent Invisability from casting unit



Your Acorn problem seems elementry as well. Here is the trigger:

Event:
A unit aquires an item
Condtion:
Item being manipulated equal to Acorn
Action:
If:
Level of Acorn Transformation of triggeringunit equal to 1
then:
Remove Acorn from triggering unit and give triggering unit minor frag grenade
else:
If:
Level of Acorn Transformation of triggeringunit equal to 2
then:
Remove Acorn from triggering unit and give triggering unit average frag grenade
else:
If:
Level of Acorn Transformation of triggeringunit equal to 3
then:
Remove Acorn from triggering unit and give triggering unit Major frag grenade
else:
Do nothing


If you want it to where you have to use the ability to transform it instead of it doing it automatically, just change the event to " Unit begins casting an ability" and change the condition to these:

Ability being cast equal to Acorn transformation
Triggering Unit has item Acorn

~HarshaTeja~
07-19-2004, 10:52 PM#9
Gilorn13
Many Thanks