Raised This Month: $32 Target: $400
 8% 

Quick-switch Reload v1.0 (AMXX 1.8 Compatible)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 04-03-2024 , 00:51   Quick-switch Reload v1.0 (AMXX 1.8 Compatible)
Reply With Quote #1

  • Description
    Quick-switching as soon as the magazine hits the well will reload the weapon just like in CS 2
  • Install
    Click `Get Plugin`
  • Notes
    Majority of code is taken from forum posts
    The time that it takes the reload animation to stop at the exact position when the magazine is fully in is calculated using Model Viewer.
    The current frame is divided by FPS to get precise time
  • Image
    https://imgur.com/a/xmdFtrB
    https://imgur.com/a/SjfunlY
Attached Files
File Type: sma Get Plugin or Get Source (quickswitch_reload.sma - 52 views - 4.3 KB)
__________________

Last edited by bigdaddy424; 04-04-2024 at 10:51.
bigdaddy424 is offline
WATCH_D0GS UNITED
Senior Member
Join Date: Jan 2023
Old 04-03-2024 , 19:57   Re: Quick-switch Reload v1.0 (AMXX 1.8 Compatible)
Reply With Quote #2

Nice plugin, as well as the whole code.

Only thing is ->

Spoiler
__________________
💻Know Our New Blog👄
🔗tube2downs.blogspot.com
WATCH_D0GS UNITED is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 04-04-2024 , 10:51   Re: Quick-switch Reload v1.0 (AMXX 1.8 Compatible)
Reply With Quote #3

Fixed, thanks for noticing
__________________
bigdaddy424 is offline
WATCH_D0GS UNITED
Senior Member
Join Date: Jan 2023
Old 04-12-2024 , 15:50   Re: Quick-switch Reload v1.0 (AMXX 1.8 Compatible)
Reply With Quote #4

What about making it more similar to CS 2

-> Send a CurWeapon message in the moment the (<weapon>_clipin.wav | MDL_ANIMATION) occurs along with cs_set_user_bpammo.
__________________
💻Know Our New Blog👄
🔗tube2downs.blogspot.com
WATCH_D0GS UNITED is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 04-12-2024 , 23:19   Re: Quick-switch Reload v1.0 (AMXX 1.8 Compatible)
Reply With Quote #5

im unable to catch <weapon>_clipin.wav using FM_EmitSound
__________________
bigdaddy424 is offline
Reply


Thread Tools
Display Modes

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 08:37.


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