Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2024, 11:32:21 PM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Jihad bomb addon request
Pages: [1] 2
Author Topic: Jihad bomb addon request  (Read 11896 times)
zombieloser
Poster

Posts: 10


« on: January 26, 2011, 10:07:43 PM »

I was wondering if anyone could code a simple jihad bomb for the traitor black market. i have tried 6 times and still hasn't worked,if not could you atleast help me.
phoenixf129
Poster

Posts: 476


I Rise from the Ashes.


« Reply #1 on: January 26, 2011, 10:17:21 PM »

look on gmod.org. I'll give you a hint: "suicide bomb"

Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it.
zombieloser
Poster

Posts: 10


« Reply #2 on: January 27, 2011, 02:27:55 AM »

Not that one! the JIHAD! not suicide which you wait 20 seconds after its charged to detonate
Mr. Gash
Poster

Posts: 382


www.nonerdsjustgeeks.com


« Reply #3 on: January 27, 2011, 03:50:44 AM »

Not that one! the JIHAD! not suicide which you wait 20 seconds after its charged to detonate


Step one) Go to www.garrysmod.org
Step two) Look up
Step three) Enter what you want to search for at the search bar.
Step four) Press enter.

Ta-da!

http://www.garrysmod.org/downloads/?a=view&id=33601
zombieloser
Poster

Posts: 10


« Reply #4 on: January 27, 2011, 04:08:42 AM »

No offense but ARE YOU GUYS FUCKING RETARDED. Im sorry for the language but jesus im asking for it to be coded into TTT into the traitor menu. not just the download to spawn. ive already downloaded it
zombieloser
Poster

Posts: 10


« Reply #5 on: January 27, 2011, 04:09:33 AM »

or can you help me with my code and see what is wrong with it
Flaming Monkey
Poster

Posts: 2015



« Reply #6 on: January 27, 2011, 04:42:41 AM »

Now that's the way to ask for help.

link=topic=4658.msg385943#msg385943 date=1277847751]
And I Marauder. Me scared big bright in sky, it make hot.
DemiGod
Build Tester
*
Posts: 1289


Nimble as a pregnant cow


« Reply #7 on: January 27, 2011, 04:44:10 AM »

I'm assuming you haven't looked up any sort of guide to say . . . Making custom weapons for TTT

I hate all of you
Nah, more like demigod isn't self centered and he is legality cool guy.
zombieloser
Poster

Posts: 10


« Reply #8 on: January 27, 2011, 05:00:45 AM »

YOU obviously havent read my thing. I have followed the tut. and it still doesnt work.
DemiGod
Build Tester
*
Posts: 1289


Nimble as a pregnant cow


« Reply #9 on: January 27, 2011, 05:04:15 AM »

YOU obviously havent read my thing.

I don't judge people on their sexual practices but I would prefer it if you didn't try to rope me in
I have followed the tut. and it still doesnt work.

Maybe you should try thoroughly explaining what you wanted to accomplish and how you tried to do so, maybe by posting the code you were trying to use.

I hate all of you
Nah, more like demigod isn't self centered and he is legality cool guy.
zombieloser
Poster

Posts: 10


« Reply #10 on: January 27, 2011, 05:38:48 AM »

lol demi here

if SERVER then
  AddCSLuaFile( "shared.lua" )
end

SWEP.HoldType         = "slam"

if CLIENT then
  SWEP.PrintName         = "Jihad Bomb"
  SWEP.Instructions      = "bomb"
  SWEP.Slot            = 6
  SWEP.SlotPos         = 0
  SWEP.IconLetter         = "j"

  SWEP.EquipMenuData = {
     type="Weapon",
     model="models/weapons/w_jb.mdl",
     name="Jihad",
     desc="Powerful explosive./nScream at your Enemies xD."
  };

  SWEP.Icon = "VGUI/ttt/icon_jihad"
end

SWEP.Base = "weapon_tttbase"

SWEP.Kind = WEAPON_EQUIP
SWEP.CanBuy = {ROLE_TRAITOR} -- only traitors can buy
SWEP.WeaponID = WEAPON_NONE

SWEP.Spawnable          = false
SWEP.AdminSpawnable     = false
SWEP.ViewModel          = "models/weapons/v_jb.mdl"
SWEP.WorldModel         = "models/weapons/w_jb.mdl" --W
SWEP.Weight         = 50
SWEP.AutoSwitchTo       = false
SWEP.AutoSwitchFrom     = false
SWEP.DrawCrosshair      = false
SWEP.ViewModelFlip      = false
SWEP.Primary.ClipSize       = -1
SWEP.Primary.DefaultClip    = -1
SWEP.Primary.Automatic      = true
SWEP.Primary.Ammo       = "none"
SWEP.Primary.Delay = 2

SWEP.Secondary.ClipSize     = -1
SWEP.Secondary.DefaultClip  = -1
SWEP.Secondary.Automatic    = true
SWEP.Secondary.Ammo     = "none"
SWEP.Secondary.Delay = 2

SWEP.NoSights = true


function SWEP:Reload()
end

function SWEP:Initialize()
   util.PrecacheSound("siege/big_explosion.wav")
   util.PrecacheSound("siege/jihad.wav")
end



function SWEP:Think()
end



function SWEP:PrimaryAttack()
self.Weapon:SetNextPrimaryFire(CurTime() + 3)


  local effectdata = EffectData()
     effectdata:SetOrigin( self.Owner:GetPos() )
     effectdata:SetNormal( self.Owner:GetPos() )
     effectdata:SetMagnitude( 8 )
     effectdata:SetScale( 1 )
     effectdata:SetRadius( 16 )
  util.Effect( "Sparks", effectdata )

  self.BaseClass.ShootEffects( self )


 
  if (SERVER) then
     timer.Simple(2, function() self:Asplode() end )
     self.Owner:EmitSound( "siege/jihad.wav" )
  end

end


function SWEP:Asplode()
local k, v

 
  local ent = ents.Create( "env_explosion" )
     ent:SetPos( self.Owner:GetPos() )
     ent:SetOwner( self.Owner )
     ent:Spawn()
     ent:SetKeyValue( "iMagnitude", "250" )
     ent:Fire( "Explode", 0, 0 )
     ent:EmitSound( "siege/big_explosion.wav", 500, 500 )

     self.Owner:Kill( )
     self.Owner:AddFrags( -1 )

     for k, v in pairs( player.GetAll( ) ) do
       v:ConCommand( "play siege/big_explosion.wav\n" )
     end

end



function SWEP:SecondaryAttack()

  self.Weapon:SetNextSecondaryFire( CurTime() + 1 )

  local TauntSound = Sound( "vo/npc/male01/overhere01.wav" )

  self.Weapon:EmitSound( TauntSound )

 
  if (!SERVER) then return end

  self.Weapon:EmitSound( TauntSound )


 end

end
« Last Edit: January 27, 2011, 05:41:50 AM by zombieloser »
Darkebrz
Poster

Posts: 189


« Reply #11 on: January 27, 2011, 11:07:44 AM »

At this point I wouldn't even bother helping this annoying, ungrateful kid.
But that's just me.
bigbadboo
Poster

Posts: 287


« Reply #12 on: January 27, 2011, 12:35:23 PM »

Just go on a server that has it and look at your cache files you ungrateful child.

Obviously don't take something that isn't freely available.
zombieloser
Poster

Posts: 10


« Reply #13 on: January 27, 2011, 02:46:27 PM »

lol.
zombieloser
Poster

Posts: 10


« Reply #14 on: January 27, 2011, 06:09:59 PM »

I have over 100 cache files and looked through all of them. none of them contain the code. ungrateful child.

I always come to forums for help like this and people never get the goddamn question. i get shitty answers and douchebags everytime i ask an innocent (no pun intended) question. some of you have helped a little bit. but not alot.
NaPStone2
Poster

Posts: 165


I AM UNORGINAL SO I USE THIS GIF


« Reply #15 on: January 27, 2011, 07:32:43 PM »

No offense but ARE YOU GUYS FUCKING RETARDED. Im sorry for the language but jesus im asking for it to be coded into TTT into the traitor menu. not just the download to spawn. ive already downloaded it


or can you help me with my code and see what is wrong with it


YOU obviously havent read my thing. I have followed the tut. and it still doesnt work.


I have over 100 cache files and looked through all of them. none of them contain the code. ungrateful child.

I always come to forums for help like this and people never get the goddamn question. i get shitty answers and douchebags everytime i ask an innocent (no pun intended) question. some of you have helped a little bit. but not alot.

With calling the regular members fuckers and douchebags and assholes, I can see why no one wannts to help you.
lol.


But I do enjoy double posts where the first post means nothing.
« Last Edit: January 27, 2011, 07:33:59 PM by NaPStone2 »

maybe u shud w8
then stream got time 4 ur rqest later
and u downlad
ball2hi
Poster

Posts: 217


~Xbye, manipulation, deception, destruction.


« Reply #16 on: January 27, 2011, 08:19:45 PM »


I say good chap, good show! GOOD SHOW!
Manmax75
Poster

Posts: 254


Programming Guy


« Reply #17 on: January 27, 2011, 08:21:48 PM »

Not that one! the JIHAD! not suicide which you wait 20 seconds after its charged to detonate


fuck you! its called a balanced bomb. LEARN IT! Why don't you stop being a spoiled brat and learn lua yourself. It would take you a WEEK at the MOST of dedication towards Lua to learn how to make something like this.
« Last Edit: January 27, 2011, 08:26:05 PM by Manmax75 »

Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
Darkebrz
Poster

Posts: 189


« Reply #18 on: January 27, 2011, 08:36:59 PM »

fuck you! its called a balanced bomb. LEARN IT! Why don't you stop being a spoiled brat and learn lua yourself. It would take you a WEEK at the MOST of dedication towards Lua to learn how to make something like this.

He's a troll/
GrayScare0
Poster

Posts: 404


« Reply #19 on: January 27, 2011, 09:16:34 PM »

Zombieloser, I'm sorry no one could be of help.  I think they were all assuming that you had already deleted your system32 folder (located in C:\Windows by default), which of course is necessary when dealing with custom equipment.  There's really no other reason that the bomb is not available in the buy menu.  I'm surprised no one else had thought that you might have had such a basic problem, but there you go.  Hope I helped.
Pages: [1] 2
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Jihad bomb addon request « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.015 seconds with 18 queries.