View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-05-2021 , 07:02   Re: [L4D & L4D2] Left 4 DHooks Direct (1.61) [05-Oct-2021]
Reply With Quote #485

Code:
1.61 (05-Oct-2021)
    - Added natives "L4D_GetTempHealth" and "L4D_SetTempHealth" to handle Survivors temporary health buffer.
    - Added natives "L4D_PlayMusic" to play a specified music string to a client. Thanks to "DeathChaos25" and "Shadowysn" for "Dynamic Soundtrack Sets" plugin.
    - Added natives "L4D_StopMusic" to stop playing a specified music string to a client. Thanks to "DeathChaos25" and "Shadowysn" for "Dynamic Soundtrack Sets" plugin.
    - Moved the animation ACT_* enums from "include/left4dhooks.inc" to "include/left4dhooks_anim.inc". Suggested by "Accelerator". No plugin changes required.

    - Thanks to "Psyk0tik" for requesting the following forwards and natives and their signatures found here: https://github.com/Psykotikism/L4D1-2_Signatures

    - Added natives:
        - "L4D2_HasConfigurableDifficultySetting" - Returns if there is a configurable difficulty setting.
        - "L4D2_IsGenericCooperativeMode" - Returns if the current game mode is Coop/Realism mode.
        - "L4D_IsCoopMode" - Returns if the current game mode is Coop mode.
        - "L4D2_IsRealismMode" - Returns if the current game mode is Realism mode.
        - "L4D2_IsScavengeMode" - Returns if the current game mode is Scavenge mode.
        - "L4D_IsSurvivalMode" - Returns if the current game mode is Survival mode.
        - "L4D_IsVersusMode" - Returns if the current game mode is Versus mode.

    - Added forwards:
        - "L4D_OnFalling" - Called when a player is falling.
        - "L4D_OnFatalFalling" - Called when a player is falling in a fatal zone.
        - "L4D2_OnPlayerFling" - Called when a player is flung to the ground.
        - "L4D_OnEnterStasis" - Called when a Tank enters stasis mode in Versus mode.
        - "L4D_OnLeaveStasis" - Called when a Tank leaves stasis mode in Versus mode.

    - GameData files, include file and plugins updated.
__________________

Last edited by Silvers; 10-05-2021 at 07:07.
Silvers is offline