RDM Melee TP .xml Setup

Eorzea Time
 
 
 
Language: JP EN FR DE
Version 3.1
New Items
users online
Forum » FFXI » Jobs » Red Mage » RDM Melee TP .xml setup
RDM Melee TP .xml setup
Offline
Posts: 635
By tyalangan 2016-04-06 09:57:14
Link | Quote | Reply
 
Looking for advice as my own knowledge is not helping me diagnose the problem. Will someone kindly look over my code and help me with the error. Maybe this can help others, as well.

I cannot get my weapons to stay locked when I cast a spell. No matter what I try it switches to the staff/club I have with that particular spell:
Code
<variables>
<var name="Staff"></var>
</variables>

<inputcommands>
   <cmd input="/staffon">
      <setvar name="Staff" value="true"/>
   </cmd>

   <cmd input="/staffoff">
      <setvar name="Staff" value="false"/>
   </cmd>
<inputcommands>


I want to be able to type /staffon or /staffoff in chat and it either uses the staves when I cast a spell or it does not. I am 100% sure the variables section is incorrect but I am not sure what I need to make the variable be in order to use these commands.
 Asura.Sabishii
Offline
Server: Asura
Game: FFXI
user: Sabishii
Posts: 222
By Asura.Sabishii 2016-04-06 10:11:59
Link | Quote | Reply
 
I personally wouldn't reinvent the wheel with what you're trying, I would use a mote include RDM.lua and use an offensive mode to switch between sword mode and staff/club mode.
Offline
Posts: 635
By tyalangan 2016-04-06 10:17:05
Link | Quote | Reply
 
I have seen these offensive modes when browsing new luas. This was my spellcast from a long time ago and was just wanting to update it but if I need to download an entirely new script I will.

Does offensive mode just work by itself if it sees you have a sword/dagger or do you need to input a command to start this mode?
 Asura.Sabishii
Offline
Server: Asura
Game: FFXI
user: Sabishii
Posts: 222
By Asura.Sabishii 2016-04-06 10:54:24
Link | Quote | Reply
 
The way combat mode works is that you press F9 while a mote include is loaded, and it cycles through a number of sets you define (like swapping between low ACC set and a high ACC set).

I'm still looking into different ways to figure out ways of doing this, because I want to do something similar on my BLU GS swapping between using swords and clubs.

Maybe you can do in your mote-lua something like this:
Code
state.OffensiveMode:options('Sword', 'Club', 'Staff')


The first set you have listed is your default set when you first switch to the job/log in.

Then you have an idle set and engaged sets for swords and clubs.
Code
sets.idle.Sword={"Sword 1",sub="Sword 2"}
sets.idle.Club={main="Club",sub="Shield"}
sets.idle.Staff={main="Staff",sub="Grip"}

sets.engaged.Sword={main="Sword 1",sub="Sword 2"}
sets.engaged.Club={main="Club",sub="Shield"}
sets.engaged.Staff={main="Staff",sub="Grip"}


Something like that may work, unless someone else has any better ideas.
Offline
Posts: 635
By tyalangan 2016-04-07 08:01:32
Link | Quote | Reply
 
Great, I'll give it a test. Thanks for the input I appreciate it.