• GDCW Weapons
    1,394 replies, posted
  • Avatar of Generic Default
  • I switched to that a few months ago in the SVN version. The download from garrysmod.org still has the old damage system, though.
  • Avatar of Killer_Steel
  • Then it's strange that it still does explosive damage when you're next to the player. The ifs make sense, so why is it running both situations? Blast damage is run SOMEWHERE in the entity code, unchecked by the player-hit if, so where could it be?
  • Avatar of Generic Default
  • [QUOTE=Killer_Steel;26632393]Then it's strange that it still does explosive damage when you're next to the player. The ifs make sense, so why is it running both situations? Blast damage is run SOMEWHERE in the entity code, unchecked by the player-hit if, so where could it be?[/QUOTE] Hmm, if it hits a player or NPC it only does bullet damage; if it hits a prop or the world it only does blast damage. If you kill the player or NPC and the bullet hits or goes through the rag doll, then it will do blast damage since the rag doll isn't a player or NPC.
  • Avatar of Killer_Steel
  • Yeah, found it. You were right, it's when you kill them that the bullet does blast damage. Anyway to make fix this?
  • Avatar of Generic Default
  • Turn off physical rag dolls(it's actually my fault that it's on, just go to utilities). If it still does it, it's Garry's fault.
  • Avatar of matt1201
  • I'm having a slight issue with this weapon pack. The weapons work perfectly and amazingly, but when i use npc battlemod to clean up the weapons they wont disappear any other sweps i have will disappear. Anyone know how to fix this?
  • Avatar of Heydshaut
  • [QUOTE=Generic Default;26508631]But even when I do it on my own server with a ping of about 5 it still spawns 1/10th of a second late. And here are the pistols in the pistol pack so far; Desert Eagle Fiveseven Uzi Glock 18 M9 M1911 P228 About half of these have world model problems with textures or size, which is delaying me. EDIT; Oh and one more thing. For about a month now I've been seeing error textures and models for CSS stuff, which means it's not working right. I checked and it says I have CSS mounted in the extensions menu, which means it should be working. There is no CSS folder in my addons folder. Yes, I do have CSS installed and both CSS and gmod are NOT pirated. Is anyone else having this problem? How can I fix it?[/QUOTE] You can resize the models in whatever program you use. I noticed that the Barrett and AW50 Wees are really small. Also, all these weapons have improper physmodels. o_0
  • Avatar of Generic Default
  • [QUOTE=Heydshaut;26751703]You can resize the models in whatever program you use. I noticed that the Barrett and AW50 Wees are really small. Also, all these weapons have improper physmodels. o_0[/QUOTE] I know, when I try to line the physics box up with the model in the editor, it works, but in game it's all screwy. And two of the pistols (glock18 and fiveseven) have error texture world models that I can't seem to fix. I do have all of the gun sounds done now, some of the pistols sound pretty nice.
  • Avatar of Killer_Steel
  • Christmas release predicted? It'd be a sweet present if you had a complete pack by then, or if you have it done now, could wait that long :P.
  • Avatar of Heydshaut
  • [QUOTE=Generic Default;26759758]I know, when I try to line the physics box up with the model in the editor, it works, but in game it's all screwy. And two of the pistols (glock18 and fiveseven) have error texture world models that I can't seem to fix. I do have all of the gun sounds done now, some of the pistols sound pretty nice.[/QUOTE] There's a method to get proper wees. In the QC, you should see a line that says $collisionmodel "physmodel.smd" Change "physmodel.smd" to the same model as your reference, and it will automatically Generate a perfect world model upon compile.
  • Avatar of Generic Default
  • [QUOTE=Heydshaut;26812658]There's a method to get proper wees. In the QC, you should see a line that says $collisionmodel "physmodel.smd" Change "physmodel.smd" to the same model as your reference, and it will automatically Generate a perfect world model upon compile.[/QUOTE] Ok, I'll keep that in mind next time I make a world model. Thanks! I'll try to release the pistols pack on Christmas, I'm finishing a few reloading sounds and I added a revolver to the pack. Also I'm trying to get a new dynamic bullet impact so when you shoot a headcrab dust doesn't spray out like concrete. Progress is going good so far! Machine gun pack will be coming soon too, maybe new years?
  • Avatar of BLOODGA$M
  • Regarding the explosive damage...while it might make some sense for high-calibre weapons like the AS50, I don't think a 9mm pistol or the P90 with it's tiny sharp bullets should damage you when you shoot it at the floor or be able to kill NPCs without actually hitting them.
  • Avatar of Russian
  • Generic Default can u add to ur swep pack, deagle pls [url]http://www.fpsbanana.com/skins/101958[/url] ?
  • Avatar of Heydshaut
  • [QUOTE=Russian;26857436]Generic Default can u add to ur swep pack, deagle pls [url]http://www.fpsbanana.com/skins/101958[/url] ?[/QUOTE] He already has a Deag. Read his post...
  • Avatar of Generic Default
  • OK, I'll try to have the pistol pack out by Christmas. It's pretty much finalized now. M9 Glock18 Mini Uzi FiveSeven P228 M1911 Desert Eagle Colt Python (Revolver) I finally got around to fixing all of the world models and finishing shooting sounds, all I have to do is make a few more reloading sounds. Also I have to package all of it. So I should finish before Christmas. In the next few updates expect a new bullet impact system. Bullet's now have several different effects depending on what they hit. For example, if you shoot a metal object sparks will fly off, or if you shoot a dead body blood will come out. It looks epic when you hit a metrocop with a .50 cal.
  • Avatar of dan48973
  • not sure why I get an error message (haven't had any issues with other sweps), but every weapon gives weapons\gdcw_base_(type)\shared.lua:(#): attempt to call method 'SetWeaponHoldType' (a nil value) and entities/gdcwa_(caliber)__tracer/init.lua:100: attempt to call method 'SetDamageType' (a nil value) the bullets are going right through NPCs?
  • Avatar of Heydshaut
  • [QUOTE=Generic Default;26868584]OK, I'll try to have the pistol pack out by Christmas. It's pretty much finalized now. M9 Glock18 Mini Uzi FiveSeven P228 M1911 Desert Eagle Colt Python (Revolver) I finally got around to fixing all of the world models and finishing shooting sounds, all I have to do is make a few more reloading sounds. Also I have to package all of it. So I should finish before Christmas. In the next few updates expect a new bullet impact system. Bullet's now have several different effects depending on what they hit. For example, if you shoot a metal object sparks will fly off, or if you shoot a dead body blood will come out. It looks epic when you hit a metrocop with a .50 cal.[/QUOTE] Question: Can you add Dmg's MW2 glock as a Ghettoblaster? Or is that Already in there? Anyways, hope you took my advice on the worlds. BTW: I'll have the MG36E out in January, you can add it to your pack, I'll send you the files in a week or two. You won't be able to decompile it, but I'll add scripted sounds, and working wees, etc. [editline]22nd December 2010[/editline] [QUOTE=dan48973;26869090]not sure why I get an error message (haven't had any issues with other sweps), but every weapon gives weapons\gdcw_base_(type)\shared.lua:(#): attempt to call method 'SetWeaponHoldType' (a nil value) and entities/gdcwa_(caliber)__tracer/init.lua:100: attempt to call method 'SetDamageType' (a nil value) the bullets are going right through NPCs?[/QUOTE] Do you have the base?
  • Avatar of Alexis-nyan
  • [QUOTE=Russian;26857436]Generic Default can u add to ur swep pack, deagle pls [url]http://www.fpsbanana.com/skins/101958[/url] ?[/QUOTE] Lets give russian a round of appaulse. :bravo:
  • Avatar of Generic Default
  • Yes, I already have the glock in my pack. And I don't know why you're getting all of those errors from basic functions that are included with gmod, are you a pirate(don't answer)? Alexis and Russian I already have a deagle in my pack. And Heydshaut thanks for the advice on the world models but generating a collision model from a normal detailed model would lag waaaaay too much.
  • Avatar of Heydshaut
  • [QUOTE=Generic Default;26881527]Yes, I already have the glock in my pack. And I don't know why you're getting all of those errors from basic functions that are included with gmod, are you a pirate(don't answer)? Alexis and Russian I already have a deagle in my pack. And Heydshaut thanks for the advice on the world models but generating a collision model from a normal detailed model would lag waaaaay too much.[/QUOTE] No, it collects all of the outer verts and builds a very basic one. [IMG]http://img689.imageshack.us/img689/7842/weefail.png[/IMG] This was a World model I made for a legit intervention... See those red lines? That's the Collision model generated when you compile like I did.
  • Avatar of Russian
  • [QUOTE=Generic Default;26881527]Yes, I already have the glock in my pack. And I don't know why you're getting all of those errors from basic functions that are included with gmod, are you a pirate(don't answer)? Alexis and Russian I already have a deagle in my pack. And Heydshaut thanks for the advice on the world models but generating a collision model from a normal detailed model would lag waaaaay too much.[/QUOTE] heh i didnt know wut u already have deagle D: your sweps are sexy and particles too, it makes ur sweps different
  • Avatar of Alexis-nyan
  • [QUOTE=Generic Default;26881527]Yes, I already have the glock in my pack. And I don't know why you're getting all of those errors from basic functions that are included with gmod, are you a pirate(don't answer)? Alexis and Russian I already have a deagle in my pack. And Heydshaut thanks for the advice on the world models but generating a collision model from a normal detailed model would lag waaaaay too much.[/QUOTE] I was just clapping at how dumb he was I already Knew that there was a deagle in the pack Because i read :3:
  • Avatar of Generic Default
  • OK I'm putting the pack together and I have all of the content in. Should I include download scripts for these so server owners can send all of the models and sounds and materials to players, or should players just have to download this pack for themselves to save loading time? If you want download scripts tell me if this is the right code to put in autorun/server; function AddDir("sound/GDC") // recursively adds everything in a directory to be downloaded by client local list = file.FindDir("../"..dir.."/*") for _, fdir in pairs(list) do if fdir != ".svn" then // don't spam people with useless .svn folders AddDir(dir.."/"..fdir) end end for k,v in pairs(file.Find("../"..dir.."/*")) do resource.AddFile(dir.."/"..v) end end AddDir("sound/GDC") That's what I got from garry's code, I just need to people to check it because there is no way I can test it.
  • Avatar of Heydshaut
  • [QUOTE=Generic Default;26912492]OK I'm putting the pack together and I have all of the content in. Should I include download scripts for these so server owners can send all of the models and sounds and materials to players, or should players just have to download this pack for themselves to save loading time? If you want download scripts tell me if this is the right code to put in autorun/server; function AddDir("sound/GDC") // recursively adds everything in a directory to be downloaded by client local list = file.FindDir("../"..dir.."/*") for _, fdir in pairs(list) do if fdir != ".svn" then // don't spam people with useless .svn folders AddDir(dir.."/"..fdir) end end for k,v in pairs(file.Find("../"..dir.."/*")) do resource.AddFile(dir.."/"..v) end end AddDir("sound/GDC") That's what I got from garry's code, I just need to people to check it because there is no way I can test it.[/QUOTE] Include DL scripts.
  • Avatar of Blargh123
  • You first line should be function AddDir(dir). Otherwise your function will be trying to fetch "dir", which won't exist. Using AddDir("sound/GDC") is correct the second time, though. Do you understand how this works? Or are my explanatory skills a pathetic failure?
  • Avatar of Generic Default
  • [QUOTE=Blargh123;26912596]You first line should be function AddDir(dir). Otherwise your function will be trying to fetch "dir", which won't exist. Using AddDir("sound/GDC") is correct the second time, though. Do you understand how this works? Or are my explanatory skills a pathetic failure?[/QUOTE] No I'm the fail. I think I get it. Originally the first one was just "dir" but I thought it had to be defined so i switched it out for the directory. So if I just put this fixed code in the autorun/server file, it will download everything in the GDC sound folder, right?
  • Avatar of Heydshaut
  • [QUOTE=Generic Default;26920916]No I'm the fail. I think I get it. Originally the first one was just "dir" but I thought it had to be defined so i switched it out for the directory. So if I just put this fixed code in the autorun/server file, it will download everything in the GDC sound folder, right?[/QUOTE] Hey, Generic, if you don't mind, I'm gonna put off the MG36E for now and work on Masada Attachments.