Targeting PK scripts Ideas and questions

... sit down, kick back and relax, and talk about anything that doesn't belong on one of the other forums.
Sanguine
Posts: 357
Joined: Thu Oct 08, 2015 9:48 pm

Re: Targeting PK scripts Ideas and questions

Post by Sanguine » Sat Jul 08, 2017 1:21 pm

^ Same, or at least similar. I have a "csanguine" type alias for every alt which sets my macros/targets/containers/weapons appropriately.

Code: Select all

#ALIAS csanguine {
		#T+ macroChanneler
		#T- macroWarrior
		#T- macroRogue
		#T- macroHunter
		#VAR ./AliasesMacros/weave1 "ice spikes"
		#VAR ./AliasesMacros/weave2 "chill"
		#VAR ./AliasesMacros/weave3 blind
		#VAR ./AliasesMacros/container purse
		#VAR ./AliasesMacros/weapon sword
		#VAR ./AliasesMacros/race dark
		:Meta:#SAY @container : @weapon : channelerkeys
	} "AliasesMacros"
Which then sets my keypad to "channeler":

Code: Select all

#CLASS {"AliasesMacros"/macroChanneler}
		#KEY KEY1 {chann '@weave1' h.@race}
		#KEY CTRL-KEY1 {chann '@weave1' h.@target}
		#KEY ALT-KEY1 {chann '@weave1' h.@target2}
		#KEY KEY3 {chann '@weave2' h.@race}
		#KEY CTRL-KEY3 {chann '@weave2' h.@target}
		#KEY ALT-KEY3 {chann '@weave2' h.@target2}
		#KEY DEC {chann '@weave3' h.@race}
		#KEY CTRL-DEC {chann '@weave3' h.@target}
		#KEY ALT-DEC {chann '@weave3' h.@target2}
		#KEY SUB {rel}
		#KEY ADD {emb}
		#KEY ALT-1 {chann 'blind' h.1.@target}
		#KEY ALT-2 {chann 'blind' h.2.@target}
		#KEY ALT-3 {chann 'blind' h.3.@target}
		#KEY ALT-4 {chann 'blind' h.4.@target}
		#KEY ALT-5 {chann 'blind' h.5.@target}
		#KEY ALT-6 {chann 'blind' h.6.@target}
		#KEY ALT-7 {chann 'blind' h.7.@target}
		#KEY ALT-8 {chann 'blind' h.8.@target}
	#CLASS 0
There are more elegant ways to do this, I think Taziar's scripts have a better setup but I have been to lazy to try and implement them: http://www.wotmudarchives.org/forum/vie ... 3009305db7

Taziar
Posts: 961
Joined: Sat Mar 21, 2015 10:28 pm

Re: Targeting PK scripts Ideas and questions

Post by Taziar » Sat Jul 08, 2017 8:40 pm

Sanguine wrote: There are more elegant ways to do this, I think Taziar's scripts have a better setup but I have been to lazy to try and implement them: http://www.wotmudarchives.org/forum/vie ... 3009305db7
Above link is the older versions of everything I have, new versions same forum: http://www.wotmudarchives.org/forum/vie ... f=8&t=2435

The older stuff I wanted to reduce redundancy so much I ended up making it so you had to run 3 scripts to get just one function to work properly. The newer scripts are all standalone and can run whatever you want or don't want. I felt like that was a better avenue than whatever small gains for efficiency I may or may not have achieved through the previous style.

I think the script Sanguine is referring to is my Characters script. Characters creates a class folder for each character you connect to the mud with, it is automatically set to disable every time you connect so no two character classes are ever activated at the same time because the script only enables the class of your currently connected character. Inside of these classes are where you place any character specific alias or macros. Inside the main part of the Characters class is where all of the commonly shared alias and macros go so all characters have access to them. This script really streamlined and helped me manage multiple character classes and sides. The current version is more automated that before, before you had to create the class manually for each character, this one is all automated. Just need to adjust your specific preferences once you connect with a character for the first time after installing the script.

My targeting script (TargetBar) is combined with my status bar script because they worked so much together I didn't feel like I could separate them. The current build is not complete but as soon as I do get it finished to my liking I will post it in the newer section on my wotmudarchives thread. Older version is still up on the above link that Sanguine provided.

TargetBar takes any colored name inside of asterisks that come across the screen and places that name in a variable that shows up on the status bar (in their cross race color). The script uses 9 targets in total: target1, target2, and target3 are the main variable targets where 4 through 9 work the cross race name capture function. Each of the targets correspond with the FKey of that same number; target1 is F1, target 2 is F2, ect.. ALT and CTRL can be held down and an FKey pressed to complete a different assigned command. Triggers capture any player name you are currently fighting, even when assisting another! The original idea came from a combination of a basic target script Zain gave me and Markus' statusbar script. It has been a work in progress for a couple years now, has lots of options and I hope to get the new version up soon. TargetBar was the closes thing I could think to create that mirrored an MMO style toolbar for zMUD.

As always, any questions, comments, ideas, or slander please mail them to me here or over at wotmudarchives.org

Taziar

Side note: All of my scripts I post on wotmudarchives zMUD forum have their own built in help file with all the necessary commands to try and make them easy for anyone of any level of zScripting experience to be able to install and use. But if that fails I will help anyone who has any questions about them. Just mail me.

Post Reply