Garry's Mod

Garry's Mod

Serious Sam 2 SWEPs
Combine 9 Jul, 2016 @ 9:21am
[Unofficial] Bug report
Here are some things ive found

Tested with a clean garrysmod

Mode: SP = Singleplayer
Mods: Nothing
Cheats: Off
Activated contents: CSS, DOD, HL2, HL2 DM, HL2 EP1, HL2 EP2, HL2 LC, TF2

Nr.1: If you spawn a npc with a SS2 weapon you will get this error
[Serious Sam 2 SWEPs] lua/weapons/weapon_ss2_base.lua:162: attempt to call method 'GiveAmmo' (a nil value)
1. unknown - lua/weapons/weapon_ss2_base.lua:162
2. Spawn - [C]:-1
3. InternalSpawnNPC - gamemodes/sandbox/gamemode/commands.lua:400
4. Spawn_NPC - gamemodes/sandbox/gamemode/commands.lua:433
5. unknown - gamemodes/sandbox/gamemode/commands.lua:463
6. unknown - lua/includes/modules/concommand.lua:54

Nr.2: Make this weapons and its projectiles "weapon_ss2_grenadelauncher, weapon_ss2_cannon, weapon_ss2_plasmarifle, weapon_ss2_rocketlauncher, weapon_ss2_klodovik able to destroy NPC Helicopters, gunships and striders

Nr.3: Make the weapon "weapon_ss2_seriousbomb" able to destroy NPC Helicopters, gunships, striders and turrets able to destroy

Nr.4: Make NPCS like Combine soldiers able to use these AI weapons "SS2 Cold, SS2 uzi and SS2 zapgun"

Nr.5: Make NPCS like Combine police able to use these AI weapons "SS2 doubleshotgun, SS2 grenadelauncher, SS2 minigun, SS2 rocketlauncher and SS2 sniper"

Thats it so far hope there will be some changes soon - Combine :steamhappy:
< >
Showing 1-2 of 2 comments
LOL DUDE 11 Apr, 2019 @ 2:37pm 
I'm getting some console errors when using these in the latest version of Garry's Mod. They don't seem to be causing any issues with the actual functionality of the weapons, but I figured I should report them anyway.

The first is when the cannon is fired, spawning the cannon ball:
ss2_cannonball[86]: Changing collision rules within a callback is likely to cause crashes!
The second is when any projectile that should emit light comes into contact with a surface (using the SBC Cannon's cannon ball as an example, the error looks the same for every such projectile):
[ERROR] lua/entities/ss2_cannonball/cl_init.lua:53: Tried to use invalid object (type CLuaEmitter) (Object was NULL or not of the right type) 1. Finish - [C]:-1 2. OnRemove - lua/entities/ss2_cannonball/cl_init.lua:53 3. nextevent - lua/luna/hookclient.lua:3 4. unknown - lua/dlib/modules/hook.lua:1067

Even though it's pretty minor, the latter one pops up with that "Something is creating script errors" message every time a light-emitting projectile hits a surface, so it's pretty annoying. Any chance this could be fixed?
Last edited by LOL DUDE; 11 Apr, 2019 @ 2:39pm
upset  [developer] 26 Apr, 2019 @ 3:32am 
nextevent - lua/luna/hookclient.lua:3
Seems like some other addon causes that
Last edited by upset; 26 Apr, 2019 @ 3:32am
< >
Showing 1-2 of 2 comments
Per page: 1530 50