Garry's Mod

Garry's Mod

119 ratings
[TFA] Nybras Laser Rifle
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Realism
File Size
Posted
Updated
26.962 MB
2 Sep, 2023 @ 8:40am
12 Sep, 2023 @ 12:57am
2 Change Notes ( view )

Subscribe to download
[TFA] Nybras Laser Rifle

Description
Another port of gun from Fallout New Vegas mod ( https://modgames.net/load/fallout_new_vegas/oruzhie/quot_nibras_quot/95-1-0-5055 ) into TFA Base for Garry's Mod.

Automatic Laser Gun with built in scope and comes with attachments, two for damage buffs in exange of RPM, and bigger scope for sniping.

Authors:
Imperator3:
-Model and its textures

Chyvachok:
-Animation, compile.
-Making as SWEP on TFA Base

Reload and Shoot sounds from Fallout: New Vegas and MNTL Energy Sound Mod for F:NV

Unknown:
-muzzle, tracer and impact code I used as base, sadly I'm not sure who exactly made them.

Also thanks for YuRaNnNzZZ for answering some questions regarding TFA base.

This SWep also comes with C_Hands on my own animations.

8 Comments
Chyvachok  [author] 11 Sep, 2023 @ 7:51am 
Its probably tracer code I used isn't intended to work with NPCs, I did these guns mostly as player-only, so I didn't tested how NPCs would use them or any TFA gun honestly, I might later change tracer code based on TFA code and update addon, but I don't remember which tool I need to spawn NPC with any weapon except spawning them with console.
Khaiø 11 Sep, 2023 @ 7:20am 
If anything, it only happens when NPCs die while using such weapons, though rarely it happens.
Khaiø 11 Sep, 2023 @ 7:20am 
I use the default branch, without any beta branch being used.
Chyvachok  [author] 11 Sep, 2023 @ 1:35am 
Do you use different Garrysmod branch, like dev or something? I can't fix problem which I can't reproduce, I don't get any errors, and all effects works. Maybe later I might use TFA Gauss effect as base, it uses beam too, if this one not works.
Khaiø 10 Sep, 2023 @ 10:48am 
Correct me if I'm wring though.
Khaiø 10 Sep, 2023 @ 10:48am 
Here's another set, just encountered them earlier, though I'm pretty sure they're similar in some way:
[[TFA] Nybras Laser Rifle] lua/effects/tfa_c_nybras_blue_tracer/init.lua:9: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. unknown - lua/effects/tfa_c_nybras_blue_tracer/init.lua:9
[[TFA] Nybras Laser Rifle] lua/effects/tfa_c_nybras_blue_tracer/init.lua:69: bad argument #1 to '__sub' (Vector expected, got nil)
1. __sub - [C]:-1
2. unknown - lua/effects/tfa_c_nybras_blue_tracer/init.lua:69
[[TFA] Nybras Laser Rifle] lua/effects/tfa_c_nybras_blue_tracer/init.lua:56: attempt to perform arithmetic on field 'FlashA' (a nil value)
1. unknown - lua/effects/tfa_c_nybras_blue_tracer/init.lua:56
Khaiø 9 Sep, 2023 @ 10:39am 
Got some errors when using this weapon, this gun is awesome otherwise:
[[TFA] Nybras Laser Rifle] lua/effects/tfa_c_nybras_ion_tracer/init.lua:9: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. unknown - lua/effects/tfa_c_nybras_ion_tracer/init.lua:9
[[TFA] Nybras Laser Rifle] lua/effects/tfa_c_nybras_ion_tracer/init.lua:69: bad argument #1 to '__sub' (Vector expected, got nil)
1. __sub - [C]:-1
2. unknown - lua/effects/tfa_c_nybras_ion_tracer/init.lua:69
[[TFA] Nybras Laser Rifle] lua/effects/tfa_c_nybras_ion_tracer/init.lua:56: attempt to perform arithmetic on field 'FlashA' (a nil value)
1. unknown - lua/effects/tfa_c_nybras_ion_tracer/init.lua:56
Райдер 2 Sep, 2023 @ 9:22am 
Вижу круто продолжай в том же духе :steamthis: