Maybe networking problem
Maybe networking problem
You use umsg.PoolString("NWATT") in your code. But I think umsg.PoolString is for string you send in a usermessage. (Is this a Wiki error ?)
But I have *solved* the problem. (It doesn't render the attachment WorldModel)
Line 1391 - weapons/cstm_base_pistol/shared.lua
Working on fixing the WorldModel rendering.
(Sorry for my bad english)
If you replace it with just umsg.Start("NWATT") then the only person who's going to see the attachment is you.
I've fixed the bug, I'll release the update as soon as I find more stuff to fix.
Question: should I make various scopes and shit not modify a weapon's accuracy and just help the player aim?
Not sure, I think it takes the string you have to send as argument.
When looking the wiki :
In this exemple, the string is pooled and not the usermessage.Code:umsg.PoolString("asdf") function ENT:Use(activator,caller) umsg.Start("Hello",activator) umsg.String("asdf") umsg.End() end
Hell yea ! But not to much.
will we ever see a slide lock on the last bullet fired for pistols?
Can you please try and upload the Extra pack on a hosting site other than Filesmelt? Seriously, it's like the tenth time in a row that I get a 2.1kb/s or lower download speed.
You can use Mediafire, I think it's a good one.
could always do bone manipulation with SWCK
I had an idea, can't you make a flashlight attachment that uses the lamp effect attached to the laser sight? I tried to do that but I failed, as I'm still a lua newbie.
And please reupload the Extra pack elsewhere.
The AUG has a taclight on the end of it, with makes pressing F more believable.
I have this one issue where when I equip any gun from the menu, and it has some black scope-like thing on the top or hovering above it. It also will block any sight I use. All I would see is the dot in the sight.
I don't think it was that, I cleaned out the entire copy of Garrysmod, and it still showed up (After re-installing all the content models and stuff).
Found a bug that you can see if your sprinting sometimes.
With almost any gun there is a little black square on the model all the way in the top right. You cant see it if your not sprinting.
That's exactly the thing I had, except it's way closer to the gun. It would be exactly where the scope would be. I could always see the iron sights, though.
Do you guys have any bugs to report?
I want to release this update which fixes the problems with the attachments, but there are only 2 changes. :(
Maybe you could add view bobbing while walking. You did it for sprinting, but I guess it would be great if you added it to regular walking/running.
Oh, and can you parent a env_projectedtexture to a lasersight-like model? This way you can get a realistic tacticool L4D-ish flashlight.
I haven't checked the entire thread but
when reloading, switching to another gun during the cycle will cause that gun to inherit the model of the previous gun, so you have a g3a3, or a galil firing hl2 pistol rounds
when in third person there is no muzzle flash from the gun, but when you've sighted in the muzzle flash is directly in the center of the camera
bugs aside, I feel like there's alot you can improve on
you could add gun/muzzle sway relative to the cone size so even when you're sighted there's feedback as to how big of a spread you're going to have , you could add holdtypes that change depending on your stance, the shotgun holdtype when hipped firing, and Ar2/smg/rpg for sighted
3 more bugs for you, sir:
-The revolver reloads non-stop (reloads while at full ammo);
-Having 1 bullet left outside a 30 bullet magazine and then reload it to get a 30 round + 1 chambered bullet, doesn't take out that bullet you had left, giving you some sort of infinite ammo, as long as you only fire the chambered bullet;
-The laser goes trough the wall if you're too close to it.
Oh, and I was seeing random GMOD stuff, maybe you could add a few features:
-Mag drop on a weapon reload (for realism sake) and deduct the ammo it had on that dropped mag;
-Holster your weapon when you get too close to the wall.
I know what that guy means. say you have 30 rounds in your mag, and one in reserve. reloading gives you a full mag+one round chambered. but you still have one round in reserve. fire a bullet and reload again, you still have that round in reserve.
Also I could hack some weapon mags :V
This isn't directed towards the magazine drops, I wouldn't care one way or another for them, but generally just for anything you think you want to do with your addon but don't want to have to optimize and awkwardly stick 'em in the main addon after the thought. Not to mention, you've probably already thought of this. vv
http://www.garrysmod.org/downloads/?a=view&id=125249 for the magazines models (default models only, has like 500 kb, so no more extra size for normal pack)
Also http://www.garrysmod.org/downloads/?a=view&id=1010 for silencer model.
And lastly, that bug you said it was caused by me smokes http://youtu.be/87GZnyrKcO4
You really need to change how you do the red dot sight / holo sight. an Idea I had was to have the reticle sprite permanently on show, but to only show it with some sort of mask that's parented to the scope/ sight. Therefore it'll work as it actually does in real life.