HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

custom ability-learn question

03-07-2006, 05:58 PM#1
Drakim
I tried searching but couldn't find anything about this...

How do you give small numbers (like does in the normal learn ability) on normal abilities? I have seen this been done, but have no idea how to do this. I want so that the spellbook (learn ability) has the number for how many point you have unused, and a number indicating the current level of the abilies inside the spellbook.
03-07-2006, 06:01 PM#2
Anitarf
That's not a spellbook, that's a learn skill menu that's specially coded to show those numbers. You can't get those numbers on regular abilities, you might have seen things like items in a shop or something similar.
03-07-2006, 07:40 PM#3
Vexorian
I've seen people use custom icons to accomplish that, kind of lame but that's the only way to add numbers to ability icons inside a spellbook
03-07-2006, 08:37 PM#4
Drakim
okay...

another question i have is, what is the best way to avoid interupting the order of the hero when learning a spell?

I though of saving the order in a variable (both type and targert) and make the unit do that after i has casted the spell. there is a problem to this tough...if you interupt something like a channelig-spell you will lose the casting.

Another idea is the few spells that don't interupt the order of the caster, like divine shield...the only problem is that i need 8 (that's right...8!) such spells in order to have a learn ability dummy for every spell. I don't know if there is 8.

(every one of my heroes has 8 spells, but you can only pick 4 of them....)


Anyone knows of 7 other such spells or another way around this?
03-07-2006, 08:47 PM#5
shadow1500
Divine Shield
Mana Shield
Defend
Barserk
Immolation
uhh
is that it?
03-07-2006, 10:43 PM#6
Ignitedstar
I think Magic Defense works too. However, I'm not sure if they both have the same ID.
03-08-2006, 12:45 PM#7
Drakim
well 5-6 is better than nothing....keep posting if you come upp with any more...

a bit off topic but:
Another question while i'm typing....I'm making a spell that shoots a missile forwards (actualy a unit with loctus), The unit attack-moves forwards, and if it attacks anybody it will explode (having a range,sight and attack-rage of about 50). The problem is that it turns to the target and waits about 0.5 seconds before shooting, looking really stupid.

I set its attack to be an instand missile but still it does this, is there any way to speed up it's attack or making it attack while still moving?
03-08-2006, 06:05 PM#8
Anitarf
Set the attack backswing and damage point to 0 for the unit in the object editor.
03-09-2006, 02:03 PM#9
Drakim
I already did that. did help a bit, but still not what i wanted.
Is there some way to have a unit attack while moving?
03-09-2006, 02:24 PM#10
Jacek
Either by sliding with move instantly, or by Phoenix's ability...
03-10-2006, 10:29 AM#11
Drakim
ok, thanks...(rep).....
Another thing that i though of, arent there a bunch of item-skills that are instant and does not interupt orders? Like the gain agility ability to the tomes? is it possible to use such skills or is there som restrictions?
03-12-2006, 06:47 AM#12
Jacek
You forgot to rep me :P

I think it is possible to add this ability. try it.
03-12-2006, 03:04 PM#13
Drakim
"You must spread some Reputation around before giving it to Jacek again. "

sorry, i'll rep you later.

Haven't checked the item skills yet, i'll post here when i do.