SAM Spellcast XML

Eorzea Time
 
 
 
Language: JP EN FR DE
users online
Forum » FFXI » Jobs » Samurai » SAM Spellcast XML
SAM Spellcast XML
 Cerberus.Lightvision
Offline
Server: Cerberus
Game: FFXI
By Cerberus.Lightvision 2012-03-26 22:00:46
Link | Quote | Reply
 
Firstly i am not asking for one and i am actually supplying one, i do things a little differently than i usually do. hope you like

i have recently just made a decent SAM XML for spellcast, covers 4 different delay's 347, 450, 464 & 480 also covers JA's etc. this should serve well as a decent template for those looking for a good starting point to expand on.

TODO list
* rules/sets for subjobs
* rules/sets/var's for PDT/MDT
* Various other things i can think up

You can view/download it from here: Pastebin
[+]
 Asura.Ccl
Offline
Server: Asura
Game: FFXI
user: ccl
Posts: 1995
By Asura.Ccl 2012-03-30 17:42:27
Link | Quote | Reply
 
Thank you for sharing !
 Fenrir.Riken
Offline
Server: Fenrir
Game: FFXI
user: Riken
Posts: 90
By Fenrir.Riken 2012-03-31 12:02:21
Link | Quote | Reply
 
What is the command to manually swap to a gear set in game? like if i want to.switch to pdt/mdt set
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-03-31 12:03:47
Link | Quote | Reply
 
//sc set [set name]

For a PDT set, you'd //sc set PDT
 Fenrir.Riken
Offline
Server: Fenrir
Game: FFXI
user: Riken
Posts: 90
By Fenrir.Riken 2012-03-31 13:41:39
Link | Quote | Reply
 
Thank you

edit: hmm, it doesnt work when put into maccros
 Asura.Dominate
Offline
Server: Asura
Game: FFXI
user: Yomisha
Posts: 2518
By Asura.Dominate 2012-03-31 14:03:04
Link | Quote | Reply
 
For macros you have to do the /console thing, so it'd be like

/console sc set PDT
 Shiva.Paulu
Offline
Server: Shiva
Game: FFXI
user: Paulu
Posts: 776
By Shiva.Paulu 2012-03-31 14:19:43
Link | Quote | Reply
 
/sc set PDT
works in a macro, but
/console sc set PDT
works as well.
 Asura.Dominate
Offline
Server: Asura
Game: FFXI
user: Yomisha
Posts: 2518
By Asura.Dominate 2012-03-31 14:23:05
Link | Quote | Reply
 
Oh yes, indeed it does! I just use /console for everything since macros need it now. :[
 Ragnarok.Gunit
Offline
Server: Ragnarok
Game: FFXI
user: Gunit
Posts: 370
By Ragnarok.Gunit 2012-03-31 14:37:29
Link | Quote | Reply
 
Would be better to set up a toggle spell for PDT/MDT/EVA that way you can WS>PDT and not WS>TP then hit macro for PDT again.
necroskull Necro Bump Detected! [363 days between previous and next post]
 Leviathan.Lexiusa
Offline
Server: Leviathan
Game: FFXI
user: Lexiusa
Posts: 12
By Leviathan.Lexiusa 2013-03-29 14:36:42
Link | Quote | Reply
 
I know this is an old thread but rather than make a new one thought id just post here. I was wondering if this is possible?

Ragnarok.Gunit said: »
Would be better to set up a toggle spell for PDT/MDT/EVA that way you can WS>PDT and not WS>TP then hit macro for PDT again.
 Bahamut.Ozwaldo
Offline
Server: Bahamut
Game: FFXI
user: Ozwaldo
Posts: 39
By Bahamut.Ozwaldo 2013-03-29 14:45:36
Link | Quote | Reply
 
If you poke around you can find XMLs that utilize tp variables that will do what you want. I'd start by googling "BG comepleted spellcast" and go from there" Keep in mind you'll have to get the autoexec for most of them as well.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-03-29 15:01:26
Link | Quote | Reply
 
Code xml
    <variables>
		<var name="GearType">TPGear</var>
	</variables>


<equip when="aftercast" set="$GearType" />


Then you simply set multiple macros to change between gearsets on the fly, or if you wanted a single macro toggle:
Code xml
<if spell="Trigger0"> <!-- Trigger Spells for cycling Attack Levels- Trigger0 increases Attack in WS, Trigger1 decreases Attack in WS-->
	<cancelspell />
	
	<if advanced='("$GearType" == "MDT")'>
		<var cmd="set GearType TP" />
	</if>
	<elseif advanced='("$GearType" == "TP")'>
		<var cmd="set GearType PDT" />
	</elseif>
	<elseif advanced='("$GearType" == "PDT")'>
		<var cmd="set GearType MDT" />
	</elseif>
	<addtochat color="112">Default Gear changed. Now $GearType gear.</addtochat>
	<equip when="aftercast" set="$GearType" />
</if>
 Leviathan.Lexiusa
Offline
Server: Leviathan
Game: FFXI
user: Lexiusa
Posts: 12
By Leviathan.Lexiusa 2013-03-29 15:07:11
Link | Quote | Reply
 
Awesome thanks for your help guys I'll try this out now.