You are viewing a potentially older version of this package. View all versions.
Neobotics-MaxAxe-0.2.3 icon

MaxAxe

Throw axes, knives, maces, swords, stones, flaming torches, shields, and tankards. Stack throwable weapons. Frostner returns when thrown.

Date uploaded 2 years ago
Version 0.2.3
Download link Neobotics-MaxAxe-0.2.3.zip
Downloads 1593
Dependency string Neobotics-MaxAxe-0.2.3

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2200 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2200

README

MaxAxe (Throw Things)

Throw Axes, Knives, Maces, Swords, Flaming Torches, Stones, Shields & Tankards. Stack throwing weapons. Frostner returns when thrown!

  • Ever wonder why a Viking's axe (of all things) wouldn't be a weapon of choice? And why you couldn't throw them?
  • Throw Axes, Clubs, Torches, Swords, Knives, and Maces
  • Channel the spirit of Mjolnir; throw Frostner and have it return!
  • Throw Shields! Unsling your round shield and send it spinning at your enemy like Cap.
  • Throw Stones! Whack a Greyling, annoy a Troll, send feathers flying, be a Hobbit.
  • Throw Tankards! Toast your friends, throw back a cold one, then throw your mug.
  • Adds Axe secondary attack on par with other weapons with strong secondary attacks, like maces and swords.
  • Toggle between melee and throwing attacks with a key press.
  • Optionally stack throwable weapons; up to 3 Axes, Clubs or Maces, a 'quiver' of 5 Spears, and a 'sheath' of 10 Knives per slot. (see Caution below)
  • Has a weapon 'finder' to help locate thrown weapons.
  • MaxAxe can automatically equip a backup weapon so you're never fumbling to find another weapon in combat.

New

  • 0.2.3 Fixed bug in multiplayer when another player could 'capture' thrown weapon mid-flight. See multiplayer in notes.

  • 0.2.3 Added configuration setting to throw on release of ThrowOne and ThrowShield keys

  • 0.2.2 Fixed bug preventing certain crafting, introduced in v0.2.0

  • 0.2.1 Compatibility fix for Equipment and Quickslots when picked up thrown weapons get added twice in inventory

  • 0.2.1 Compatibility fix for ValheimPlus modified stack sizes with StackableWeapons true.

  • 0.2.1 Weapon Stones can now be enabled/disabled in-game

  • 0.2.0 Frostner can return to you after throwing (alpha release). See Notes.

  • 0.2.0 Patch to (hopefully) resolve issue with some people reporting intermittent "item spam" when throwing. See Notes.

Configuration

General

  • MeleeAttack: If True, uses the melee secondary attack. Toggle in-game using the ToggleMeleeAttack key.
  • ToggleMeleeAttack: Press this key to toggle in-game between Throw and Melee mode for secondary attacks on enabled one-handed weapons. Default is LeftAlt+B.
  • ThrowOne: Press this key (even in melee mode) to throw the currently equipped weapon (if throwable). Default is T.
  • ThrowShield: Press this key to throw your currently equipped round shield. Default is G.
  • ThrowOnRelease: Set to True to throw when the ThrowOne or ThrowShield keys are released instead of pressed. Default is False.
  • EnableAxes: Set to True to enable secondary melee and throwing attacks for one-handed axes.
  • EnableSpears: Set to True to enable secondary melee attack for spears.
  • EnableKnives: Set to True to enable secondary throwing attack for knives.
  • EnableSwords: Set to True to enable secondary throwing attack for swords.
  • MjolnirMode: Set to True to have Frostner return to your hand after throwing. Default is False.
  • EnableClubs: Set to True to enable secondary throwing attacks for clubs, including maces, Frostner, torches, stones & tankards.
  • EnableShields: Set to true to enable hurling your round shield with the ThrowShield key. Your shield must be equipped.
  • UnderhandShield: Set to True to throw your shield using an underhand throw. Shields must also be enabled. Default is False.
  • WeaponStones: Set to True to equip and attack with stones. Clubs must also be enabled.
  • StackableWeapons: Set to True to allow throwable weapons to stack. See Stackable Weapons below before enabling.
  • AutoMelee: Set to True to automatically switch to melee mode after weapon is thrown (or to prevent throwing the last weapon in a stack).
  • AutoEquip: Set to True to automatically equip another weapon after a throw. Will try to find the same weapon in inventory first.
  • TargetAdjustment: Adjusts the vertical throwing impact point in relation to the target reticle (the +). Default is -7. Vanilla Valheim is 0.
  • WeaponFinder: Type of 'locator' effect added to thrown weapon to make it easier to find. Can be 'Wishbone', 'Autopick' or 'None'. Default is Wishbone.

Utility

  • LogLevel: Controls the level of information in the log.
  • ItemAmountColor: Color of item quantity text in hotbar and inventory. Default is yellow (FFEB04FF). Active only when StackableWeapons is true.
  • ForceSimpleTrail: Forces MaxAxe to use a "simple" trail.

In-game reconfiguration

You can use Configuration Manager (or similar) mod to change the configuration without exiting the game. You can force a configuration update from the chat window (press Enter) then type:

/maxaxe config

You can also change most settings using this syntax:

/maxaxe [setting]=[value] , i.e., /maxaxe enableaxes=true

Note that all the EnableX, StackableWeapons, MjolnirMode and WeaponStones settings are controlled by the server in multiplayer.

Stackable Weapons

READ BEFORE ENABLING STACKABLE WEAPONS

If you set StackableWeapons to 'true', one-handed weaponse will stack in both player and chest inventory.

If you have stacked weapons in your player inventory, you will not be able to turn StackableWeapons 'off' in-game.

Split weapon stacks into individual weapons before you disable StackableWeapons or uninstall MaxAxe

If you have turned off StackableWeapons outside of the game, but still have stacked weapons in your player inventory or nearby chests, MaxAxe will automatically turn StackableWeapons back on, so you don't lose the stacks. Unstack these items before turning off StackableWeapons. The log file will contain a warning indicating which weapon stack was found and if it was in inventory or a chest (but not which chest)

If you have uninstalled MaxAxe and restarted the game but had stacked weapons in chests, you may still be able to re-install MaxAxe and retrieve the stacked weapons.

If the stack was in player inventory, you will need to exit the game, re-install MaxAxe, and copy the player backup (yourCharacter.fch.old) to the current character file before restarting the game again.

Durability With release 0.1.6 stacks of weapons will have durability applied to each weapon in the stack separately (virtually). The durability bar will decrease on the weapon until it breaks. The broken weapon will be removed from the stack, and placed in a separate slot. The durability bar on the 'next' weapon in the stack will be 'full'. If additional weapons of the same type/level break, they will be stacked with existing broken weapons of the same type/level. NOTE If no slot is available for the broken weapon, it will be dropped (but a weapon finder will be added).

When stacking weapons, the following applies:

  • You can split stacks, but the split stack will have the same durability as the source stack.
  • You cannot merge broken weapons into a stack with durability.
  • You cannot merge durable weapons into a broken stack (prevents accidentally 'breaking' good weapons)
  • You can merge durable weapons into a stack with different durability, but the merged stack will use the durability of the lesser.
  • You can merge broken weapons of the same type/level together.
  • If you pick up multiple thrown weapons, the stack will use the durability of the least durable weapon, i.e., the 'current' weapon will be the least durable (except if also using EQS).

Compatibility issues & defects

  • StackableWeapons is not compatible with Epic Loot. If you turn on stackable weapons with Epic Loot, EpicLoot will not be able to create/drop magical One Handed weapons. Existing weapons will continue to work.

  • StackableWeapons may not be compatible with custom one-handed weapon prefabs. Prefabs loaded after weapon stack sizes are adjusted will not stack.

  • If you're using DualWield with StackableWeapons and throw your weapon then pick it up, your weapon will be added to the stack and not re-equipped. You'll need to split the stack into two in order to re-equip your off-hand weapon.

  • If you find a compatibility issue you can post it on NexusMods. Be sure to include the mod name and version you think may be incompatible.

  • If you have a bug please report it on NexusMods. If you do post a bug report, please make sure to include the following:

    • Your version of this mod
    • What you were doing, or attempting to do when it happened
    • If it's repeatable - i.e., can you duplicate it?
    • The exact behavior you observed (or didn't observe)
    • If possible, a capture of the log file with errors (errors always begin with this mod's name)

Notes

  • Multiplayer:

    • If a player clicks on a thrown item in-flight (unlikely but possible if you're a ninja or elf) a thrown weapon can be 'captured' by another player. It will not be 'auto' captured in flight if auto pickup is on.
    • If the attacker has PVP damage enabled, but the target does not, the target may automatically pick up the item after it hits. This is the same behavior as a thrown spear in vanilla Valheim.
  • If using ThrowOnRelease with a multi key combo, both keys must be released at exactly the same time. A single key is recommended.

  • MjolnirMode is rather OP, but it's intended for fun, not roleplay. It only works with Frostner (it's magic, after all). Note that this is still in "alpha" testing. Report issues on Nexus.

    • Try not to throw Frostner into deep water. If you do, you may need to move closer before it returns, and it may take a little time.
  • You cannot upgrade weapons in a stack. Unstack a weapon before upgrading.

  • Torches will remain lit for a short time after being thrown. Toss into dark areas for a bit of light!

  • The spear secondary melee attack uses a powerful spear 'thrust'. Unfortunately the spear is pointed in the wrong direction(!), so this is done with the spear's butt, and therefore delivers Blunt damage!

  • Weapon finders are not persisted between sessions. If you don't pick up a weapon and log off, it will no longer display a finder.

  • Stones are not recoverable. Just pick up another one.

  • Shields deliver attack damage equivalent to their Block damage, but do not factor in Blocking skill to the damage.

  • Thrown (and melee) tankard attacks don't require mead in your inventory.

  • If StackableWeapons is true, all stacked items amount text will appear in the color configured by ItemAmountColor

  • Sorry, but throwing weapon trails and shield rotation/decoration in flight are not visible to other players

  • Shameless plugs for other mods (mirror on Thunderstore):

  • Your comments and feedback are always welcome. Please feel free to post or send a note on NexusMods.

CHANGELOG

Changelog

0.5.6

  • Updated for BogWitch

0.5.5

  • Changed thrown Wisp damage type to be Spirit damage only.
  • Fixed throwing status icon for Wisp and Eitr.
  • Wisp damage revised to Spirit only.
  • Wisp and Eitr damage slightly increased.

0.5.4

  • Fixed issue with vanilla spear (Enable Spears off) and stackable weapons, where thrown 'spear' would actually be multiple spears with the number equal to the current stack.
  • Fixed compatibility issue with Blacksmithing where pre-existing vanilla weapons would not stack properly.

0.5.3

  • Prevented changing throwing mode while already in attack (causing errors)
  • Fixed bug re-slotting weapon in original slot after dragging

0.5.2

  • Changed animations for Pickaxe and Sledge secondary melee and Atgeir throw
  • Added config to prevent throwing at enemies within weapon melee range

0.5.1

  • Fixed issue with turret projectile error

0.5.0

  • Added melee secondary attack for most magic staffs
  • Added global throwing damage modifier
  • Added config for autopickup of thrown weapons

0.4.9

  • Fixed reduced stack limit on Ashlands bombs.

0.4.8

  • Added support for native stackable Basalt bomb and Smokebomb

0.4.7

  • Updated for Ashlands

0.4.6

  • Fixed 'infinite' stamina drain while blocking with Wisp, Eitr or Chicken Egg equipped.

0.4.5

  • Added compatibility with Proper Spears (see Notes below)
  • Fixed issue with Bile Bomb and Ooze Bomb not stacking with stackable weapons off

0.4.4

  • Updated for release 0.217.22

0.4.3

  • Added config to reserve slot for returning weapons to prevent autopickup from filling inventory and preventing a re-equip.
  • Fixed bug where autopickup of non-weapons (Eitr, Wisps, Stones, etc) would be equipped even if disabled.

0.4.2

  • Updated for Hildir's Request
  • Retains throwing skill values even if MaxAxe is uninstalled (and then re-installed)
  • Adds throwing and secondary horizontal melee attack for pickaxes (handy against golems!)