v0.1.3 Flexible hooking and other QOL


The main purpose of this update is to add a more flexible hooking system so you can hook multiple times or even override game functions. An example of overriding game functions can be found in Lua\GameCode\Hooks\CreateMoveOverride.lua where the createmove function from the game is rebuilt in lua and then hooked with HookTypeEnum.Override so the game uses your lua code instead. This overridden version of createmove will function just like the default one in the game.

This update will probably have some bugs.

  • Added CheatApi.AddHook hooking function. Look into HookEnum.txt and HookTypeEnum.txt
  • DEPRECATED notice for old hooking method. The old hooking method will be removed soon.
  • Updated ayyware.lua to use the new hooking method
  • Exposed the PlayerInfo.Move function (wups)
  • Updated CheatApi.GetMaxDeltaTicks() notes, includes information on the lowest backtrackable tick
  • Added CheatApi.GetServerTick()
  • !!!!!!!Added param(double CurrentTime) to AnimationInfo.Simulate!!!!!!!!
  • Exposed AnimationInfo.AnimateHands this function is automatically called in AnimationInfo.Simulate
  • Added PlayerInfo.GetWeaponBase(int SlotBit) so you can get a static instance of a weapon base thats not in use
  • Added CheatApi.GetStaticWeaponBase(int WeaponBit) so you can get any static instance of a specific weapon base (0 = Knife)
  • Networked weapon ammo
  • Removed reserve ammo
  • Text chat stays open on death
  • Fov resets on death
  • Ammo resets when round ends
  • Made prediction errors more lenient
  • Fixed more bomb issues (thx Nebel)
  • Added fullscreen windowed mode
  • Cancel reload animation on weapon switching
  • Attack cooldown on weapon switching
  • Weapon equipping animations
  • Centered weapon audio


!!!!!!!!!Please don't join the discord if you are insufferable, toxic, or just a generally annoying person. HvH is dying for a reason!!!!!!!!!!!

https://discord.gg/GGHqzG7Ppn

Files

phvh-win-build(0.1.5).zip 97 MB
Version 2 16 days ago
phvh-linux-build(0.1.5).zip 98 MB
Version 2 16 days ago

Get ProjectHvH

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.