Garry's Mod

Garry's Mod

Max Payne Pack
 This topic has been pinned, so it's probably important
Pyri 31 Jul, 2022 @ 7:54pm
Bugs
Discussion for bugs
< >
Showing 1-15 of 84 comments
Pyri 31 Jul, 2022 @ 7:54pm 
Getting an error when a NPC is attempting to throw a grenade or molotov.

[Max Payne Pack] gamemodes/base/entities/weapons/weapon_base/shared.lua:244: attempt to call method 'GetAmmoCount' (a nil value)
1. Ammo1 - gamemodes/base/entities/weapons/weapon_base/shared.lua:244
2. PrimaryAttack - lua/weapons/weapon_mp1_grenade/shared.lua:100
3. unknown - gamemodes/base/entities/weapons/weapon_base/init.lua:95 (x7)
Geisteskrankenchan  [developer] 31 Jul, 2022 @ 8:27pm 
Originally posted by Pyri:
Getting an error when a NPC is attempting to throw a grenade or molotov.

[Max Payne Pack] gamemodes/base/entities/weapons/weapon_base/shared.lua:244: attempt to call method 'GetAmmoCount' (a nil value)
1. Ammo1 - gamemodes/base/entities/weapons/weapon_base/shared.lua:244
2. PrimaryAttack - lua/weapons/weapon_mp1_grenade/shared.lua:100
3. unknown - gamemodes/base/entities/weapons/weapon_base/init.lua:95 (x7)

Huh, I was sure I removed grenades from NPC weapon menu. Did you force-assign them? They weren't really intended to be used by NPCs hence there's no extra programming for it

EDIT: Yep, double-checked it and you can't spawn them by normal means. Sorry! If it's hidden that's for a good reason
Last edited by Geisteskrankenchan; 31 Jul, 2022 @ 8:35pm
Pyri 31 Jul, 2022 @ 10:53pm 
Originally posted by Geist:
Originally posted by Pyri:
Getting an error when a NPC is attempting to throw a grenade or molotov.

[Max Payne Pack] gamemodes/base/entities/weapons/weapon_base/shared.lua:244: attempt to call method 'GetAmmoCount' (a nil value)
1. Ammo1 - gamemodes/base/entities/weapons/weapon_base/shared.lua:244
2. PrimaryAttack - lua/weapons/weapon_mp1_grenade/shared.lua:100
3. unknown - gamemodes/base/entities/weapons/weapon_base/init.lua:95 (x7)

Huh, I was sure I removed grenades from NPC weapon menu. Did you force-assign them? They weren't really intended to be used by NPCs hence there's no extra programming for it

EDIT: Yep, double-checked it and you can't spawn them by normal means. Sorry! If it's hidden that's for a good reason
Yeah, I was looking at the weapon list, they are hidden, they just happen to randomly spawn with them via Default Weapon option.
Geisteskrankenchan  [developer] 31 Jul, 2022 @ 11:45pm 
Originally posted by Pyri:
Originally posted by Geist:

Huh, I was sure I removed grenades from NPC weapon menu. Did you force-assign them? They weren't really intended to be used by NPCs hence there's no extra programming for it

EDIT: Yep, double-checked it and you can't spawn them by normal means. Sorry! If it's hidden that's for a good reason
Yeah, I was looking at the weapon list, they are hidden, they just happen to randomly spawn with them via Default Weapon option.
Ahh, that one, totally slipped out of my mind, thanks for reporting
Grafin 1 Aug, 2022 @ 5:24am 
В какой-то момент пропали руки, вылечилось сменой оружия
https://i.postimg.cc/mkSQtBVC/20220801145109-1.jpg
Grafin 1 Aug, 2022 @ 5:27am 
На уровне с улицей есть небольшие графические баги:
Снег на лестнице, ведущей в подземку, имеет две дырки по краям
https://i.postimg.cc/KYFx5b5R/20220801144832-1.jpg
На дне почтового ящика текстура с логотипами)
https://i.postimg.cc/7Y0L1Kyt/20220801144850-1.jpg
Geisteskrankenchan  [developer] 1 Aug, 2022 @ 5:29am 
Originally posted by Grafin:
В какой-то момент пропали руки, вылечилось сменой оружия
https://i.postimg.cc/mkSQtBVC/20220801145109-1.jpg
Это баг Гарриса, когда берешь пропы на Е



Originally posted by Grafin:
На уровне с улицей есть небольшие графические баги:
Снег на лестнице, ведущей в подземку, имеет две дырки по краям
https://i.postimg.cc/KYFx5b5R/20220801144832-1.jpg
На дне почтового ящика текстура с логотипами)
https://i.postimg.cc/7Y0L1Kyt/20220801144850-1.jpg
Про дыры знаю, тут лучше не сделать, поэтому в качестве компромисса я поставил снегу отображение с двух сторон. Ящик такой же был и в оригинале
Grafin 1 Aug, 2022 @ 6:02am 
Понял, спасибо! с:
https://i.postimg.cc/NFcpLgqk/20220801144812-1.jpg
NPC еще немного странно держат двойные пистолеты, как будто это автомат, но скорее всего так и задумывалось
Geisteskrankenchan  [developer] 1 Aug, 2022 @ 6:12am 
Да, тут ограничения стандартных анимаций
Proper Cut 1 Aug, 2022 @ 11:09am 
I noticed this with Half Life Zero sweps from Upset, but it happens here too. When switching weapons, the animation lags a bit before actually switching to the next weapon, making fast switching kind of hard to do. Does anyone know what addon causes this little problem?
Geisteskrankenchan  [developer] 1 Aug, 2022 @ 11:10am 
You mean holster animation? It's intentional
Pyri 1 Aug, 2022 @ 11:45am 
When switching to the rat, the camera height gets lowered, when I switched to a different playermodel, the camera height doesn't reset.
havin a melty? 1 Aug, 2022 @ 11:57am 
The sniper rifle zoom bobs way too much with an uncapped framerate
SaucySomething 1 Aug, 2022 @ 1:10pm 
Got this error when clearing weapons and then equipping any Max Payne weapon.


[Max Payne Pack] lua/weapons/weapon_mp1_base/shared.lua:720: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. unknown - lua/weapons/weapon_mp1_base/shared.lua:720
3. Give - [C]:-1
4. unknown - gamemodes/sandbox/gamemode/commands.lua:867
5. unknown - lua/includes/modules/concommand.lua:54
SaucySomething 1 Aug, 2022 @ 1:15pm 
Also, if you pick up a prop really fast (without the gravity gun). Their's a chance that your hands will be missing on your MP1 weapon. Nothing in console either.
< >
Showing 1-15 of 84 comments
Per page: 1530 50