Raised This Month: $344 Target: $400
 86%   Almost there!

[CS:GO] Custom Weapons (v1.0.4 | 4 May 2022)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
KoNLiG
AlliedModders Donor
Join Date: Sep 2020
Location: Israel
Plugin ID:
8044
Plugin Version:
1.0.4
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Provides an API for custom weapons management.
    Old 05-04-2022 , 09:37   [CS:GO] Custom Weapons (v1.0.4 | 4 May 2022)
    Reply With Quote #1

    Custom-Weapons

    Description:
    Provides an API for custom weapons management.


    In-game demonstration:


    Features:

    Quote:
    ◾ Customizable weapon view/world/dropped model.
    ◾ Customizable weapon shot sounds.
    ◾ Provides both model and shot sound hooks, can be used for shop integrations.
    API (customweapons.inc):
    Spoiler


    Change Log:
    Quote:
    4 May, 2022 [1.0.0]
    Initial release.
    Quote:
    6 May, 2022 [1.0.1]
    Validate weapon index to prevent log error.
    Quote:
    4 June, 2022 [1.0.1]
    Validate client index to prevent a log error, removed unnecessary code parts.
    Corrections, suggestions and improvements are welcome!


    Note: The github workflow compiles the source code using the latest 1.11 compiler, which means that 1.10 servers will fail to load this plugin.
    If you're looking to run this plugin on a 1.10 server, you'll have to compile it manually with a compiler that supports 1.10 builds


    GitHub Repository
    Download Via Workflow
    __________________
    For questions/plugin requests contact me:

    Discord: KoNLiG#6417
    Steam: KoNLiG

    Last edited by KoNLiG; 06-04-2022 at 22:22.
    KoNLiG is offline
    bigborther
    Junior Member
    Join Date: Feb 2014
    Location: china
    Old 05-06-2022 , 22:01   Re: [CS:GO] Custom Weapons (v1.0.0 | 4 May 2022)
    Reply With Quote #2

    gunshot sound has been customised, great!
    bigborther is offline
    KaV3R
    New Member
    Join Date: May 2022
    Location: Hungary
    Old 05-07-2022 , 12:25   Re: [CS:GO] Custom Weapons (v1.0.0 | 4 May 2022)
    Reply With Quote #3

    Hi you can help me how i can add custom weapon model in game?
    KaV3R is offline
    KoNLiG
    AlliedModders Donor
    Join Date: Sep 2020
    Location: Israel
    Old 05-07-2022 , 22:37   Re: [CS:GO] Custom Weapons (v1.0.0 | 4 May 2022)
    Reply With Quote #4

    Quote:
    Originally Posted by bigborther View Post
    gunshot sound has been customised, great!


    Quote:
    Originally Posted by KaV3R View Post
    Hi you can help me how i can add custom weapon model in game?
    Code:
    // weapon = weapon entity index
    CustomWeapon custom_weapon = CustomWeapon(weapon);
    if (custom_weapon)
    {
    	custom_weapon.SetModel(CustomWeaponModel_View, "models/...");
    	custom_weapon.SetModel(CustomWeaponModel_World, "models/...");
    	custom_weapon.SetModel(CustomWeaponModel_Dropped, "models/...");
    		
    	custom_weapon.SetShotSound("..."); // file relative to "sound" folder
    }
    __________________
    For questions/plugin requests contact me:

    Discord: KoNLiG#6417
    Steam: KoNLiG
    KoNLiG is offline
    hoyxen
    Member
    Join Date: Mar 2021
    Location: Portugal, Azores
    Old 05-08-2022 , 17:35   Re: [CS:GO] Custom Weapons (v1.0.0 | 4 May 2022)
    Reply With Quote #5

    flag support?
    __________________
    hoyxen is offline
    KoNLiG
    AlliedModders Donor
    Join Date: Sep 2020
    Location: Israel
    Old 05-08-2022 , 23:01   Re: [CS:GO] Custom Weapons (v1.0.0 | 4 May 2022)
    Reply With Quote #6

    Quote:
    Originally Posted by hoyxen View Post
    flag support?
    This is surely possible with the existing API hooks
    __________________
    For questions/plugin requests contact me:

    Discord: KoNLiG#6417
    Steam: KoNLiG
    KoNLiG is offline
    paulo_crash
    AlliedModders Donor
    Join Date: May 2016
    Location: Brazil
    Old 05-14-2022 , 23:21   Re: [CS:GO] Custom Weapons (v1.0.0 | 4 May 2022)
    Reply With Quote #7

    interesting, thanks for sharing.

    Can we expect any plugin to support it?

    In any case, I believe there are already some that may include compatibility with this API, Custom Weapons Menu and others.
    paulo_crash is offline
    incnovikov
    Junior Member
    Join Date: Sep 2020
    Old 08-25-2022 , 18:13   Re: [CS:GO] Custom Weapons (v1.0.4 | 4 May 2022)
    Reply With Quote #8

    fix pls, SM 1.10 stable
    incnovikov is offline
    KoNLiG
    AlliedModders Donor
    Join Date: Sep 2020
    Location: Israel
    Old 09-01-2022 , 12:30   Re: [CS:GO] Custom Weapons (v1.0.4 | 4 May 2022)
    Reply With Quote #9

    Quote:
    Originally Posted by incnovikov View Post
    fix pls, SM 1.10 stable
    You'll have to use a v1.11 compiler or above.
    __________________
    For questions/plugin requests contact me:

    Discord: KoNLiG#6417
    Steam: KoNLiG
    KoNLiG 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 09:37.


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