Copier une config Flexbar

Répondre
Partager Rechercher
Salut, voila je dispose d'un code pour copier une config flexbar mais j'ai aucune idée de comment faire, je la copie dans le Flexbar_config.lua mais ça ne fait rien.

Voici le code :


Positions

/t Core Combat Buttons
/flexbar group button=1-9 anchor=1
/flexbar show group=1
/flexbar scale button=1-9 scale=9
/flexbar verticalgroup group=1 width=9 padding=1
/flexbar moveabs button=1 xx=382 yy=60

/t Core Stealth Combat Buttons
/flexbar group button=10-16 anchor=10
/flexbar hide group=10
/flexbar verticalgroup group=10 width=8 padding=1
/flexbar moveabs button=10 xx=700 yy=600

/t Left Combat Buttons
/flexbar group button=17-22 anchor=17
/flexbar scale button=17-22 scale=9
/flexbar verticalgroup group=17 width=3 padding=1
/flexbar moveabs button=17 xx=377 yy=130

/t Right Combat Buttons
/flexbar group button=23-28 anchor=23
/flexbar scale button=23-28 scale=9
/flexbar verticalgroup group=23 width=3 padding=1
/flexbar moveabs button=23 xx=598 yy=130

/t Health Stone Sub Menu
/flexbar group button=29-30 anchor=29
/flexbar scale button=29-30 scale=9
/flexbar verticalgroup group=29 width=2 padding=1
/flexbar moveabs button=29 xx=703 yy=130

/t Bandage Indicator
/flexbar scale button=31 scale=9
/flexbar moveabs button=31 xx=598 yy=165

/t Potion Sub Menu
/flexbar group button=32-37 anchor=32
/flexbar scale button=32-37 scale=9
/flexbar verticalgroup group=32 width=3 padding=1
/flexbar moveabs button=32 xx=633 yy=200

/t Ranged Sub Menu
/flexbar scale button=38 scale=9
/flexbar moveabs button=38 xx=377 yy=165

/t Weapon Switch Sub Menu
/flexbar group button=39-42 anchor=39
/flexbar scale button=39-42 scale=9
/flexbar verticalgroup group=39 width=4 padding=1
/flexbar moveabs button=39 xx=341 yy=165

/t Main Menu Bar
/flexbar group button=43-48 anchor=43
/flexbar verticalgroup group=43 width=10 padding=1
/flexbar moveabs button=43 xx=500 yy=850
/flexbar show group=43
/flexbar fade group=43 alpha=10 on='mouseentergroup' target=43
/flexbar fade group=43 alpha=0 on='mouseleavegroup' target=43

/t Food Buttons
/flexbar group button=49-54 anchor=49
/flexbar verticalgroup group=49 padding=1
/flexbar moveabs button=49 xx=578 yy=811

/t Poisen Buttons
/flexbar group button=55-60 anchor=55
/flexbar verticalgroup group=55 width=1 padding=1
/flexbar moveabs button=55 xx=617 yy=811

/t Proffessions Buttons
/flexbar group button=61-68 anchor=61
/flexbar verticalgroup group=61 width=1 padding=1
/flexbar moveabs button=61 xx=656 yy=811

/t Spare Menu
/flexbar group button=69-86 anchor=69
/flexbar verticalgroup group=69 width=3 padding=1
/flexbar moveabs button=69 xx=695 yy=811

/t Dispel Buttons
/flexbar hide button=117-118
/flexbar Moveabs button=117 xx=470 yy=415
/flexbar scale button=117 scale=40
/flexbar Moveabs button=118 xx=470 yy=570
/flexbar scale button=118 scale=40

/t Mount and Stealth Button
/flexbar show button=119-120
/flexbar scale button=119-120 scale=15
/flexbar group button=119-120 anchor=119
/flexbar verticalgroup group=119 width=2 padding=1
/flexbar moveabs button=119 xx=484 yy=117





Warning: because of the "toggle" commands if you load this twice it will confuse the toggle commands and none of the menus will open up. To fix this just reload one more time and it will reset the toggles to where they need to be.

Logic


/t Stealth Remap
/flexbar remap button=1-7 base=10 on='gainaura' target='stealth'
/flexbar remap button=1-7 base=1 on='loseaura' target='stealth'

/t Weapons Sub Menu
/flexbar advanced button=18 state='on'
/flexbar show group=39 toggle='true' on='rightbuttonclick' target=18
/flexbar hide group=39 on='mouseleavegroup' target=39

/t Ranged Sub Menu
/flexbar advanced button=17 state='on'
/flexbar show button=38 toggle='true' on='rightbuttonclick' target=17

/t Bandage Sub Menu
/flexbar advanced button=23 state='on'
/flexbar show button=31 toggle='true' on='rightbuttonclick' target=23
/flexbar hide button=31 on='mouseleavebutton' target=31

/t Potion Sub Menu
/flexbar advanced button=24 state='on'
/flexbar show group=32 toggle='true' on='rightbuttonclick' target=24
/flexbar hide group=32 on='mouseleavegroup' target=32

/t Healthstone Sub Menu
/flexbar advanced button=25 state='on'
/flexbar show group=29 toggle='true' on='rightbuttonclick' target=25
/flexbar hide group=29 on='mouseleavegroup' target=29

/t Food Buttons
/flexbar advanced button=45 state='on'
/flexbar show group=49 toggle='true' on='rightbuttonclick' target=45
/t disabled for Cannibablize /flexbar show group=49 toggle='true' on='leftbuttonclick' target=45
/flexbar hide group=49 on='leftbuttonclick' target=49-54
/flexbar hide group=49 on='mouseleavegroup' target=49

/t Auto-Weapon Poison
/flexbar advanced button=46 state='on'
/flexbar show group=55 toggle='true' on='rightbuttonclick' target=46
/flexbar show group=55 toggle='true' on='leftbuttonclick' target=46
/flexbar hide group=55 on='mouseleavegroup' target=55
/flexbar settexture id=46 texture='%macro20'
/flexbar advanced button=55-62 state='on'
/flexbar runmacro macro=['/fbuse Dense Sharpening Stone' '/script PickupInventoryItem(16)' '/script EquipCursorItem(16)'] on='LeftButtonClick' target=55
/flexbar runmacro macro=['/fbuse Dense Sharpening Stone' '/script PickupInventoryItem(17)' '/script EquipCursorItem(17)'] on='RightButtonClick' target=55
/flexbar runmacro macro=['/fbuse Instant Poison VI' '/script PickupInventoryItem(16)' '/script EquipCursorItem(16)'] on='LeftButtonClick' target=56
/flexbar runmacro macro=['/fbuse Instant Poison VI' '/script PickupInventoryItem(17)' '/script EquipCursorItem(17)'] on='RightButtonClick' target=56
/flexbar runmacro macro=['/fbuse Crippling Poison II' '/script PickupInventoryItem(16)' '/script EquipCursorItem(16)'] on='LeftButtonClick' target=57
/flexbar runmacro macro=['/fbuse Crippling Poison II' '/script PickupInventoryItem(17)' '/script EquipCursorItem(17)'] on='RightButtonClick' target=57
/flexbar runmacro macro=['/fbuse Deadly Poison IV' '/script PickupInventoryItem(16)' '/script EquipCursorItem(16)'] on='LeftButtonClick' target=58
/flexbar runmacro macro=['/fbuse Deadly Poison IV' '/script PickupInventoryItem(17)' '/script EquipCursorItem(17)'] on='RightButtonClick' target=58
/flexbar runmacro macro=['/fbuse Wound Poison IV' '/script PickupInventoryItem(16)' '/script EquipCursorItem(16)'] on='LeftButtonClick' target=59
/flexbar runmacro macro=['/fbuse Wound Poison IV' '/script PickupInventoryItem(17)' '/script EquipCursorItem(17)'] on='RightButtonClick' target=59
/flexbar runmacro macro=['/fbuse Mind-numbing Poison III' '/script PickupInventoryItem(16)' '/script EquipCursorItem(16)'] on='LeftButtonClick' target=60
/flexbar runmacro macro=['/fbuse Mind-numbing Poison III' '/script PickupInventoryItem(17)' '/script EquipCursorItem(17)'] on='RightButtonClick' target=60

/t Proffesions Buttons
/flexbar advanced button=47 state='on'
/flexbar show group=61 toggle='true' on='rightbuttonclick' target=47
/flexbar show group=61 toggle='true' on='leftbuttonclick' target=47
/flexbar hide group=61 on='rightbuttonclick' target=61-68
/flexbar hide group=61 on='leftbuttonclick' target=61-68
/flexbar hide group=61 on='mouseleavegroup' target=61
/flexbar settexture id=47 texture='%macro470'

/t Spare Menu
/flexbar advanced button=48 state='on'
/flexbar show group=69 toggle='true' on='rightbuttonclick' target=48
/flexbar show group=69 toggle='true' on='leftbuttonclick' target=48
/flexbar hide group=69 on='leftbuttonclick' target=69-86
/flexbar hide group=69 on='mouseleavegroup' target=69
/flexbar settexture id=48 texture='%macro507'

/t Pop-Up Combat Buttons
/flexbar advanced button=17-42 state='on'
/flexbar advanced button=1-9 state='on'
/flexbar show group=1 on='leftbuttonclick' target=44
/flexbar show button=17-28 on='leftbuttonclick' target=44
/flexbar show group=119 on='leftbuttonclick' target=44
/flexbar moveabs button=119 xx=484 yy=117 on='leftbuttonclick' target=44
/flexbar show group=1 on='gainaggro'
/flexbar show button=17-28 on='gainaggro'
/flexbar show group=119 on='gainaggro'
/flexbar moveabs button=119 xx=484 yy=117 on='gainaggro'
/flexbar show group=1 on='gaintarget' target='hostile'
/flexbar show button=17-28 on='gaintarget' target='hostile'
/flexbar show group=119 on='gaintarget' target='hostile'
/flexbar moveabs button=119 xx=484 yy=117 on='gaintarget' target='hostile'
/flexbar show group=1 on='gaintarget' target='neutral'
/flexbar show button=17-28 on='gaintarget' target='neutral'
/flexbar show group=119 on='gaintarget' target='neutral'
/flexbar moveabs button=119 xx=484 yy=117 on='gaintarget' target='neutral'
/flexbar hide group=1 On='GainBuff' Target='Purple Skeletal Warhorse'
/flexbar hide button=17-42 On='GainBuff' Target='Purple Skeletal Warhorse'
/flexbar moveabs button=119 xx=484 yy=80 On='GainBuff' Target='Purple Skeletal Warhorse'
/flexbar hide group=1 on='rightbuttonclick' target=44
/flexbar hide button=17-42 on='rightbuttonclick' target=44
/flexbar moveabs button=119 xx=484 yy=80 on='rightbuttonclick' target=44
/flexbar settexture id=44 texture='%macro43'

Add these lines if you want the combat bars to automatically dissapear when you "leave combat" and or "lose a target".
But please note: people have had trouble with these in the form of flexbar lag, having the combat bars dissapear during vanishing and restealths and also reappearing when targeting a lootable corpse. Without these lines the combat bars will still appear when you target a hostile, enter combat or toggle them on manually with button 44. They will also hide when you mount or toggle them off manually with button 44.

/flexbar hide group=1 on='leavecombat'
/flexbar hide button=17-28 on='leavecombat'
/flexbar moveabs button=119 xx=484 yy=80 on='leavecombat'
/flexbar hide group=1 on='losttarget'
/flexbar hide button=17-28 on='losttarget'
/flexbar moveabs button=119 xx=484 yy=80 on='losttarget'


/t Auto-Stealth Mount
/flexbar remap button=119 base=120 On='GainBuff' Target='Purple Skeletal Warhorse'
/flexbar remap button=119 base=119 On='LoseBuff' Target='Purple Skeletal Warhorse'
/flexbar hide button=119-120 On='GainBuff' Target='Purple Skeletal Warhorse'
/flexbar show button=119-120 On='LoseBuff' Target='Purple Skeletal Warhorse'


WotF IotH

Note: every since 1.10 i've noticed this to be a bit buggy and am working on replacing it with an outside mod.

/t WotF IotH

/flexbar advanced button=117-118 state='on'
/flexbar hide button=118 on='rightbuttonclick' target=118
/flexbar hide button=117 on='rightbuttonclick' target=117

/flexbar Show Button=117 On='GainDebuff' Target=['bellowing roar' 'corrupted fear' ' cowering roar' 'dreadful fright' 'fear' 'flash bomb' 'howl of terror' 'intimidating roar' 'intimidating shout' 'intimidation' 'panic' 'presence of death' 'psychic scream' 'repulsive gaze' 'run away!' 'Terrify' 'terrifying howl' 'terrifying roar' 'terrifying screech' 'warlock terror' 'cause insanity' 'dominate mind' 'domination' 'dominion of soul' 'enslave demon' 'gnomish mind control cap' 'mind control' 'poison mind' 'seduction' 'crystalline slumber' 'dreamless sleep' 'druid's slumber' 'enchanting lullaby' 'gas bomb' 'greater dreamless sleep' 'hibernate' 'naralex's nightmare' 'reckless charge' 'repentance' 'sleep' 'wyvern sting']

/flexbar Hide Button=117 On='LoseDebuff' Target=['bellowing roar' 'corrupted fear' ' cowering roar' 'dreadful fright' 'fear' 'flash bomb' 'howl of terror' 'intimidating roar' 'intimidating shout' 'intimidation' 'panic' 'presence of death' 'psychic scream' 'repulsive gaze' 'run away!' 'Terrify' 'terrifying howl' 'terrifying roar' 'terrifying screech' 'warlock terror' 'cause insanity' 'dominate mind' 'domination' 'dominion of soul' 'enslave demon' 'gnomish mind control cap' 'mind control' 'poison mind' 'seduction' 'crystalline slumber' 'dreamless sleep' 'druid's slumber' 'enchanting lullaby' 'gas bomb' 'greater dreamless sleep' 'hibernate' 'naralex's nightmare' 'reckless charge' 'repentance' 'sleep' 'wyvern sting']

/flexbar Show button=118 on='gaindebuff' target=['bellowing roar' 'corrupted fear' ' cowering roar' 'dreadful fright' 'fear' 'flash bomb' 'howl of terror' 'intimidating roar' 'intimidating shout' 'intimidation' 'panic' 'presence of death' 'psychic scream' 'repulsive gaze' 'run away!' 'Terrify' 'terrifying howl' 'terrifying roar' 'terrifying screech' 'warlock terror' 'cause insanity' 'dominate mind' 'domination' 'dominion of soul' 'enslave demon' 'gnomish mind control cap' 'mind control' 'poison mind' 'seduction' 'chemical peel' 'curse of the plague rat' 'discombobulate' 'ghost costume' 'greater polymorph' 'hex' 'leper gnome costume' 'polymorph' 'polymorph chicken' 'polymorph sheep' 'wild polymorph']

/flexbar Hide button=118 on='losedebuff' target=['bellowing roar' 'corrupted fear' ' cowering roar' 'dreadful fright' 'fear' 'flash bomb' 'howl of terror' 'intimidating roar' 'intimidating shout' 'intimidation' 'panic' 'presence of death' 'psychic scream' 'repulsive gaze' 'run away!' 'Terrify' 'terrifying howl' 'terrifying roar' 'terrifying screech' 'warlock terror' 'cause insanity' 'dominate mind' 'domination' 'dominion of soul' 'enslave demon' 'gnomish mind control cap' 'mind control' 'poison mind' 'seduction' 'chemical peel' 'curse of the plague rat' 'discombobulate' 'ghost costume' 'greater polymorph' 'hex' 'leper gnome costume' 'polymorph' 'polymorph chicken' 'polymorph sheep' 'wild polymorph']


Lock Down


/t Locked Down

/flexbar lock button=1-120
/flexbar text button=1-118 text='%b'
/flexbar text button=119-120 text=''
/flexbar lockicon button=1-31
/flexbar lockicon button=38-48
/flexbar lockicon button=56-68
/flexbar hide button=10-16
/flexbar hide button=87-118



Unlock All


/flexbar unlock button=1-120
/flexbar lockicon button=1-120 off='true'
/flexbar text button=1-120 text='%d'
/flexbar show button=1-120


Reset All #1

/flexbar resetall confirm='yes'


Reset All #2

/flexbar show button=1-120
/flexbar group button=1-120 anchor=1
/flexbar verticalgroup group=1 width=12
/flexbar moveabs button=1 xx=300 yy=650
/flexbar ungroup group=1
/flexbar text button=1-120 text='%d'
Tu la copies telle quelle ? Parce que si c'est le cas ça ne va pas marcher.

Il faut que tu ouvres l'éditeur de script de Flexbar (/flexbar menu ou mainmenu je sais plus), tu copies toutes les lignes qui commencent par le "/", tu sauvegardes et tu exécutes en tant que macro dans l'éditeur (il y a un bouton). Tu peux commencer avec seulement quelques lignes de code pour voir si ça marche, tu en rajoutes un peu au fur et à mesure.

Ensuite, l'auteur du code a quand même quelques optimisations spécifiques à lui, notamment pour sa monture ou sa capacité raciale undead. Donc si tu n'as pas de "Purple Skeletal Warhorse" ou si tu n'est pas undead, bin ça ne fonctionnera pas. A toi d'adapter selon ton perso.

Enfin, les skills, noms d'objets et de poisons sont en anglais. Donc, si tu joues avec un jeu français il faudra que tu remplace tous les noms par leur équivalent dans le jeu français.

Flexbar ça à l'air compliqué au premier abord mais on s'y habitue vraiment rapidement.

A+

Edit : Il y a un super post explicatif sur le forum officiel FR interface. L'auteur est Moloch, je te conseille de le lire, il est très complet et en français
Répondre

Connectés sur ce fil

 
1 connecté (0 membre et 1 invité) Afficher la liste détaillée des connectés