AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D] Beta Reloading Animations (https://forums.alliedmods.net/showthread.php?t=210916)

Timocop 03-16-2013 03:46

[L4D] Beta Reloading Animations
 
1 Attachment(s)
Left 4 Dead - Beta Reloading Animations
(by Timocop)
This is my first Post, please don't slap me!


Well, nothing to say about that. Here is the .sp/.smx. file.

And here you can see a sexy YouTube Video:
http://youtu.be/66Nidu4IH7A

Be happy, i'm still watching you! :stupid:

PLUGIN CONVARS

Code:

/ [-1 = DISABLED] <The Pickup Reload Layer Sequence>
// -
// Default: "39"
l4dbeta_autoshotgun_pickuplayer "39"

// [-1 = DISABLED] <The Swtich Layer Sequence>
// -
// Default: "39"
l4dbeta_autoshotgun_swtichlayer "39"

// [1/0 BLOCK/DON'T BLOCK] <Shove is blocked while you Reload>
// -
// Default: "0"
l4dbeta_block_shove "0"

// [-1 = DISABLED] <The Empty Reload Layer Sequence>
// -
// Default: "17"
l4dbeta_dpistol_empty_reloadlayer "17"

// [1.0 = DISABLED] <Time to Block the Empty Reload Sequence>
// -
// Default: "1.2"
l4dbeta_dpistol_empty_reloadtime "1.2"

// [-1 = DISABLED | 13 = OTHER] <The Normal Reload Layer Sequence>
// -
// Default: "-1"
l4dbeta_dpistol_normal_reloadlayer "-1"

// [1.0 = DISABLED] <Time to Block the Normal Reload Sequence>
// -
// Default: "0.8"
l4dbeta_dpistol_normal_reloadtime "0.8"

// [-1 = DISABLED] <The Pickup Layer Sequence>
// -
// Default: "5"
l4dbeta_dpistol_pickuplayer "5"

// [-1 = DISABLED] <The Swtich Layer Sequence>
// -
// Default: "9"
l4dbeta_dpistol_swtichlayer "9"

// [-1 = DISABLED] <The Empty Reload Layer Sequence>
// -
// Default: "15"
l4dbeta_huntingrifle_empty_reloadlayer "15"

// [1.0 = DISABLED] <Time to Block the Empty Reload Sequence>
// -
// Default: "1.2"
l4dbeta_huntingrifle_empty_reloadtime "1.2"

// [-1 = DISABLED | 7 = OTHER] <The Normal Reload Layer Sequence>
// -
// Default: "-1"
l4dbeta_huntingrifle_normal_reloadlayer "-1"

// [1.0 = DISABLED] <Time to Block the Normal Reload Sequence>
// -
// Default: "0.9"
l4dbeta_huntingrifle_normal_reloadtime "0.9"

// [-1 = DISABLED] <The Pickup Layer Sequence>
// -
// Default: "5"
l4dbeta_huntingrifle_pickuplayer "5"

// [-1 = DISABLED] <The Swtich Layer Sequence>
// -
// Default: "7"
l4dbeta_huntingrifle_swtichlayer "7"

// [-1 = DISABLED] <The Empty Reload Layer Sequence>
// -
// Default: "9"
l4dbeta_pistol_empty_reloadlayer "9"

// [1.0 = DISABLED] <Time to Block the Empty Reload Sequence>
// -
// Default: "1.2"
l4dbeta_pistol_empty_reloadtime "1.2"

// [-1 = DISABLED | 7 = OTHER] <The Normal Reload Layer Sequence>
// -
// Default: "-1"
l4dbeta_pistol_normal_reloadlayer "-1"

// [1.0 = DISABLED] <Time to Block the Normal Reload Sequence>
// -
// Default: "0.9"
l4dbeta_pistol_normal_reloadtime "0.9"

// [-1 = DISABLED] <The Pickup Layer Sequence>
// -
// Default: "11"
l4dbeta_pistol_pickuplayer "11"

// [-1 = DISABLED] <The Swtich Layer Sequence>
// -
// Default: "15"
l4dbeta_pistol_swtichlayer "15"

// [-1 = DISABLED] <The Pickup Reload Layer Sequence>
// -
// Default: "18"
l4dbeta_pumpshotgun_pickuplayer "18"

// [-1 = DISABLED] <The Swtich Layer Sequence>
// -
// Default: "18"
l4dbeta_pumpshotgun_swtichlayer "18"

// [-1 = DISABLED] <The Empty Reload Layer Sequence>
// -
// Default: "18"
l4dbeta_rifle_empty_reloadlayer "18"

// [1.0 = DISABLED] <Time to Block the Empty Reload Sequence>
// -
// Default: "1.2"
l4dbeta_rifle_empty_reloadtime "1.2"

// [-1 = DISABLED | 16 = OTHER] <The Normal Reload Layer Sequence>
// -
// Default: "-1"
l4dbeta_rifle_normal_reloadlayer "-1"

// [1.0 = DISABLED] <Time to Block the Normal Reload Sequence>
// -
// Default: "1.0"
l4dbeta_rifle_normal_reloadtime "1.0"

// [-1 = DISABLED] <The Pickup Layer Sequence>
// -
// Default: "8"
l4dbeta_rifle_pickuplayer "8"

// [-1 = DISABLED] <The Swtich Layer Sequence>
// -
// Default: "14"
l4dbeta_rifle_swtichlayer "14"

// [-1 = DISABLED] <The Empty Reload Layer Sequence>
// -
// Default: "15"
l4dbeta_smg_empty_reloadlayer "15"

// [1.0 = DISABLED] <Time to Block the Empty Reload Sequence>
// -
// Default: "1.3"
l4dbeta_smg_empty_reloadtime "1.3"

// [-1 = DISABLED | 13 = OTHER] <The Normal Reload Layer Sequence>
// -
// Default: "-1"
l4dbeta_smg_normal_reloadlayer "-1"

// [1.0 = DISABLED] <Time to Block the Normal Reload Sequence>
// -
// Default: "0.7"
l4dbeta_smg_normal_reloadtime "0.7"

// [-1 = DISABLED] <The Pickup Reload Layer Sequence>
// -
// Default: "5"
l4dbeta_smg_pickuplayer "5"

// [-1 = DISABLED] <The Swtich Layer Sequence>
// -
// Default: "9"
l4dbeta_smg_swtichlayer "9"

VERSION CHANGES

Code:

Changes:
2.1 Fixes & Optimization
2.0 Fixes & Advanced Settings (ConVars)
1.2 Added 'Change Weapon' Animation
1.1 Fixes
1.0 Release


Chuckl4d 03-25-2013 02:46

Re: [L4D] Beta Reloading Animations
 
Just awesome!

pisdone 03-26-2013 17:32

Re: [L4D] Beta Reloading Animations
 
This really gives L4D a fresh new style, my friends are quite happy actually, and me too. The only "bad" thing are shotguns (both semi and auto)...why no new animations for them? At least I don't see a different "pickup" or "reloading" animation for shotguns, while the video shows them :P

Timocop 03-26-2013 17:43

Re: [L4D] Beta Reloading Animations
 
Quote:

Originally Posted by pisdone (Post 1920735)
The only "bad" thing are shotguns (both semi and auto)...why no new animations for them? At least I don't see a different "pickup" or "reloading" animation for shotguns, while the video shows them :P

Well, the Shotguns (Pump/Auto) already have the orginal empty reloading animation, i don't need to mod it.

disawar1 03-27-2013 03:20

Re: [L4D] Beta Reloading Animations
 
It's is a good demonstration of where ChangeEdictState native can be used.

disawar1 04-04-2013 12:58

Re: [L4D] Beta Reloading Animations
 
Bug report.
Code:

L 04/04/2013 - 20:32:29: [SM] Native "GetEntProp" reported: Property "m_isDualWielding" not found (entity 217/weapon_pain_pills)
L 04/04/2013 - 20:32:29: [SM] Displaying call stack trace for plugin "l4dbetareloading4.smx":
L 04/04/2013 - 20:32:29: [SM]  [0]  Line 224, l4dbetareloading4.sp::WeaponPickupAnimation()


Marcus101RR 04-05-2013 02:46

Re: [L4D] Beta Reloading Animations
 
Those reload animations should only happen on an EMPTY clip, can you fix that or add a convar?

Timocop 04-05-2013 18:04

Re: [L4D] Beta Reloading Animations
 
Quote:

Originally Posted by Marcus101RR (Post 1926611)
Those reload animations should only happen on an EMPTY clip, can you fix that or add a convar?


Added in 'l4dbetareloading5_advanced.sp'

Marcus101RR 04-06-2013 00:33

Re: [L4D] Beta Reloading Animations
 
Quote:

Originally Posted by Timocop (Post 1927028)
Added in 'l4dbetareloading5_advanced.sp'

Genius sir, award gold star. It also seems you added blocking of extended reloading sequences so that players can only shoot once the gun has been fully cocked. Am I right?

Timocop 04-06-2013 17:51

Re: [L4D] Beta Reloading Animations
 
Quote:

Originally Posted by Marcus101RR (Post 1927172)
Genius sir, award gold star. It also seems you added blocking of extended reloading sequences so that players can only shoot once the gun has been fully cocked. Am I right?

Yes.


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

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