|
SC XML
By lselvio 2011-12-14 18:06:26
So I am trying to write my first SC, and I feel like I am either missing something, or not writing something. This is based mostly because it confused the hell out of me, not because it will not work in game because I have not yet attempted. Curious if any of you smart people out there can proof read this and let me know what you think.
What I am wanting it to do, is when I engage a mob, swap to the apropriate gearset, then change to WS gear for WS, then back to engaged gear, and then to idle set when the mob dies.
Thanks in advance.
NIN-pastebin
Server: Phoenix
Game: FFXI
By Phoenix.Cathaldus 2011-12-14 18:10:16
Code <rules>
<if status="Engaged">
<equip when="engaged" set="Engaged" />
</if>
<elseif status="Idle">
<equip when="idle" set="Idle" />
</elseif>
<if spell="Blade: Jin">
<equip when="precast" set="Weaponskill" />
<equip when="aftercast" set="Engaged" />
</if>
</rules>
Carbuncle.Vermithrax
Server: Carbuncle
Game: FFXI
Posts: 91
By Carbuncle.Vermithrax 2011-12-14 18:14:07
Cathaldus, not sure what you are showing me.
Server: Phoenix
Game: FFXI
By Phoenix.Cathaldus 2011-12-14 18:20:59
The error is with these:
<action> type="equip" when="precast" set="Weaponskill"</action>
it should just be:
<equip when="precast" set="Weaponskill" />
What I posted is just the section between <rules> and </rules> with the correct format.
Carbuncle.Vermithrax
Server: Carbuncle
Game: FFXI
Posts: 91
By Carbuncle.Vermithrax 2011-12-14 18:25:39
Fixed that section, thanks for the quick/helpful response!
Carbuncle.Vermithrax
Server: Carbuncle
Game: FFXI
Posts: 91
By Carbuncle.Vermithrax 2011-12-14 18:27:55
Another thing I was looking at doing, instead of making multiple .xml for each job i use, if i can make 1 with rules depending on job. As in to use the above nin stuff <if job="Nin" />
And then to include a section for <if job="Whm" /> and use the same format for gearsets/spells casted.
Bismarck.Snprphnx
Server: Bismarck
Game: FFXI
Posts: 2693
By Bismarck.Snprphnx 2011-12-14 18:40:13
that would be a very long and confusing xml, and possibly not wrk all that well. best to have a single one for each job to avoid confusing errors that may pop up
[+]
Carbuncle.Vermithrax
Server: Carbuncle
Game: FFXI
Posts: 91
By Carbuncle.Vermithrax 2011-12-14 18:44:46
then to load each .xml based on job
//sc load NIN.xml
//sc load WHM.xml
right?
Server: Phoenix
Game: FFXI
By Phoenix.Cathaldus 2011-12-14 18:48:54
Carbuncle.Vermithrax said: »then to load each .xml based on job
//sc load NIN.xml
//sc load WHM.xml
right?
Name them charactername_job.xml and they auto load when you change jobs.
[+]
Carbuncle.Vermithrax
Server: Carbuncle
Game: FFXI
Posts: 91
By Carbuncle.Vermithrax 2011-12-14 18:50:29
Awesome, again, thanks you guys for the help.
Leviathan.Kryptikk
Server: Leviathan
Game: FFXI
Posts: 56
By Leviathan.Kryptikk 2011-12-14 19:05:07
Is it possible to add to that same code a MDT set? (also will that automatically switch to MDT if im being casted on?) or do I need to press a macro
Carbuncle.Vermithrax
Server: Carbuncle
Game: FFXI
Posts: 91
By Carbuncle.Vermithrax 2011-12-14 19:50:23
Cathaldus:
Vermithrax_Ninja.xml
Vermithrax_WhiteMage.xml
that look correct?
Server: Sylph
Game: FFXI
Posts: 2617
By Sylph.Hitetsu 2011-12-15 04:54:57
Carbuncle.Vermithrax said: »Cathaldus:
Vermithrax_Ninja.xml
Vermithrax_WhiteMage.xml
that look correct?
Vermithrax_NIN.xml
Vermithrax_WHM.xml
Full job names might work, but I've never tried (and don't know anyone who has), so I can't say for sure.
Leviathan.Kryptikk said: »Is it possible to add to that same code a MDT set? (also will that automatically switch to MDT if im being casted on?) or do I need to press a macro
There's no way that I'm aware of. Spellcast (as far as I know) doesn't parse the chatlog at all, so there'd be no way for it to know when you're being casted on. You'd have to press a macro/keybind.
Server: Phoenix
Game: FFXI
By Phoenix.Cathaldus 2011-12-15 05:27:31
Leviathan.Kryptikk said: »Is it possible to add to that same code a MDT set? (also will that automatically switch to MDT if im being casted on?) or do I need to press a macro Negative.... This best way to do this is create a set then bind a key to equip that set. That way you can just press the key when you see magic being cast.
Carbuncle.Vermithrax said: »Cathaldus:
Vermithrax_Ninja.xml
Vermithrax_WhiteMage.xml
that look correct?
No idea. I've only ever used the three digit name. NIN, MNK and so on.
Carbuncle.Vermithrax
Server: Carbuncle
Game: FFXI
Posts: 91
By Carbuncle.Vermithrax 2011-12-18 08:49:07
New Pastebin
Everything here works, except for the cancelling of shadows during Ichi. I don't get errors, it just doesnt cancel the shadows. Any help?
Server: Fenrir
Game: FFXI
Posts: 2464
By Fenrir.Enternius 2011-12-18 09:08:05
Do you actually have the cancel plugin installed? Lol.
Edit: This is what I use, works just fine for me at LV75 cap so I don't see why it wouldn't at higher levels.
Carbuncle.Vermithrax
Server: Carbuncle
Game: FFXI
Posts: 91
By Carbuncle.Vermithrax 2011-12-18 11:02:08
Touche, lol, didnt realize there was a separate plugin for that. Have it now, will give it a try
Necro Bump Detected!
[89 days between previous and next post]
Leviathan.Mcmurdles
Server: Leviathan
Game: FFXI
Posts: 53
By Leviathan.Mcmurdles 2012-03-16 00:13:48
Heres my nin SC hoping someone can tell me what i need to do for $myBody rules i currently have spell="Voidwatcher" "Visitant" and doesn't seem to be work... If any can make sense of what i just said and point me in the right direction i'd be very thankful :D
<?xml version="1.0" ?>
<spellcast>
<config
AutoLoadXML="true"
RequireVersion="2.16"
Debug="true"
HideErrors="false"
ShowGearSwaps="False"
/>
<sets>
<group default="yes" name="NIN">
<set name="Standard">
<main lock="true" />
<sub lock="true" />
<ammo></ammo>
<head>Arhat's jinpachi +1</head>
<neck>Torero torque</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Arhat's gi +1</body>
<hands>Koga tekko +2</hands>
<rring>Defending ring</rring>
<lring>Epona's ring</lring>
<back>Atheling mantle</back>
<waist>Twilight belt</waist>
<legs>Ocelot trousers</legs>
<feet>$myFeet</feet>
</set>
<set name="Engaged" BaseSet="Standard">
<legs>Byakko's haidate</legs>
<head>Iga zukin +2</head>
<feet>Iga kyahan +2</feet>
<neck>Rancor collar</neck>
<body>$myBody</body>
</set>
<set name="evasion" BaseSet="Engaged">
<head>Optical hat</head>
<neck>Magoraga beads</neck>
<lear>Suppanomimi</lear>
<rear>Brutal earring</rear>
<body>Mirke wardecors</body>
<hands>Iga tekko +2</hands>
<rring>Defending ring</rring>
<lring>Epona's ring</lring>
<back>Boxer's mantle</back>
<waist>Nusku's sash</waist>
<legs>Ocelot trousers</legs>
<feet>Iga kyahan +2</feet>
</set>
<set name="utsusemi" BaseSet="Engaged">
<head>Iga zukin +2</head>
<neck>Magoraga beads</neck>
<lear>Loquacious earring</lear>
<rear>Brutal earring</rear>
<body>Mirke wardecors</body>
<hands>Koga tekko +2</hands>
<rring>Defending ring</rring>
<lring>Epona's ring</lring>
<back>Atheling mantle</back>
<waist>Twilight belt</waist>
<legs>Iga hakama +2</legs>
<feet>Iga kyahan +2</feet>
</set>
<set name="hi1" BaseSet="Engaged">
<head>Ocelomeh headpiece</head>
<neck>Rancor collar</neck>
<lear>Centaurus earring</lear>
<rear>Brutal earring</rear>
<body>Athos's tabard</body>
<hands>Seiryu's kote</hands>
<rring>Auster's ring</rring>
<lring>Epona's ring</lring>
<back>Atheling mantle</back>
<waist>Anguinus belt</waist>
<legs>Byakko's haidate</legs>
<feet>Athos's boots</feet>
</set>
<set name="hi2" BaseSet="Engaged">
<head>Ocelomeh headpiece</head>
<neck>Rancor collar</neck>
<lear>Centaurus earring</lear>
<rear>Brutal earring</rear>
<body>Athos's tabard</body>
<hands>Seiryu's kote</hands>
<rring>Rajas ring</rring>
<lring>Epona's ring</lring>
<back>Iga dochugappa</back>
<waist>Anguinus belt</waist>
<legs>Byakko's haidate</legs>
<feet>Athos's boots</feet>
</set>
</group>
</sets>
<rules>
<if spell="autoset">
<action type="equip" when="resting" set="Standard" />
<action type="equip" when="idle" set="Standard" />
<action type="equip" when="engaged" set="Engaged" />
</if>
<if NotStatus="Engaged">
<action type="equip" when="aftercast" set="Standard" />
</if>
<else>
<action type="equip" when="aftercast" set="Engaged" />
</else>
<if TPGT="10">
<action type="Disable" slot="main|sub|ranged" />
</if>
<else>
<action type="Enable" slot="main|sub|ranged" />
</else>
<elseif buffactive="Migawari: ichi">
<equip when="Precast" >
<body lock="yes">Iga ningi +2</body>
</equip>
</elseif>
<if Spell="Provoke|Animated flourish">
<action type="equip" when="Precast" >
<waist>Goading belt</waist>
<back>Cavaros mantle</back>
</action>
</if>
<if spell="Blade: Hi">
<if area="Abyssea*">
<equip when="precast" set="hi1" />
</if>
<else>
<equip when="precast" set="hi2" />
</else>
</if>
<if Spell="Kurayami*|Hojo*|Dokum*|Aisha*|Yurin*|Hyoton*|Raiton*|Suiton*|Huton*|Doton*|Katon*">
<action type="equip" when="Precast" >
<body>Kirin's osode</body>
<hands>Koga tekko +2</hands>
<head>Ninja hatsuburi</head>
<neck>Torero torque</neck>
<feet>Koga kyahan</feet>
</action>
</if>
<if spell="Spectral Jig">
<command when="PreCast">cancel 71</command>
</if>
<if mode="or" spell="Visitant">
<action type="var" cmd="set myBody Ninja chainmail +1" />
</if>
<if mode="or" spell="Voidwatcher effect">
<action type="var" cmd="set myBody Iga ningi +2" />
</if>
<if mode="or">
<action type="var" cmd="set myBody Koga chainmail +2" />
</if>
<if mode="or" timelt="16.59" timegt="7.00">
<action type="var" cmd="set myFeet Danzo Sune-ate" />
</if>
<if mode="or" timegt="17.00" timelt="6.59">
<action type="var" cmd="set myFeet Ninja Kyahan +1" />
</if>
<if spell="Utsusemi: Ni">
<action type="equip" when="Precast" set="utsusemi" />
</if>
<if spell="Utsusemi: Ichi">
<action type="equip" when="Precast" set="evasion" />
<action type="midcastdelay" delay="2.5" />
<action type="Command" when="midcast" >cancel 66</action>
<action type="equip" when="midcast" set ="utsusemi" />
</if>
</rules>
</spellcast>
Fenrir.Jinjo
VIP
Server: Fenrir
Game: FFXI
Posts: 2269
By Fenrir.Jinjo 2012-03-16 00:19:05
Well, neither are spells, they are statuses, so the if would be BuffActive but I don't think you can set an action to buffactive, you'd have to use AutoExec or format your rules differently.
Leviathan.Mcmurdles
Server: Leviathan
Game: FFXI
Posts: 53
By Leviathan.Mcmurdles 2012-03-16 00:26:51
bummer... you don't have any idea how i'd go about doing that? i just want to have seperate tp bodies for VW General outside ***and Abyssea
By Gimpness 2012-03-16 00:43:11
There are much simpler ways to do what I think you're trying to do.
Just set it so it equips certain sets when voidwatcher or visitant are active.
would look like...
Code xml
<if mode="AND" buffactive="Visitant" status="engaged">
<equip when="aftercast" set="whatever you call this set" />
</if>
<elseif mode="AND" buffactive="Voidwatcher" status="engaged">
<equip when="aftercast" set="whatever you call this set" />
</elseif>
<else>
<equip when="aftercast" set="whatever your normal set is" />
</else>
then I would put something like that in your autoset section so it equips the correct sets when you engage. Just take out the and part and make it so it's only buffactive="blahblahblah"
for a lot of your rules (including the day/night sets for idle feets...)
Code xml
<if yadayada>
<equip yadayada when yadayada>
</if>
for whatever reason it's saying it can't find a brush for syntax xml... idk :X
also... while we're at it...
does anyone know how to get cancel to not cancel utsu when ichi's insta-casted...
right now I have..
Code xml
<!-- NINJUTSU RULES -->
<if skill="Ninjutsu">
<!-- ADDS FASTCAST TO EVERY SPELL -->
<equip when="precast" set="FastCast" />
<!-- NI RULES -->
<if spell="Utsusemi: Ni">
<equip when="midcast" set="haste" />
</if>
<!-- ICHI RULES... IF ICHI INSTA-CASTS THEN SHADOWS WILL BE CANCELED -->
<elseif spell="Utsusemi: Ichi">
<action type="equip" when="PreCast" set="Ichi" />
<action type="midcastdelay" delay="1.9" />
<action type="Command" when="midcast">cancel 66</action>
</elseif>
<!-- NUKE NINJUTSU RULES -->
<elseif Spell="Suiton*|Katon*|Raiton*|Doton*|Hyoton*|Huton*">
<equip when="midcast" set="NinjutsuNuke" />
</elseif>
<!-- ENFEEBLING NINJUTSU RULES -->
<elseif spell="Yurin*|Kurayami*|Hojo*|Jubaku*">
<equip when="midcast" set="NinjutsuSkill" />
</elseif>
<!-- MONOMI RULES... AGAIN IF IT INSTACASTS SNEAK WILL BE CANCELED -->
<elseif spell="Monomi*">
<action type="midcastdelay" delay="2.2" />
<action type="command" when="midcast">cancel 71</action>
</elseif>
<!-- MIGAWARI RULES -->
<elseif spell="Migawari*">
<action type="equip" when="precast" set="Migawari" />
</elseif>
</if>
xml highlighting working now... idk :X
Leviathan.Mcmurdles
Server: Leviathan
Game: FFXI
Posts: 53
By Leviathan.Mcmurdles 2012-03-16 00:49:05
yeah i really haven't got much of an idea when it comes to SC i just stole mine from lots of diff sc's lol i'll try have a go at what you mean, does this mean i have to take out my "engaged" rule?
By Gimpness 2012-03-16 00:52:17
ummm... I don't have any voidwatch/abyssea/normal crap in my nin xml because I don't take nin outside of abyssea, pointless! the rules are all in my war one (still empty :X i need to stop being lazy) which I can post if you think you might be able to figure out what it is. but yes, if i understand what you mean you'd have to take out the "engaged" rule and replace it with three different ones.
Leviathan.Mcmurdles
Server: Leviathan
Game: FFXI
Posts: 53
By Leviathan.Mcmurdles 2012-03-16 00:54:20
i'd love that dude, throw up your war one and i'll work around that!
By Gimpness 2012-03-16 00:57:41
Rules don't start till line 874.
Code xml
<spellcast>
<!-- ============================================================
NOTES:
- FOR ALL SET NAMES: BR - Blood Rage
Berk - Berserk
BerkBR - Berserk AND Blood Rage
- WS SETS DO NOT HAVE RULES FOR AGGRESSOR
- CLEAVE GROUP HAS MANY UNNECESSARY SETS,
FOR RULES TO WORK CORRECTLY WHEN
CLEAVE GROUP IS LOADED THEY HAVE
TO BE THERE
- HAS RAGING RUSH SETS INSTEAD OF UKKO'S, WILL NEED
TO BE CHANGED ONCE UKON IS FINISHED
============================================================ -->
<config
HideErrors="false"
ShowGearSwaps="false"
Debug="false"
ShowSpellInfo="false"
/>
<sets>
<group default="yes" name="Normal">
<!-- ============================================================================
ENGAGED SETS... INCLUDES RESTRAINT UP/DOWN AND AGGRESSOR/STALWARTS UP/DOWN
============================================================================ -->
<set name="Engaged">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="AccEngaged">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="RestraintUp" baseset="Engaged">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="AccRestraintUp" baseset="AccEngaged">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- ===========
IDLE SETS
=========== -->
<set name="Idle">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="RegenIdle" baseset="Idle">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- =================
ABYSSEA RR SETS
================= -->
<set name="BRAbysseaRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="BerkAbysseaRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="BerkBRAbysseaRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="NormalAbysseaRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- ===================
VOIDWATCH RR SETS
=================== -->
<set name="BRVoidwatchRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="BerkVoidwatchRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="BerkBRVoidwatchRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="NormalVoidwatchRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- ================
NORMAL RR SETS
================ -->
<set name="BRNormalRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="BerkNormalRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="BerkBRNormalRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="NormalRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- =============
CLEAVE SETS
============= -->
<set name="Cleave">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="MightyStrikesCleave">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- ==================
NI AND ICHI SETS
================== -->
<set name="Ni">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="Ichi">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- ==============
FASTCAST SET
============== -->
<set name="Fastcast">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- ===================
MANUAL EQUIP SETS
=================== -->
<set name="PDT_TP">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="Full_PDT">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="MDT">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
</group>
<!-- ========================================================
END NORMAL GROUP ////// BEGIN CLEAVE GROUP
======================================================== -->
<group default="no" name="Cleave">
<!-- ======================================================
ENGAGED SETS... CLEAVE GROUP SO PDT SET FOR ALL FOUR
====================================================== -->
<set name="Engaged">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="AccEngaged">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="RestraintUp" baseset="Engaged">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="AccRestraintUp" baseset="AccEngaged">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- ===========
IDLE SETS
=========== -->
<set name="Idle">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="RegenIdle" baseset="Idle">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- =================
ABYSSEA RR SETS
================= -->
<set name="BRAbysseaRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="BerkAbysseaRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="BerkBRAbysseaRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="NormalAbysseaRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- ===================
VOIDWATCH RR SETS
=================== -->
<set name="BRVoidwatchRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="BerkVoidwatchRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="BerkBRVoidwatchRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="NormalVoidwatchRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- ================
NORMAL RR SETS
================ -->
<set name="BRNormalRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="BerkNormalRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="BerkBRNormalRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="NormalRR">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- =============
CLEAVE SETS
============= -->
<set name="Cleave">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="MightyStrikesCleave">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- ==================
NI AND ICHI SETS
================== -->
<set name="Ni">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="Ichi">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- ==============
FASTCAST SET
============== -->
<set name="Fastcast">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<!-- ===================
MANUAL EQUIP SETS
=================== -->
<set name="PDT_TP">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="Full_PDT">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
<set name="MDT">
<head></head>
<neck></neck>
<lear></lear>
<rear></rear>
<body></body>
<hands></hands>
<lring></lring>
<rring></rring>
<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>
</set>
</group>
</sets>
<rules>
<!-- AUTOSET RULES, WILL EQUIP WHEN YOU ENGAGE/DISENGAGE -->
<if spell="autoset">
<!-- RESTRAINT UP AUTOSET -->
<if buffactive="Restraint">
<if notbuffactive="Aggressor|Accuracy Bonus">
<!-- WHEN AGG OR STALWARTS IS NOT UP -->
<equip when="aftercast" set="AccRestraintUp" />
</if>
<else>
<!-- ALL OTHER TIMES -->
<equip when="aftercast" set="RestraintUp" />
</else>
</if>
<!-- RESTRAINT DOWN AUTOSET -->
<else>
<if notbuffactive="Aggressor|Accuracy Bonus">
<!-- WHEN AGG OR STALWARTS IS NOT UP -->
<equip when="engaged" set="AccEngaged" />
</if>
<else>
<!-- ALL OTHER TIMES -->
<equip when="engaged" set="Engaged" />
</else>
</else>
<!-- IDLE AUTOSET -->
<if hppgt="75">
<!-- WHEN HP HIGHER THAN 75% -->
<equip when="Idle" set="Idle" />
</if>
<else>
<!-- WHEN HP LOWER THAN 75% -->
<equip when="aftercast" set="Engaged" />
</else>
</if>
<!-- AFTERCAST RULES -->
<if mode="AND" buffactive="Restraint" status="Engaged">
<if notbuffactive="Aggressor|Accuracy Bonus">
<!-- WHEN AGG OR STALWARTS IS NOT UP -->
<equip when="aftercast" set="AccRestraintUp" />
</if>
<else>
<!-- ALL OTHER TIMES -->
<equip when="aftercast" set="RestraintUp" />
</else>
</if>
<elseif status="engaged">
<if notbuffactive="Aggressor|Accuracy Bonus">
<!-- WHEN AGG OR STALWARTS IS NOT UP -->
<equip when="aftercast" set="AccEngaged" />
</if>
<else>
<!-- ALL OTHER TIMES -->
<equip when="aftercast" set="Engaged" />
</else>
</elseif>
<if status="idle">
<if hppgt="80">
<!-- WHEN HP IS GREATER THAN 80% -->
<equip when="aftercast" set="Idle" />
</if>
<else>
<!-- WHEN HP IS LESS THAN 80% -->
<equip when="aftercast" set="RegenIdle" />
</else>
</if>
<!-- RULES TO EQUIP CORRECT SET AFTER JA BUFF IS USED -->
<if status="engaged">
<!-- EQUIPS AGG UP TP SET AFTER AGGRESSOR IF ENGAGED -->
<if mode="AND" spell="Aggressor" buffactive="Restraint">
<equip when="aftercast" set="RestraintUp" />
</if>
<!-- EQUIPS AGG UP/RESTRAINT UP TP SET AFTER AGGRESSOR IF ENGAGED -->
<elseif spell="Aggressor" buffactive="Restraint">
<equip when="aftercast" set="AccEngaged" />
</elseif>
<!-- EQUIPS RESTRAINT UP/AGG OR STALWARTS UP TP SET AFTER RESTRAINT IF ENGAGED -->
<if mode="AND" spell="Restraint" buffactive="Aggressor|Accuracy Bonus">
<equip when="aftercast" set="RestraintUp" />
</if>
<!-- EQUIPS RESTRAINT UP UP TP SET AFTER RESTRAINT IF ENGAGED -->
<elseif spell="Restraint">
<equip when="aftercast" set="AccRestraintUp" />
</elseif>
</if>
<!-- WEAPONSKILL RULES -->
<if commandprefix="/weaponskill|/ws">
<!-- CANCELS GEARSWAP IF BELOW 100% TP -->
<if tplt="100">
<action type="cancelspell" />
<action type="return" />
</if>
<!-- RR RULES, REMEMBER TO CHANGE TO UKKO'S WHEN UKON IS FINISHED -->
<elseif spell="Raging Rush">
<!-- ABYSSEA RR RULES -->
<if buffactive="visitant">
<elseif buffactive="Berserk">
<if buffactive="Blood Rage">
<!-- WHEN BERK AND BR ARE UP -->
<equip when="precast" set="BerkBRAbysseaRR" />
</if>
<else>
<!-- WHEN JUST BERK IS UP -->
<equip when="precast" set="BerkAbysseaRR" />
</else>
</elseif>
<elseif buffactive="Blood Rage">
<!-- WHEN JUST BR IS UP -->
<equip when="precast" set="BRAbysseaRR" />
</elseif>
<else>
<!-- WHEN BERK AND BR ARE NOT UP -->
<equip when="precast" set="NormalAbysseaRR" />
</else>
</if>
<!-- VOIDWATCH RR RULES -->
<elseif buffactive="Voidwatcher">
<elseif buffactive="Berserk">
<if buffactive="Blood Rage">
<!-- WHEN BERK AND BR ARE UP -->
<equip when="precast" set="BerkBRVoidwatchRR" />
</if>
<else>
<!-- WHEN JUST BERK IS UP -->
<equip when="precast" set="BerkVoidwatchRR" />
</else>
</elseif>
<if buffactive="Blood Rage">
<!-- WHEN JUST BR IS UP -->
<equip when="precast" set="BRVoidwatchRR" />
</if>
<else>
<!-- WHEN BERK AND BR ARE NOT UP -->
<equip when="precast" set="NormalVoidwatchRR" />
</else>
</elseif>
<!-- NORMAL RR RULES... NOT VOIDWATCH AND NOT ABYSSEA -->
<else>
<if buffactive="Berserk">
<if buffactive="Blood Rage">
<!-- WHEN BERK AND BR ARE UP -->
<equip when="precast" set="BerkBRNormalRR" />
</if>
<else>
<!-- WHEN JUST BERK IS UP -->
<equip when="precast" set="BerkNormalRR" />
</else>
</if>
<elseif buffactive="Blood Rage">
<!-- WHEN JUST BR IS UP -->
<equip when="precast" set="BRNormalRR" />
</elseif>
<else>
<!-- WHEN BERK AND BR ARE NOT UP -->
<equip when="precast" set="NormalRR" />
</else>
</else>
</elseif>
<!-- CLEAVE RULES -->
<elseif spell="Fell Cleave">
<if buffactive="Mighty Strikes">
<equip when="precast" set="MightyStrikesCleave" />
</if>
<else>
<equip when="precast" set="Cleave" />
</else>
</elseif>
</if>
<!-- NINJUTSU RULES -->
<elseif skill="Ninjutsu">
<!-- ICHI RULES -->
<if spell="Utsusemi: Ichi">
<equip when="precast" set="Ichi" />
<action type="midcastdelay" delay="1.9" />
<action type="Command" when="midcast">cancel 66</action>
</if>
<!-- NI RULES -->
<elseif spell="Utsusemi: Ni">
<equip when="precast" set="FastCast" />
<equip when="midcast" set="Ni" />
</elseif>
<!-- MONOMI RULES -->
<elseif spell="Monomi*">
<action type="midcastdelay" delay="2.2" />
<action type="command" when="midcast">cancel 71</action>
</elseif>
<!-- ALL OTHER NINJUTSU RULES, JUST EQUIPS FASTCAST SINCE ON WAR -->
<else>
<equip when="precast" set="FastCast" />
</else>
</elseif>
<!-- JA RULES -->
<if spell="Blood Rage">
<equip when="precast">
<!-- LOCKS BODY SO BR BONUS IS NOT LOST -->
<body lock="true">Ravager's Lorica +2</body>
</equip>
</if>
<if spell="Spectral Jig">
<action type="command" when="precast">cancel 71</action>
</if>
</rules>
</spellcast>
and looks like some of the indentations are wrong because of the copy pasta :3
but that's the gist of it... autoset rules start at line 875, and the engaged aftercast rules start at 909. I've also got multiple buff up/down sets in it, for NIN they can either be taken out or changed to marches so you're not tping in the extra dual wield when you don't need it :p
[+]
Leviathan.Mcmurdles
Server: Leviathan
Game: FFXI
Posts: 53
By Leviathan.Mcmurdles 2012-03-16 00:58:41
before i start cycling through that... just have to add that is the biggest effing SC i've ever seen o.o
By Gimpness 2012-03-16 00:59:28
um yea :X i had nothing to do for a while and went a bit overboard...
the notes are more for me... since half the time when i come back to look at these things i think... what in the name of hell was i thinking. and a lot of it is still blank sets... soon as i get off my ***...
my head be borkeded at times.
Leviathan.Mcmurdles
Server: Leviathan
Game: FFXI
Posts: 53
By Leviathan.Mcmurdles 2012-03-18 04:40:22
seen hietsu was online atm so bumping this! :D can you take a look at how i'd go about doing the tp body sets pretty please sir. Couldn't decypher gimpness's sc
Server: Sylph
Game: FFXI
Posts: 2617
By Sylph.Hitetsu 2012-03-18 04:47:08
Alrighty, if I've understood this right (I've only quickly skimmed, need to get ready for work soon'ish).
You have a variabe called "MyBody" that you want to define the body you use when you engage a mob, based on what event(s) you're doing?
Try:
Code xml <if buffactive="Visitant"> <!--Abyssea -->
<cmd>sc var set myBody AbysseaBodyPiece</cmd>
</if>
<elseif buffactive="Voidwatcher"> <!-- Voidwatch -->
<cmd>sc var set myBody VWBodyPiece</cmd>
</elseif>
<else> <!-- Everywhere else -->
<cmd>sc var set myBody RegularBodyPiece</cmd>
</else>
EDIT: Change the last word on each of those <cmd> lines, so they correspond to the body pieces you want to use for Abyssea/Voidwatch/Outside TP.
Leviathan.Mcmurdles
Server: Leviathan
Game: FFXI
Posts: 53
By Leviathan.Mcmurdles 2012-03-18 04:48:56
ahhh you're the best! thanks a million mate
So I am trying to write my first SC, and I feel like I am either missing something, or not writing something. This is based mostly because it confused the hell out of me, not because it will not work in game because I have not yet attempted. Curious if any of you smart people out there can proof read this and let me know what you think.
What I am wanting it to do, is when I engage a mob, swap to the apropriate gearset, then change to WS gear for WS, then back to engaged gear, and then to idle set when the mob dies.
Thanks in advance.
NIN-pastebin
|
|