Killing Ifrit - a Final Fantasy community: A brief SpellCast question. - Killing Ifrit - a Final Fantasy community

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

A brief SpellCast question. Regarding Polearm sets.

#1
User is offline   Darklordoftoast 

  • Backer and Blacker
  • PipPipPipPip
Recently I've been making the switch from .txt scripts to SpellCast, and I've had no problems yet differentiating between /WAR and /DRG by simply naming the XML files appropriately. But because polearm and great katana are both used /WAR, is there a rule I can use to use different base gear sets when a polearm (namely Engetsuto) is equipped? I recall seeing something like this being mentioned before, more than likely from Hakamaru, but I'm having issues using the search function as easily as I would like.

Included is my current spellcast that I use for /WAR, maybe somebody else looking to make a similar transition will get some use out of it.

Thanks guys!

Spoiler

0

#2
User is offline   IronPandemonium 

  • Your tears give me power
  • PipPipPipPipPip
TO ADD TO THE TOPIC OF SPELLCAST: does anybody have a solid vampire earring text that keeps it on full time during the night, my current one swaps back to bushi if i hit the macro twice :\
0

#3
User is offline   TresDuendes 

  • Sawbearg from Greedalox. Srs Bearsns.
  • PipPipPipPipPip

View PostDarklordoftoast, on 08 April 2010 - 03:59 AM, said:

Recently I've been making the switch from .txt scripts to SpellCast, and I've had no problems yet differentiating between /WAR and /DRG by simply naming the XML files appropriately. But because polearm and great katana are both used /WAR, is there a rule I can use to use different base gear sets when a polearm (namely Engetsuto) is equipped? I recall seeing something like this being mentioned before, more than likely from Hakamaru, but I'm having issues using the search function as easily as I would like.Included is my current spellcast that I use for /WAR, maybe somebody else looking to make a similar transition will get some use out of it.Thanks guys!
Spoiler


you can do something like
<if status="engaged">
<if equipmain="engutsuto">
<action type="equip" when="engaged|aftercast" set="polearm" />
</if>
<else>
<action type="equip" when="engaged|aftercast" set="Engage" />
</else>
</if>

View PostIronPandemonium, on 08 April 2010 - 06:05 AM, said:

TO ADD TO THE TOPIC OF SPELLCAST: does anybody have a solid vampire earring text that keeps it on full time during the night, my current one swaps back to bushi if i hit the macro twice :\

make it a variable is probably the easiest way

This post has been edited by TresDuendes: 08 April 2010 - 06:13 AM

0

#4
User is offline   IronPandemonium 

  • Your tears give me power
  • PipPipPipPipPip

View PostTresDuendes, on 08 April 2010 - 06:11 AM, said:

make it a variable is probably the easiest way


kinda moonspeak since a friend of mine made it for me, but either way here's what it looks like currently

Quote

<?xml version="1.0" ?>

<spellcast>
<config
Debug="false"
HideErrors="false"
ShowGearSwaps="false"
ShowSpellInfo="false"
/>
<rules>
<if spell="Tachi: Yukikaze|Tachi: Gekko|Tachi: Kasha|Tachi: Kaiten">
<if TimeLT="18.01" TimeGT="6.00">
</if>
<else>
<equip>
<lear lock="t">Vampire Earring</lear>
</equip>
</else>
</if>
</rules>
</spellcast>


dddddddderp
0

#5
User is offline   Banggugyangu 

  • Can't find a teleport
  • PipPipPipPip

View PostTresDuendes, on 08 April 2010 - 06:11 AM, said:

you can do something like
<if status="engaged">
<if equipmain="engutsuto">
<action type="equip" when="engaged|aftercast" set="polearm" />
</if>
<else>
<action type="equip" when="engaged|aftercast" set="Engage" />
</else>
</if>

Wouldn't the most seamless method of doing so be to set a rule that would change groups based on the currently equipped weapon?
0

#6
User is offline   TresDuendes 

  • Sawbearg from Greedalox. Srs Bearsns.
  • PipPipPipPipPip
i tend to save group swaps for things like special builds, eva build etc
0

#7
User is offline   Dartalion 

  • Forgot echo drops
  • PipPipPipPip
Damn you aneyus, help me with spellcast. <_< (btw its lim!)
0

#8
User is offline   Hakamaru 

  • Yagutaru
  • PipPipPipPip
Sorry for the late reply... I've been away for various reasons lately.

View PostBanggugyangu, on 08 April 2010 - 11:05 AM, said:

Wouldn't the most seamless method of doing so be to set a rule that would change groups based on the currently equipped weapon?

Not really. That would mean for every set/group that you would like to make the piece conditional, you would have to write an extra group, and then add appropriate control flow in your rules. If you use a variable within a single group, like Tres suggested, you can just plop that variable name into all the appropriate sets and put one <if> down in your rules to control everything.

A good example of this would be dusk gloves. There are potentially numerous sets that you would like to wear dusk gloves, but I'll be damned if I'm going to walk around disengages with those bastards on. So you either replicate a bunch of groups, or you make a variable named "DuskGloves", place $DuskGloves in the hands slot of set you want to wear them in, and then control the variable's value off whether you're engaged or not.

<variables>
	<var name="DuskGloves">Dusk Gloves</var>
</variables>
<sets>	
	<group default="yes" name="SAM">
 	<set name ="Engage" BaseSet="Idle">
 	<hands>$DuskGloves</hands>
 	</set>
	</group>
</sets>
<rules>
	<if status="engaged">
 	<action type="Var" cmd="set DuskGloves Dusk Gloves" />
	</if>
	<else>
 	<action type="Var" cmd="set DuskGloves Seiryu's Kote" />
	</else>
</rules>


As for DL's original question, you could do something a little fancier if you like. If you're only concerned with using Engetsuto, you could name your TP sets to include your weapon name. For example:

<sets>
<group default="yes" name="SAM">
	<set name ="TpEngetsuto">
	...
	</set>
	<set name ="TpHagun">
	...
	</set>
</group>
</sets>

<rules>
	<action type="equip" when="engaged|aftercast" set="Tp%EquipMain" />
</rules>

As long as you're ok with writing a set for every possible weapon you'll ever use (many sets may be empty inherit sets), this would take care of it all.
0

#9
User is offline   Hakamaru 

  • Yagutaru
  • PipPipPipPip

View PostDarklordoftoast, on 08 April 2010 - 03:59 AM, said:

<rules>
		<if Spell="Tachi: Gekko">
			<action type="equip" when="PreCast" set="Gekko" />
		</if>
		<if Spell="Tachi: Kasha">
			<action type="equip" when="PreCast" set="Kasha" />
		</if>
		<if Spell="Tachi: Yukikaze">
			<action type="equip" when="PreCast" set="Yuki" />
		</if>
		<if Spell="Tachi: Rana">
			<action type="equip" when="PreCast" set="Rana" />
		</if>
		<if Spell="Tachi: Koki">
			<action type="equip" when="PreCast" set="Koki" />
		</if>
</rules>

Another bit of advice, if I may... Instead of naming your WS sets "Rana", "Gekko", etc., name them the entire name of the WS. So Gekko -> Tachi: Gekko. Then you can do all your WS swaps with one rule:
<if skill="WeaponSkill">
	<action type="equip" when="PreCast" set="%Spell" />
</if>

3 lines replaces all the stuff you have above, and if you define a "Penta Thrust" set, it will already handle that appropriately.
0

#10
User is offline   TresDuendes 

  • Sawbearg from Greedalox. Srs Bearsns.
  • PipPipPipPipPip

View PostHakamaru, on 12 April 2010 - 12:45 PM, said:

Another bit of advice, if I may... Instead of naming your WS sets "Rana", "Gekko", etc., name them the entire name of the WS. So Gekko -> Tachi: Gekko. Then you can do all your WS swaps with one rule:
<if skill="WeaponSkill">
	<action type="equip" when="PreCast" set="%Spell" />
</if>

3 lines replaces all the stuff you have above, and if you define a "Penta Thrust" set, it will already handle that appropriately.

Each WS has it's own equip swaps though. Some are just a gorget change and some are almost completely different.
0

#11
User is offline   Hakamaru 

  • Yagutaru
  • PipPipPipPip

View PostTresDuendes, on 12 April 2010 - 04:07 PM, said:

Each WS has it's own equip swaps though. Some are just a gorget change and some are almost completely different.

Looks like you missed what I'm doing here. You define 1 set per WS, named the same as the WS. So in this case, DLT will define sets named:

Tachi: Yukikaze
Tachi: Gekko
Tachi: Kasha
Tachi: Rana
Tachi: Koki
Penta Thrust

Then the rule simply uses the name of the WS you're about to use as the name of the set to equip during the WS. The only problem with this method is if you use Tachi: Hobaku or something without a corresponding set defined, you will see an error in the log (you can just ignore it or define a dummy set for stuff like that).

As you said... YGK will all be very similar with potentially a little attack gear shuffled in and gorgets changed. But you get to define a set per WS, and your rules become really simple. Simple rules means less Spellcast lag... which is always a good thing.

This post has been edited by Hakamaru: 12 April 2010 - 05:43 PM

0

#12
User is offline   Darklordoftoast 

  • Backer and Blacker
  • PipPipPipPip
Thanks for all the input (no pun intended); I'll look into working this into my spellcast this week.
0

#13
User is offline   TresDuendes 

  • Sawbearg from Greedalox. Srs Bearsns.
  • PipPipPipPipPip

View PostHakamaru, on 12 April 2010 - 05:28 PM, said:

Looks like you missed what I'm doing here. You define 1 set per WS, named the same as the WS. So in this case, DLT will define sets named:

o duh
0

#14
User is offline   Hakamaru 

  • Yagutaru
  • PipPipPipPip

View PostIronPandemonium, on 08 April 2010 - 06:05 AM, said:

TO ADD TO THE TOPIC OF SPELLCAST: does anybody have a solid vampire earring text that keeps it on full time during the night, my current one swaps back to bushi if i hit the macro twice :\

I think I deciphered your problem. It sounds like you still have game / windower macros that equip bushi. So basically your macros are racing with spellcast for who can equip that ear slot first. You, at the very least, need to allow spellcast to control the ear slot 100%. I would actually suggest moving over to spellcast entirely for something like this.

Also, that code you posted only takes effect on WS. You could make it full-time if you take out the line that has all the WS names and the </if> at the end. But again, you need to take the ear equip out of your windower scripts.
0

#15
User is offline   TresDuendes 

  • Sawbearg from Greedalox. Srs Bearsns.
  • PipPipPipPipPip

View PostHakamaru, on 13 April 2010 - 12:18 PM, said:

I think I deciphered your problem. It sounds like you still have game / windower macros that equip bushi. So basically your macros are racing with spellcast for who can equip that ear slot first. You, at the very least, need to allow spellcast to control the ear slot 100%. I would actually suggest moving over to spellcast entirely for something like this.

Also, that code you posted only takes effect on WS. You could make it full-time if you take out the line that has all the WS names and the </if> at the end. But again, you need to take the ear equip out of your windower scripts.

Already fixed it for him cause he's a big gay.
0

#16
User is offline   IronPandemonium 

  • Your tears give me power
  • PipPipPipPipPip

View PostTresDuendes, on 13 April 2010 - 09:18 PM, said:

Already fixed it for him cause he's a big gay.


NIGGER
0

#17
User is offline   Vax 

  • Hammerblow Nodrop ;_;
  • PipPipPipPipPip
It's like
Posted Image


...just black and with an N.

This post has been edited by Vax: 15 April 2010 - 05:59 AM

0

#18
User is offline   TresDuendes 

  • Sawbearg from Greedalox. Srs Bearsns.
  • PipPipPipPipPip

View PostVax, on 15 April 2010 - 05:59 AM, said:

It's like
Posted Image


...just black and with an N.

No I fixed his spellcast, but set it up so every time he used a one hit WS it would shout I'm a big gay. I forget what the two hitter was but it was similar.
0

#19
User is offline   Vax 

  • Hammerblow Nodrop ;_;
  • PipPipPipPipPip
that's actually pretty awesome xD
0

#20
User is offline   Fekye 

  • Shout spammer
  • PipPip
Necro bump waaaaat,

So recently I've been doing the same with the whole change from .txt to .xml and
I'm trying to incorporate polearm/GK group. So far everything has worked beautifully
except getting my gear to change for WS.

I believe I have the sets named properly and the rules set right
but when I use a WS it's not changing any gear on ANY of my WS.

I've changed my set name to the appropriate names to make use of

<if skill="WeaponSkill">
        <action type="equip" when="PreCast" set="%Spell" />
</if>


This is my Penta Thrust set as an example:

<set name="Penta Thrust" BaseSet="TpTomoe">
	<head>Shr.Znr.Kabuto</head>
        <neck>Shadow Gorget</neck>
        <lear>Aesir Ear Pendant</lear>
        <hands>Ochimusha Kote</hands>
        <body>Haubergeon +1</body>
        <lring>Lava's Ring</lring>
        <rring>Kusha's Ring</rring>
        <back>Forager's Mantle</back>
        <waist>Virtuoso Belt</waist>
        <legs>Byakko's Haidate</legs>
        <feet>Rutter Sabatons</feet>
</set>


Maybe someone can figure out why it won't swap gears....
<.< I'm probably doing something really retarded or need to add something, but honestly I've only been messing with spell cast for a few hours so my knowledge is a little limited.

Edit: cross t + dot i

This post has been edited by Fekye: 07 July 2010 - 07:57 PM

0

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic


1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users