- New wikis
- New placeholder system (See changes)
- New Lightning Mechanic
- New Damage Mechanic
- New Mythic Skill Mechanic
- This gives you endless possibilities!
- Fixed gravity/drag not applying on the first tick
- Fixed Through not using decimal values
- Add Consume_On_Use
- Add WeaponStopShootingEvent
- Major performance boosts with Mechanics
- Spread Images can now be used with other spread features
- Reload section is now optional (To allow infinite weapon shooting)
Weapons from older versions of WeaponMechanics will need to be updated. The easiest way to update is to delete your old config and let WM 3.0.0 reinstall its own config.
The biggest change is to Ammo, which now uses a simplified system. Updates will come soon to improve error checking, but here is the gist:
Code (YAML):
# This goes inside of the ammo folder
Rocket:
Item_Ammo:
Bullet_Item:
Type
: TNT
# Custom_Model_Data: 2 # Use custom model data if you want to use a custom texture for the ammo
Name
:
"<red>Rocket"
Lore
:
-
"<gray>High yield explosive ammo to load into a rocket launcher."
# This goes inside your weapon
Reload:
Trigger:
Main_Hand
:
"DROP_ITEM"
Off_Hand
:
"DROP_ITEM"
Magazine_Size
: 1
Reload_Duration
: 71
Ammo:
Ammos
:
- Rocket