Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2] Left 4 DHooks Direct (1.146) [21-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-07-2021 , 04:09   Re: [L4D & L4D2] Left 4 DHooks Direct (1.50) [22-Jul-2021]
Reply With Quote #401

Quote:
Originally Posted by Tonblader View Post
Left 4 DHooks Direct having trouble recognizing fakebots survivor (sm_fake) animations or sm_anim is not working properly?
I also tried the animations of the Left 4 DHooks Direct plugin with a plugin that I am making, but for some reason it throws me different random values to the animations that should correspond same as sm_anim.
I have tried to identify the animations that the fakebots survivors do with certain actions and it seems that it does not always launch the correct animation value.
sm_anim shows sequence numbers which is different for each model, look in model viewer. Left4DHooks will show the same sequence numbers while ACT_* numbers are the same for all characters, it depends on the anim hook you use. This is documented in the include file and test plugin.
__________________
Silvers is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 08-07-2021 , 04:47   Re: [L4D & L4D2] Left 4 DHooks Direct (1.50) [22-Jul-2021]
Reply With Quote #402

Quote:
Originally Posted by Silvers View Post
sm_anim shows sequence numbers which is different for each model, look in model viewer. Left4DHooks will show the same sequence numbers while ACT_* numbers are the same for all characters, it depends on the anim hook you use. This is documented in the include file and test plugin.
Thanks for the information.
The result that sm_anim currently (default) shows is the sum of the animations made by the character, right?

Edit:
I think I got it, dig better in the model viewer
Note that the animation sequence is different for each survivor model, this must be the reason why the configuration of the plugin that I am doing does not work for me.

Now my question is, how to extract the animation of the survivors when hit by a tank, when they push it or when a charger sends it to fly or an alternative idea.

Edit2: Solved
Spoiler

Last edited by Tonblader; 08-07-2021 at 06:54.
Tonblader is offline
matrixmark
Senior Member
Join Date: Jun 2010
Old 08-09-2021 , 18:12   Re: [L4D & L4D2] Left 4 DHooks Direct (1.50) [22-Jul-2021]
Reply With Quote #403

Hey, not sure if this is related to todays update (l4d1) but I've got this error? showing up

Quote:
L 08/09/2021 - 21:02:10: SourceMod error session started
L 08/09/2021 - 21:02:10: Info (map "l4d_farm01_hilltop") (file "D:\TCAFiles\Users\mark\23406\left4dead\addon s\sourcemod\logs\errors_20210809.log")
L 08/09/2021 - 21:02:10: [left4dhooks.smx] Failed to load "CThrowActivate" signature.
L 08/09/2021 - 21:026: Error log file session closed.
Thanks
__________________


Last edited by matrixmark; 08-09-2021 at 18:15.
matrixmark is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-10-2021 , 10:19   Re: [L4D & L4D2] Left 4 DHooks Direct (1.51) [10-Aug-2021]
Reply With Quote #404

Code:
1.51 (10-Aug-2021)
    - Added natives "L4D_GetCurrentChapter" and "L4D_GetMaxChapters" to get the current and max chapters count. Thanks to "Psyk0tik" for help.
    - L4D1: added natives "L4D_GetVersusMaxCompletionScore" and "L4D_SetVersusMaxCompletionScore" to get/set Versus max score. Thanks to "BHaType" for offsets.
    - L4D1: Fixed broken "CThrowActivate" signature due to the 1.0.4.0 update. Thank to "matrixmark" for reporting.

    - GameData files, include file and plugins updated.
Fixed! Some new stuff also.
__________________
Silvers is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 08-10-2021 , 13:11   Re: [L4D & L4D2] Left 4 DHooks Direct (1.51) [10-Aug-2021]
Reply With Quote #405

Thanks a much!
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Beatles
Senior Member
Join Date: Feb 2014
Old 08-11-2021 , 13:26   Re: [L4D & L4D2] Left 4 DHooks Direct (1.51) [10-Aug-2021]
Reply With Quote #406

Quote:
Originally Posted by Silvers View Post
Code:
1.51 (10-Aug-2021)
    - Added natives "L4D_GetCurrentChapter" and "L4D_GetMaxChapters" to get the current and max chapters count. Thanks to "Psyk0tik" for help.
    - L4D1: added natives "L4D_GetVersusMaxCompletionScore" and "L4D_SetVersusMaxCompletionScore" to get/set Versus max score. Thanks to "BHaType" for offsets.
    - L4D1: Fixed broken "CThrowActivate" signature due to the 1.0.4.0 update. Thank to "matrixmark" for reporting.

    - GameData files, include file and plugins updated.
Fixed! Some new stuff also.
Thank you very much Silver, I am going to test it and I will report anything.

Taking advantage of the fact that I am in this area, is there an equivalent to: L4D_OnHasConfigurableDifficulty?
This for L4D1, so we can change the difficulties in survival and versus.
Beatles is offline
matrixmark
Senior Member
Join Date: Jun 2010
Old 08-11-2021 , 14:36   Re: [L4D & L4D2] Left 4 DHooks Direct (1.51) [10-Aug-2021]
Reply With Quote #407

Quote:
Originally Posted by Silvers View Post
Code:
1.51 (10-Aug-2021)
    - Added natives "L4D_GetCurrentChapter" and "L4D_GetMaxChapters" to get the current and max chapters count. Thanks to "Psyk0tik" for help.
    - L4D1: added natives "L4D_GetVersusMaxCompletionScore" and "L4D_SetVersusMaxCompletionScore" to get/set Versus max score. Thanks to "BHaType" for offsets.
    - L4D1: Fixed broken "CThrowActivate" signature due to the 1.0.4.0 update. Thank to "matrixmark" for reporting.

    - GameData files, include file and plugins updated.
Fixed! Some new stuff also.
Thanks very much
__________________

matrixmark is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 08-11-2021 , 17:12   Re: [L4D & L4D2] Left 4 DHooks Direct (1.51) [10-Aug-2021]
Reply With Quote #408

Thank you for this update Silvers and of course for your continued support.
jking is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-12-2021 , 17:26   Re: [L4D & L4D2] Left 4 DHooks Direct (1.51) [10-Aug-2021]
Reply With Quote #409

Quote:
Originally Posted by Beatles View Post
Thank you very much Silver, I am going to test it and I will report anything.

Taking advantage of the fact that I am in this area, is there an equivalent to: L4D_OnHasConfigurableDifficulty?
This for L4D1, so we can change the difficulties in survival and versus.
No this doesn't exist in L4D1 and I don't think theres anything similar. You could hook mp_gamemode and on versus/survival set z_difficulty. Don't know if that's what you're looking for.
__________________
Silvers is offline
Beatles
Senior Member
Join Date: Feb 2014
Old 08-14-2021 , 00:25   Re: [L4D & L4D2] Left 4 DHooks Direct (1.51) [10-Aug-2021]
Reply With Quote #410

Quote:
Originally Posted by Silvers View Post
No this doesn't exist in L4D1 and I don't think theres anything similar. You could hook mp_gamemode and on versus/survival set z_difficulty. Don't know if that's what you're looking for.
Is there any other way to change the difficulty in cooperative ?, I say this because for a long time on my server the z_difficulty does not work, when I use that cvar everything appears as if it had changed to a new difficulty, that is, the notification appears in the chat, but when pressing the TAB key, the difficulty is exactly the same, it has not changed, I do not know why, but I have been looking for a force difficulty for some time, so change the difficulty through some other method than the z_difficulty.
Beatles is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode