Download
(4 Kb)
Download
Updated: 09/01/22 01:30 AM
Compatibility:
Lost Depths (8.1.5)
Updated:09/01/22 01:30 AM
Created:03/02/21 10:17 AM
Monthly downloads:77
Total downloads:4,526
Favorites:7
MD5:
Draw Weapon
Version: 1.4.1
by: Chivana [More]
Do you like exploring the world with your weapon drawn?

And does it annoy you, that when interacting with certain things, like gathering flying insects, looting heavy sacks, lockpicking chests, or general harvesting, your character automatically sheaths the weapon?

This simple little Addon might be the solution:
It toggles the weapon to be drawn as soon as you move again, use Roll Dodge (Hasty Retreat with Bow equipped), crouch (Stealth) or sprint (Shift key).
Optional the weapon can be automatically sheathed when you are sprinting.
Both toggles happen only out of combat, not while mounted or swimming, and can be configured in the settings menu.

In case Sprint is not bound to Shift the addon can now check the movement speed. Enable Debug to display your speed and set the Sprint detection slider accordingly. Set the slider to 0 if you use the default keybind.

Enjoy!

Required Library:
LibAddonMenu (https://www.esoui.com/downloads/info7-LibAddonMenu.html)
1.4.1
- Draw Weapon only once if (not while) Dodge Fatigue is active.
- API bump to Lost Depths (U35)

1.4.0
- Keybind to enable/disable the addon.
- New option: Sprint detection (in case Sprint is not bound to SHIFT)
- New option: Debug (Display infos in chat, incl. current speed)
- API bump to Deadlands

1.3.0
- New option: Draw weapon after using Roll Dodge (Hasty Retreat with Bow equipped).
- New option: Draw weapon when crouching (Stealth).
- Movement ignored for one cycle (499 ms), was every weapon toggle.
- API bump to Blackwood

1.2.1
- New option: Draw weapon only if sprinting (instead of sheathing).
- No weapon toggle while swimming.

1.2.0
- Update cycle halfed, but weapon toggle skipped for one cycle to achieve smoother transitions.
- Some minor code and text changes.

1.1.0
- Independent from looting and all interactions the weapon is now drawn if you are moving (but not sprinting).
- Optional the weapon can be automatically sheathed when you are sprinting.
- The weapon is not toggled if you are in combat or mounted.
- Addon settings Auto-draw and Auto-sheath.
- API bump to Flames of Ambition.

1.0.1
- Based on EVENT_LOOT_CLOSED (called only once) instead of _RECEIVED (called for every item).
- Optimized code structure.

1.0.0
- Initial release.
Archived Files (7)
File Name
Version
Size
Uploader
Date
1.4.0
4kB
Chivana
01/11/22 12:46 PM
1.3.0
3kB
Chivana
05/07/21 10:56 PM
1.2.1
2kB
Chivana
04/30/21 02:36 AM
1.2.1
2kB
Chivana
03/19/21 02:47 AM
1.1.0
2kB
Chivana
03/08/21 02:09 PM
1.0.1
1kB
Chivana
03/04/21 11:14 AM
1.0.0
767B
03/02/21 10:17 AM


Post A Reply Comment Options
Unread 04/30/21, 10:42 PM  
Chivana
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 36
Uploads: 1
Re: Re: Re: extra option

Hmm, did you change the sprint keybind? Unfortunately, this only works if sprinting is bound to SHIFT. There used to be an event to detect sprint start and stop, but it was removed by ZOS. Now the only way I know is the function IsShiftKeyDown().
Report comment to moderator  
Reply With Quote
Unread 04/30/21, 07:26 AM  
Duendy

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: extra option

Originally Posted by Chivana
Done, try it out.
Hey, thx for looking into it so quickly, you're a legend !

I did upload to the new version via Minion. Sadly the option doesn't seem to work for me . When I put "Sprint only" On, it does change the behavior of the base function of the addon, as it doesn't draw weapon when I start moving anymore. But nothing happens when I sprint.

Let me know if there is something i miss or if I can give any extra info that would help.

I do appreciate immensely you looking to make that feature possible, thx again.

Cheers,
Report comment to moderator  
Reply With Quote
Unread 04/30/21, 02:43 AM  
Chivana
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 36
Uploads: 1
Re: extra option

Done, try it out.
Report comment to moderator  
Reply With Quote
Unread 04/29/21, 01:57 AM  
Duendy

Forum posts: 0
File comments: 3
Uploads: 0
extra option

Hello , Great little Addon ! Thanks a lot for putting it together.

I was wandering, would there be a way to make the weapon unsheathe only when sprinting ?
I like my character animation when running slow, but hate it when he sprints ^^.

Since there is an option to sheathe when sprinting, would there be a way to just do the opposite ? No action on normal speed deplacement, but unsheathe when sprinting ?

Thanks !
Report comment to moderator  
Reply With Quote
Unread 03/02/21, 12:10 PM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 211
File comments: 869
Uploads: 0
THANK YOU!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: