• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Two questions.

Status
Not open for further replies.
Level 4
Joined
Feb 22, 2005
Messages
110
A: Is it anyway possible to make alt disabled for players. Not necessarily alt, but the ability to see people from afar by pressing alt and seeing their healthbars, or is it possible to prevent this to a certain range, eg, you only see health bars of people that are within 500 of you when you press alt. This is meant for a hero-concentrated map where you don't need to control other units and camera is from behind the character.

B: Is is possible to give hero more hero skills than 5? I am using a system that adds spells to a "spellbook" whenever you learn them, but im having proplems with the fact that heroes are limited to five skills. (For reference: Whenever a hero learns a skill, that skill is removed and that hero gets either added a dummyspellbook that then gets disabled that contains the spell to be learnt, or gets the spell to be learnt level increased by one, depending on did he already have it learned.)
 
The only way I could think of to disable the use of "alt" would be to minimize the selection scales of all your units to zero. However, doing so also disable alt from ever being used again...

The only way I have found that you can have more than 5 hero skills is to have the active skills as part of a spell book system (passive skills don't work very well in spell books). Other than that... you'll always be stuck with 5.
 
The only way I could think of to disable the use of "alt" would be to minimize the selection scales of all your units to zero. However, doing so also disable alt from ever being used again...

Ah, too bad. =/

The only way I have found that you can have more than 5 hero skills is to have the active skills as part of a spell book system (passive skills don't work very well in spell books). Other than that... you'll always be stuck with 5.

So, i need to make a new spellbook with different activation ID, make it so that it contains dummyspells that whenever one is used, one skillpoint is removed from casting unit and respective skill is added to the other spellbook. Did i get it right? Is it possible to make it so that when you click into hero skills, there are spellbooks inside that, essentially sub-categories?
 
u could make your hero's spells as an item inside his inventory X-D, that would make the limit 11 but i don't think that's what you're after
 
Theres a tutorial on spellbooks I've seen here that explains how to create spells in a spellbook you can level up just like hero abilities.

Yes, i can do that but the leveling point is that well.. You can only have 5 skills learnable. Quess i can't do it through normal hero learning system though. Think it needs to be made a dummy spellbook that allows you to cast spells that then learn you spells.
 
A: i think there is no way to do that (and i don't understand why FrostCyrus talk about selection circle...)

B: for each level of each hero's ability, make a normal ability
then, trigger it like that:
Event : a hero learn a skill
Condition : learned skill == skill_x
Action :
set level of skill_x to 0 for triggering hero
if (triggering hero has normalskill_x_2)
- remove hero normalskill_x_2
- add hero normalskill_x_3
else if (triggering hero has normalskill_x_1)
- remove hero normalskill_x_1
- add hero normalskill_x_2
else
- add hero normalskill_x_1
 
B: for each level of each hero's ability, make a normal ability
then, trigger it like that:
Event : a hero learn a skill
Condition : learned skill == skill_x
Action :
set level of skill_x to 0 for triggering hero
if (triggering hero has normalskill_x_2)
- remove hero normalskill_x_2
- add hero normalskill_x_3
else if (triggering hero has normalskill_x_1)
- remove hero normalskill_x_1
- add hero normalskill_x_2
else
- add hero normalskill_x_1

Yes, i can do THAT. The point is that hero can't have more than five skills to be learnable, and i would reach that limit by far.
 
Status
Not open for further replies.
Back
Top