Nukem9 / LinkerMod

Enhancements for Black Ops' modtools
114 stars 32 forks source link

Add new GSC functions #42

Open Jbleezy opened 6 years ago

Jbleezy commented 6 years ago

The following functions would be great to have in BO1: GetMoveSpeedScale() WeaponReloadEndTime() (WeaponReloadTime() gets the weapon reload add time, the time when the ammo gets added to the clip) IsReloading() ActionSlotOneButtonPressed() ActionSlotTwoButtonPressed() (fix) ActionSlotThreeButtonPressed() ActionSlotFourButtonPressed() WeaponSwitchButtonPressed()

EDIT: Removed functions which are actually in the game already

SE2Dev commented 6 years ago

The following functions are already present:

Of the functions you mentioned, the only one's that aren't already present are the following:

Jbleezy commented 6 years ago

Okay I just tried them out, you're right.

Except ActionSlotTwoButtonPressed() is a bit buggy, it doesn't get notifies every time and it only gets notified the first time you press it. All the other ones will be true if you hold the button but not this one.