How To Add Custom Weapons (SWEPS) To The TRAITOR/DETECTIVE Menu & Create Custom VTF Icons

Channel:
Subscribers:
2,390
Published on ● Video Link: https://www.youtube.com/watch?v=4O3PwFv7O9Q



Garry's Mod
Game:
Category:
Tutorial
Duration: 11:44
34,324 views
198


In this video, i explain how to take a custom weapon (SWEP) and apply it to the Traitor Menu for TTT. I use an epic chainsaw swep as the example and show how to make a simple photoshop image into a vtf icon format.

My Channel: http://www.youtube.com/theslammer92
My Twitter: http://www.twitter.com/slammy92

Chainsaw SWEP:
http://steamcommunity.com/sharedfiles/filedetails/?id=112550250

VTFeditor:
https://developer.valvesoftware.com/wiki/VTFEdit

GmodConverter:
http://www.4shared.com/file/U6CfLOEv/gmadconv.html

Lua Code:

//TTT Convertion Code \\

SWEP.Base = "weapon_tttbase"
SWEP.Kind = WEAPON_EQUIP1
SWEP.CanBuy = { ROLE_TRAITOR }
SWEP.AutoSpawnable = false
SWEP.InLoadoutFor = nil
SWEP.AllowDrop = true
SWEP.IsSilent = false
SWEP.NoSights = false

if CLIENT then
-- Path to the icon material
SWEP.Icon = "VGUI/ttt/troll"

-- Text shown in the equip menu
SWEP.EquipMenuData = {
type = "Chainsaw",
desc = "Rip those Innocent's Appart!"
};
end

if SERVER then
resource.AddFile("materials/VGUI/ttt/troll.vmt")
end

//TTT Convertion Code \\




Other Videos By SlamJam


2015-11-15EPIC SHOTS [NBA 2K15 Memories]
2014-04-06PHANTOM TRAINEE UNLOCKED!!! LEGIT!!! (Battlefield 4)
2013-12-12How To Unlock "PHANTOM PROSPECT" Premium Assignment Dogtag [Phase 1] (Battlefield 4)
2013-11-18★☆★ BEST ELECTRO HOUSE REMIX NOVEMBER 2013 [DJ Slammy] ★☆★
2013-11-11COD Ghost - COLOURED CLANTAG [PS3 & Xbox]
2013-10-02GTA V KNOCKOUT COMPILATION - FRANKLIN (POW - By Lethal Bizzle) [PS3]
2013-09-29Grand Theft Auto V - How To Get $999,999,999!!! [Generator] (No Survey)
2013-09-02PAYDAY 2 - "They See me Baggin, They Hatin" Trophy Guide FASTEST/EASIEST WAY!!! [PS3/PC/Xbox]
2013-08-06How To Use TTT Weapon Placer on a TTT Server [Gmod]
2013-07-24How To Add Player Models To POINTSHOP on a TTT Server (SteamCMD) [Gmod]
2013-07-10How To Add Custom Weapons (SWEPS) To The TRAITOR/DETECTIVE Menu & Create Custom VTF Icons
2013-07-08How To Convert/Add CUSTOM WEAPONS To A TTT Server [Gmod]
2013-06-04How To Get *NEW* Camos (Cyborg & Dragon) and *Coloured* Classes using iHc Class Tool [PATCHED!!!]
2013-04-23How To Show/Import Photos/Videos/Music From iPhone/iPod/iPad to PS3/XBOX using iMediaShare App
2013-04-22MADubstep Logo Speedart [Black Ops 2 Emblem]
2013-04-08BF3 Funny Moments - Dirt Bike Episode
2013-04-02Black Ops 2 - DEATH MACHINE & GRAFFITI CAMO GLITCH/HACK [Confused Lobby Patch 1.07 PS3]
2013-03-26BRILLIANT MOMENT FOR C4!
2013-03-08Tips on How To be a PRO on Air Superiority (BF3, End Game DLC)
2013-02-12How To Fix Sticky Analogs and Random Button Presses on a PS3 Controller [Dis-assemble/Re-assemble]
2012-10-09FUN WITH iSKETCH :D



Tags:
garrysmod
GMOD
gmod
TTT
server
trouble in terrorist town
custom weapons
sweps
weps
weapons
sandbox
tutorial
help
how to
trails
vtfedit
pointshop
ulx
ammo
laser mini gun
death machine
maps
weapon_tttbase
traitor menu
menu
detective
client
lua
code
chainsaw
lordianders
steam community
l4d
Mod



Other Statistics

Garry's Mod Statistics For SlamJam

At present, SlamJam has 207,843 views spread across 4 videos for Garry's Mod, and less than an hour worth of Garry's Mod videos were uploaded to his channel. This is less than 0.37% of the total video content that SlamJam has uploaded to YouTube.