Garry's Mod

Garry's Mod

Unreal Tournament 2004 SWEPs
 This topic has been pinned, so it's probably important
KnightBob7 24 Jun, 2021 @ 7:30pm
Unreal Tournament 2004 SWEPs Glitches, Bugs, and fixes.
This discussion is about telling the developer of what is wrong with the Workshop Add-on,
potential add-on conflicts, and having bugs that affected the add-on being fixed in the past.
Post your bugs here for the developer to be notified of any problems regarding the sweps not
working in any capacity.
< >
Showing 1-13 of 13 comments
KnightBob7 24 Jun, 2021 @ 9:44pm 
The thing is when I didn't pick up the shields and take damage with over 100 armor, the
armor is gone and I can't pickup other armor pieces that I can use to gain armor back with
non of those shields from the Unreal Tournament 2004 shield pickups.
Atlantic_Lemur 13 Jan, 2022 @ 7:19pm 
Actually, Whenever I equip the Assault Rifle, it doesn't seem to accept the Bullets and Grenades entity I spawn. In fact, when I do equip said weapon, the starting ammo for it reads as "9mm Ammo". I searched the spawnlist, nada, zilch.
Hidden  [developer] 14 Jan, 2022 @ 4:53am 
The assault rifle uses Half-Life 1's SMG and pistol ammo, which is in the game by default. If that fails to load then there's something seriously wrong going on. If i had to guess i'd say it's an addon conflict. If you find out what's causing this, please tell me.
If you have an armor value higher than 150, picking up the UT shield or Super Shield will set your armor value to back to 150.

Also the system that makes you take only armor damage when the value is higher than 100 works unusually with things that are supposed to kill you instantly, i.e. trigger hurts.
Mine layer is crushing game when you attack spider or aim it to npc
SaucySomething 21 Jan, 2023 @ 1:30pm 
Getting this error with the spider bomb. I do not know what causes it.

NextBot [206][ut2004_spidermine] Error: lua/entities/ut2004_spidermine.lua:135: Tried to use a NULL entity!
VolKov 22 Apr, 2024 @ 4:36pm 
[Unreal Tournament 2004 SWEPs] lua/effects/ut2004_hitoverlay/init.lua:43: attempt to compare number with nil
1. unknown - lua/effects/ut2004_hitoverlay/init.lua:43

bro PLEASE fix this, its a error of a the electric weapon
LOL DUDE 9 Feb @ 11:46pm 
I'm getting crashes whenever I try to use the Mine Layer. Same message in the crash log almost every time:
Executable: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\win64\gmod.exe -Lua Stack Traces- ================== Client *Not in Lua call OR Lua has panicked* Server 0. BlastDamage - [C]:-1 1. Explode - lua/entities/ut2004_spidermine.lua:359 2. (null) - lua/entities/ut2004_spidermine.lua:371 3. BlastDamage - [C]:-1 4. Explode - lua/entities/ut2004_spidermine.lua:359 5. (null) - lua/entities/ut2004_spidermine.lua:371 6. BlastDamage - [C]:-1 7. Explode - lua/entities/ut2004_spidermine.lua:359 8. (null) - lua/entities/ut2004_spidermine.lua:371 9. BlastDamage - [C]:-1 10. Explode - lua/entities/ut2004_spidermine.lua:359 11. (null) - lua/entities/ut2004_spidermine.lua:371 12. BlastDamage - [C]:-1 13. Explode - lua/entities/ut2004_spidermine.lua:359 14. (null) - lua/entities/ut2004_spidermine.lua:371 15. BlastDamage - [C]:-1 16. Explode - lua/entities/ut2004_spidermine.lua:359 MenuSystem *Not in Lua call OR Lua has panicked*
LOL DUDE 11 Feb @ 1:05am 
Also got this error spammed in the console whenever a Mine Layer is spawned in the world (like with middle mouse):
[Unreal Tournament 2004 SWEPs] lua/weapons/weapon_ut2004_minelayer/shared.lua:124: attempt to call method 'KeyDown' (a nil value) 1. unknown - lua/weapons/weapon_ut2004_minelayer/shared.lua:124
All of the health picks do not work when loaded through a save.

The vials and the "Big Keg 'o Health" can be picked up, but don't heal you. The +20 health cant be interacted with at all.
aversion 10 Mar @ 6:26pm 
The spidermine NPC crashes the game when the game tells it to explode.
The spidermine NPC crashes the game when the game tells it to explode.
aversion 13 Jul @ 2:43pm 
After decompiling the gma, you can hotfix the spidermine crash by wrapping the util.BlastDamage in a timer.Simple call like this:

if !nodamage then timer.Simple( 0, function() util.BlastDamage( self, self.Owner or self, self:GetPos(), 200, 95) end) end

This makes the explosion occur on the next tick, avoiding the infinite stack overflow crash.
The spider was being re-killed by its own explosion, causing it to re-explode indefinitely.
Last edited by aversion; 13 Jul @ 2:44pm
< >
Showing 1-13 of 13 comments
Per page: 1530 50