• 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.

Question from WE

Status
Not open for further replies.
Level 5
Joined
Aug 9, 2012
Messages
119
guys did someone ever notice some skills that can be casted under silenced?
not item thou, i found one , skills base on orc unit, " frenzy " / " berserk " or something like that.

it can be cast under silenced, so the question is, can i make some CERTAIN and specific spell that can be cast while silenced?
and yes, not item that can be cast under silenced,(since item already can be casted while silenced)
just spell under silenced.
 
Last edited:
Level 13
Joined
Mar 24, 2013
Messages
1,105
If I remember correctly, if you make an ability based on Channel have the classification universal/physical spell and have a mana cost of 0, the spell is not "silenced" when your unit gets silenced.

I have no idea what orc ability you're talking about, maybe berserk, I feel like that would make sense, since you wouldn't want Dark Ranger to counter headhunters so hard.

Anyway...If you do as I said above you can have any casting method you like. I.E. point, unit, instant
 
Level 5
Joined
Aug 9, 2012
Messages
119
thx very much, ill try it ASAP, so ill jst need universal/physical spell right?
then how can i add mana cost? in trigger? when the units start the ffect of the ability?


yes something like that, frenzy or berserk, its possible tto cast under silenced,
not categorize by unit , item or hero ability.
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
Yeah..sadly I dont think you'll be able to have the blue mana cost line. I could be dead wrong though, someone may know how to do it. However...items with abilities dont get silenced when your unit gets silenced but you probably already thought of that. In order to take mana, I suggest you catch when a unit is issued an order by whatever the orderstring is, then if theyhave enough mana, let tthem cast it and subtract the needed mana from their total. Otherwise print an error message to the user. I would highly recommend SimError, as the error noise and placement of text really makes all the difference for me.

Edit: @daffa I believe if you add a mana cost to channel even with the universal tag it becomes "silencable" while no mana cost makes it resist silence.
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
No I think you're miss understanding me, the OP wants an ability to be castable during silence, IF I remember correctly you can use channel and give it the universal spell tag, with this tag + no mana cost, it is castable while silenced. I think! If you add a mana cost, it will be silenced like any other spell. Sorry if I'm being unclear.
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
so silence won't silence an ability without a mana cost?

I can't say for certain as I don't have WE on this comp to test, but if I remember right, Channel when given the universal or physical spell tag coupled with no mana cost it will allow it to be cast while silenced. The moment mana cost is added, it loses its ability to not be silenced. I do believe there are some other spells that are on units that cannot be silenced per se either, we referenced berserk from troll head hunters before, but I cannot remember if that is true or not. Another example might be Flare from Mortar Teams, but I truly couldn't tell ya, its just something someone needs to spend 10 mins and test ^^.
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
Tested---

Universal Spell tag + 0 mana cost = not silenced
Universal + any mana cost = silenced
Physical 0/any mana cost = silenced
Found nothing useful about unique cast

Edit: Yes, Unique Cast 0/any mana cost = silenced
I didn't see anything useful or different with unique.
 
Last edited:
Level 5
Joined
Aug 9, 2012
Messages
119
thx for every thought,

the berserk skill is not silenced even it has mana cost , haha
very unique skills.


so can i have channel spell tha wont get silenced and have spell like spellbook?
means that u CAN ACCESS the spellbook list from channel while silenced,
but the spell inside the spellbook is depends, on some spell that can be casted under silenced and some is not...

i hope its quite clear enough for the question .
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
Geez, that grammar was brutal...

I think you want:

When silenced you can still open the spell book and cast spells from inside of it. (If the spells cannot be silenced.) Btw--since berserk is only 1 ability, I think you're going to have to use channel and have no mana icon for most of your spells that cannot be silenced yet have a cost mana, because of order id issues.

I don't think you can make spell books resistant to silence. I'll try to think of a possible way to overcome this directly. I have an indirect way below, but it wont work on like a melee map.

If your map is single unit based, meaning that each person has one or a very small number of units.
What you could do is this---

Give every ability a tech tree requirement, on map initialization set the level of this research to 1. Then, periodically check if the players units are silenced. (You will need to choose a different base ability than silence/soul burn or anything else that ACTUALLY silences so the units do not actually become silenced, it doesn't necessarily have to have a buff, but its less coding if it does.) If the unit has the buff then you're going to Set the Research of your requirement to 0, or if you coded the silence you will do it there. If they do not have the buff/your system has removed them being silenced, you're going to put their research to 1. This will be effectively "silencing" or "unsilencing" them.
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
Oh..how foolish of me to have not read the little hint in WE that says you cannot downgrade. Well in any case..you would just do the same as described but instead of an upgrade being a requirement, make it a unit requirement, when the unit should be silenced, pick the unit and remove it from the game, otherwise leave the unit. If the unit gets unsilenced, create the unit again. I guess you could revive/kill it...but make sure you change ownership because until the unit is decayed and removed, it still counts as you "having" that unit.
 
Status
Not open for further replies.
Top