Zmud melee colors

... A place to ask for help on any topic whether it be starting out to player killing to IT issues.
Post Reply
cael
Posts: 46
Joined: Wed Jan 04, 2017 6:53 am

Zmud melee colors

Post by cael » Fri Nov 20, 2020 12:52 am

Loaded zmud onto a new computer and reloading all the scripts from Taziar's list on Wotmud Archives.

How can i change my regular attack-hits from the standard green to something with more pop? I tried searching the forums for an answer but couldn't find any old posts.

Thanks.

cael
Posts: 46
Joined: Wed Jan 04, 2017 6:53 am

Re: Zmud melee colors

Post by cael » Tue Dec 01, 2020 2:47 am

I was able to piece together the solution using some other scripts I found online, in case anyone else has a similar need for this.



#CLASS {CombatColors}
#TRIGGER {You slash {a|an|the}*} {
#cw lawngreen
}
#TRIGGER {You blast {a|an|the}*} {
#cw lawngreen
}
#TRIGGER {You hack {a|an|the}*} {
#cw lawngreen
}
#TRIGGER {You strike {a|an|the}*} {
#cw lawngreen
}
#TRIGGER {You lance {a|an|the}*} {
#cw lawngreen
}
#TRIGGER {You smite {a|an|the}*} {
#cw lawngreen
}
#TRIGGER {You cleave {a|an|the}*} {
#cw lawngreen
}
#TRIGGER {You pierce {a|an|the}*} {
#cw lawngreen
}
#TRIGGER {You stab {a|an|the}*} {
#cw lawngreen
}
#TRIGGER {You hit {a|an|the}*} {
#cw yellow
}
#CLASS 0

Nevirha
Posts: 503
Joined: Fri Sep 15, 2017 8:24 pm

Re: Zmud melee colors

Post by Nevirha » Tue Dec 01, 2020 8:27 am

This is the script I use, which lights up pretty much every type of hit in different colors. Feel free to use or change as you'd like.

Code: Select all

#CLASS {MeleeColours}
#ALIAS attackcolor {#COL %eval( %color( rev)+%color( @attackcolor, gray))}
#ALIAS weavecolor {#COL %eval( %color( hi)+%color( rev)+%color( @weaveattackedcolor, black))}
#ALIAS alertcolor {#COL %eval( %color( rev)+%color( @alertcolor, black))}
#ALIAS attackedcolor {#COL %eval( %color( rev)+%color( @attackedcolor, grey))}
#ALIAS horsecolor {#COL %eval( %color( rev)+%color( @horsebashcolor, grey))}
#VAR attackcolor {green}
#VAR attackedcolor {red}
#VAR weaveattackedcolor {cyan}
#VAR alertcolor {darkolivegreen}
#VAR horsebashcolor {aqua}
#VAR Attacks {tickles|hacks|slashes|scythes|strikes|smites|pounds|stabs|pierces|cleaves|blasts|hits|lances|crushes|shoots|whips|stings|slices|hits}
#VAR Attack2 {tickle|hack|slash|scythe|strike|smite|pound|stab|pierce|cleave|blast|hit|lance|crush|shoot|whip|sting|slice|hit}
#VAR bodypart {head|body|left hand|right hand|right foreleg|left foreleg||left arm|right arm|left leg|right leg|left foot|right foot|crown|roots|trunk|branch|paw}
#VAR horse {warhorse|bloodstock stallion|Domani razor|draft horse|gray palfrey|black stallion|wild stallion|mare|}
#TRIGGER {{@Attacks} your {@bodypart} into bloody fragments} {#CW bold,red}
#TRIGGER {{@Attacks} your {@bodypart} extremely hard} {#CW bold,red}
#TRIGGER {{@Attacks} your {@bodypart} very hard} {#CW bold,red}
#TRIGGER {{@Attacks} your {@bodypart} hard} {#CW bold,red}
#TRIGGER {{@Attacks} your {@bodypart}} {#CW bold,red}
#TRIGGER {* {@Attacks} your {@bodypart}} {#CW bold,red}
#TRIGGER {barely tickles your {@bodypart} with * {@Attacks}} {#CW bold,red}
#TRIGGER {barely {@Attacks} your {@bodypart}} {#CW bold,red}
#TRIGGER {tickles your {@bodypart} with * {@Attacks}} {#CW bold,red}
#TRIGGER {You {@Attack2} * {@bodypart} into bloody fragments} {#CW bold,orange}
#TRIGGER {You {@Attack2} * {@bodypart} extremely hard} {#CW bold,orange}
#TRIGGER {You {@Attack2} * {@bodypart} very hard} {#CW bold,orange}
#TRIGGER {You {@Attack2} * {@bodypart} hard} {#CW bold,orange}
#TRIGGER {You {@Attack2} * {@bodypart}} {#CW bold,orange}
#TRIGGER {You barely {@Attack2} * {@bodypart}} {#CW bold,orange}
#TRIGGER {You tickle * {@bodypart} with your {@Attack2}} {#CW bold,orange}
#TRIGGER {You barely tickle * {@bodypart} with your {@Attack2}} {#CW bold,orange}
#TRIGGER {Your bash at * sends * sprawling} {#CW bold,orange}
#TRIGGER {Your boots need polishing again -- blood all over...} {#CW bold,orange}
#TRIGGER {Your kick hits * in the solar plexus} {#CW bold,orange}
#TRIGGER {sends ~*%w~* sprawling with a powerful bash!} {#COL bold,darkblue,wheat}
#TRIGGER {sends you sprawling with a powerful bash} {#COL cyan,white}
#TRIGGER {You're hit in solar plexus, wow, this is breathtaking} {#COL bold,purple}
#TRIGGER {You sense a hidden lifeform in the area...} {#CW bold,white}
#TRIGGER {Suddenly * places something in your back!} {#CW bold,cyan}
#TRIGGER {starts barreling down on you, a * aimed at your chest.} {#COL bold,blue}
#TRIGGER {wipes * boots in your face} {#COL bold,purple}
#TRIGGER {You gasp in pain as streaks of fire from * burn your body} {#COL blue,violet}
#TRIGGER {Your body is pierced by razor sharp ice spikes sent by} {#COL blue,violet}
#TRIGGER {The air around your eyes seems to catch fire, blinding you} {#COL blue,violet}
#TRIGGER {Arrrgggh!!! Your body is on FIRE! You have precious few moments to save your sorry life} {#COL blue,violet}
#TRIGGER {calls lightning from the sky to strike you, sizzling your insides} {#COL blue,violet}
#TRIGGER {gestures and you begin to lose your balance.} {#COL blue,violet}
#TRIGGER {The impact of an unseen force sends you sprawling!} {#COL white,cyan}
#TRIGGER {sends a {@horse} sprawling with a powerful bash} {#COL white,orange}
#CLASS 0

Mhaliah
Posts: 537
Joined: Wed Feb 25, 2015 11:48 am

Re: Zmud melee colors

Post by Mhaliah » Wed Dec 02, 2020 5:10 pm

A plugin would be faster. I have the one i think Markus did it.

Nope Aennor

http://wotmudarchives.org/forum/viewtop ... f=8&t=2466

Nevirha
Posts: 503
Joined: Fri Sep 15, 2017 8:24 pm

Re: Zmud melee colors

Post by Nevirha » Fri Dec 04, 2020 8:13 am

That plug-in isn't very comprehensive though. I don't recall all of the color changes, but it misses a lot of the important stuff. It would be useful to update it, if someone knows how.

Mhaliah
Posts: 537
Joined: Wed Feb 25, 2015 11:48 am

Re: Zmud melee colors

Post by Mhaliah » Fri Dec 04, 2020 12:17 pm

Im not even sure what coding language it is written in.

Post Reply