Raised This Month: $ Target: $400
 0% 

[TF2 Request] Weapon Blender


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-06-2023 , 15:32   Re: [TF2 Request] Weapon Blender
Reply With Quote #2

Yes.

Consider using either the [TF2Items] Give Weapon plugin by FlaminSarge (https://forums.alliedmods.net/showthread.php?p=1337899) or the [TF2] Gimme plugin by me (https://forums.alliedmods.net/showthread.php?t=335644). Both plugins support the creation of weapons with custom stats.

1. Install either plugin with their requisite dependencies.
2. Use the attribute wiki page to determine which attributes to add to your new weapons. Link: https://wiki.teamfortress.com/wiki/L...tem_attributes
3. Add or edit the /sourcemod/config/tf2items.givecustom.txt file to include your custom weapons. Both plugins use this format. It should look something like this:
PHP Code:
"custom_give_weapons_vlolz"
{
    
"9999"
    
{
        
"classname"        "tf_weapon_rocketlauncher"
        "index"        "228"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "134 ; 19"
        "ammo"        "20"
    
}
    
"1304"
    
{
        
"classname"        "tf_weapon_knife"
        "index"        "225"
        "slot"        "2"
        "quality"        "6"
        "level"        "2"
        "attribs"        "215 ; 9999.0 ; 1 ; 0.5"
        "ammo"        "-1"
    
}

4. To receive the item you created just use the appropriate command (depends on which plugin you installed), like !gimme 9999 or !giveitem (target) 1304

I should note that the same process is used to create cosmetics with custom stats. Just use tf_wearable as the classname, slot 8 and ammo of -1.

Last edited by PC Gamer; 05-06-2023 at 15:36.
PC Gamer 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 21:05.


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