• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Hostile buff

Status
Not open for further replies.
Level 4
Joined
Nov 7, 2010
Messages
68
Is it possible to make a buff be treated as hostile (meaning red letters instead of green ones) without changing the base spell used?
That way, unit icons would be red when multiple are selected...
 
Level 4
Joined
Nov 7, 2010
Messages
68
Well if it's red, there is a negative effect going on. What negative effect do want to go unnoticed?

You didn't get it. At this time it is not negative and goes unnoticed. I want to make it hostile (so the name of the buff is in red colored letters and not green).
 
Level 13
Joined
Aug 19, 2014
Messages
1,111
You can use this http://www.hiveworkshop.com/forums/tools-560/jassnewgenpack-5d-227445/ to color some text like Text - Name, Text - Tooltip Extended and many more. However some Text cant be colored directly when you select them like the buff name and tooltip, so you will need to copy color code on the text that you have edited and paste it on the buff that you want to color. Here's an example |cffff0000Stone Guardian|r, copy this code |cffff0000 and paste it after the name of your buff. It should be |cffff0000NAME OF BUFF
 
Level 11
Joined
Jan 23, 2015
Messages
788
The coloring is not the problem here, he wants to turn a negative buff (which is displayed with red letters) into a positive one (with green letters), he can change the color of the tooltip, but when he casts a spell on him e.g. which removes all negative buffs, his negative buffs with green tooltip will also get removed..
 
Level 4
Joined
Nov 7, 2010
Messages
68
The coloring is not the problem here, he wants to turn a negative buff (which is displayed with red letters) into a positive one (with green letters), he can change the color of the tooltip, but when he casts a spell on him e.g. which removes all negative buffs, his negative buffs with green tooltip will also get removed..

Yeah exactly that, but the opposite. So, positive buff into negative :D
 
Level 24
Joined
Aug 1, 2013
Messages
4,657
It is impossible to change the classification from Positive to Negative without changing the ability itself or changing the game.dll.

You based your spell of a spell which applies a positive buff.
You CANNOT make this a negative buff.
You have to base your spell of another spell or do what I do and just use a buff system.
 
Status
Not open for further replies.
Top