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

SideWeapons v0.2 (New BackWeapons) [CS/CZ] {1 Sep 2022}


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
SoulWeaver16
Senior Member
Join Date: May 2021
Location: Uruguay
Old 08-29-2022 , 19:39   SideWeapons v0.2 (New BackWeapons) [CS/CZ] {1 Sep 2022}
Reply With Quote #1

Description:
Just like BackWeapons 0.0.6 works, this plugin works as an update, adding the pistols, grenades and knife to the code.

Requirements:
  • AmxModX 1.8+
  • Models


Instructions:
  1. Download the required files [v0.1]:[CS Models][CZ Models]
  2. Compile plugins locally.
  3. Put the models in: "models/"
    Ex: models/sideweapons3.mdl
    models/backweapons2_ns.mdl (Optional)
  4. Put in plugin.ini:
    SideWeapon_no_knife.amxx
    backweapon3.amxx (Optional)


Future things:
- Implement the BackWeapons plugin in code to use a single model.
- Cvars to control with or without silencer, whether to show or not, primary, secondary, grenade or knife weapons.

Change-Log:
  • * 0.2 - 9/1/22
    - Fixed the location of the pistols, moving from the leg to the waist, to prevent it from going unnoticed.
    - Added the knife and grenades.
    Requirements:
  • * 0.1 - 8/29/22
    - First release. Waiting for feedback. It was done quickly.
    Click image for larger version

Name:	de_dust2_cz0003.jpg
Views:	471
Size:	38.2 KB
ID:	196566Click image for larger version

Name:	de_dust2_cz0004.jpg
Views:	339
Size:	40.7 KB
ID:	196567
    Click image for larger version

Name:	de_dust2_cz0000.jpg
Views:	437
Size:	32.5 KB
ID:	196568Click image for larger version

Name:	de_dust2_cz0002.jpg
Views:	332
Size:	27.7 KB
ID:	196569

Cvars [BackWeapon plugin]:
  • bw_model <#> // Model to use.
    Default: "models/backweapons2.mdl"
  • bw_nosil <#> // Use nosil or not, only models backweapons2_ns.mdl and backweapons2_cz_ns.mdl supported.
    Default: "1"
  • bw_maxweapons <#> // Max weapons you can see in a player's back (in case your server allow multiple weapons).
    Default: "1"

Notes v0.2:
  • Bug: Model animations are speed up.
    Spoiler
  • Bug: Buying a pistol with the knife in hand, having _cl_autowepswitch 1, will have the gun in hand and on the back, but changing weapons fixes it.
  • You can disable 3rd person by changing the code:
    #define TEST_3RD -> //#define TEST_3RD

Credits:
Any contribution of code or ideas that you want to contribute, is welcome.
Attached Files
File Type: sma Get Plugin or Get Source (SideWeapon_no_knife.sma - 344 views - 4.4 KB)
File Type: sma Get Plugin or Get Source (SideWeapons0.2.sma - 537 views - 4.7 KB)

Last edited by SoulWeaver16; 05-11-2023 at 13:19.
SoulWeaver16 is offline
 


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 16:59.


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