Garry's Mod

Garry's Mod

Improved Crossbow Bolt
Showing 1-10 of 35 entries
< 1  2  3  4 >
Update: Aug 28 @ 7:02am

  • By editing the new 'improved_crossbowbolt_elasticity' ConVar, the impact angle at which bolts ricochet can now be changed
  • The player/NPC/NextBot collision trace result correctly reports the HitBoxBone ID and the Contents and Surface bitflags

Update: Apr 17 @ 7:53am

  • Completely overhauled the inner workings of the addon to improve performance and increase compatibility with addons and scripts that use 'crossbow_bolt' entities
  • Introduced the hip-fire option that moves the launching position of a bolt from the shooter's eyes to the equipped crossbow and is toggleable via the 'improved_crossbowbolt_hipfire' ConVar
  • Bolts are affected by the world's gravity and for this reason, the gravity option is now a multiplier and its ConVar has been renamed to 'improved_crossbowbolt_gravitymul'
  • Underwater speed penalty is less severe, but the speed treshold over which the slowdown takes effect has been lowered
  • Toggling the trajectory preview will display a quick notification, including a warning when certain server options that have a negative impact on the result are enabled
  • Underwater bubbles are now animated, vibrating slightly as they float
  • Added two new buttons to the sliders of the options menu: one resets the slider to its default value, the other, where available, sets it to the value used by Half-Life 2
  • Fixed a regression with flying crossbow bolts not glowing
  • Corrected a small inaccuracy of the clientside trajectory preview when shooting through breakable glass
  • Fixed excessive 'InvalidateLayout' hook calls by the addon's options menu window
  • Addressed harmless console warnings regarding a missing material and uninitialized physics, they no longer appear
  • Fixed a bug with both serverside and clientside ragdolls being able to be pinned to the sky

Update: Mar 8 @ 9:05am

  • Introduced shot inaccuracy, customizable via the new ConVar 'improved_crossbowbolt_spread'

Update: Jan 3 @ 3:19am

  • Fixed a lua error when sticking a bolt prop to an entity that either has no model or its skeleton has an invalid bone at index 1

Update: Aug 20, 2024 @ 9:11am

  • Code has been simplified by taking advantage of the new features introduced in the July 2024 update, resulting in small performance improvements
  • Ragdolls are pinned more accurately, reducing glitchy-looking geometry overlaps with the entity they are stuck to
  • Fixed a bug with ragdolls being unable to be pinned to solid entities bullets can pass through, like metal fences and grates

Update: Jun 27, 2024 @ 2:00am

  • Added the option to visualize a preview of the trajectory of crossbow bolts, toggleable via the newly introduced 'improved_crossbowbolt_preview' ConCommand
  • Fixed a bug with bolts no longer dealing damage after breaking and passing through entities made out of glass
  • Restored the ability to reset GUI sliders to their default value via middle mouse button (it was removed in the Dev branch of GMod)

Update: May 17, 2024 @ 1:19am

  • Added a new ConCommand, 'improved_crossbowbolt_menu', that opens up the addon's configuration options window (even outside of Sandbox gamemode)
  • Fixed a bug with an addon file not being sent to clients, causing a 'File not found or empty' error

Update: Apr 13, 2024 @ 6:26am

  • Damage can now be scaled depending on the target's body part hit (the damage multipliers are set by the active gamemode). This usually means more damage on headshots and less on limb-shots. This optional feature is controlled by the newly introduced 'improved_crossbowbolt_hitgroupdmg' ConVar
  • Bolts will spawn more reliably at the shooting position. This is a more robust fix for the issue that was addressed in the previous update
  • An entity that is no longer solid will have all bolts stuck to it removed. This fixes some visual glitches involving floating bolts, including one happening when picking up a weapon that has bolts stuck to it
TTT specific improvements, for the people that have addons capable of spawning crossbow bolts in that gamemode:
  • Better interactions with player corpses: ragdoll support is now feature-complete
  • Just like thrown knives, crossbow bolts are recognized as projectile weapons: they now appear on corpse searches as the murder weapon
  • Because of the above feature, a custom-made gui icon has been added

Update: Apr 7, 2024 @ 6:59am

  • Bolt replacement code is more mindful of server lag, fixes a collision bug with entities close to the shooter

Update: Apr 3, 2024 @ 10:40am

  • Fixed a lua error with bolts that have no owner entity set