Garry's Mod

Garry's Mod

Max Payne Pack
 此主题已被置顶,因此可能具有重要性
Pyri 2022 年 7 月 31 日 下午 7:54
Bugs
Discussion for bugs
< >
正在显示第 1 - 15 条,共 84 条留言
Pyri 2022 年 7 月 31 日 下午 7:54 
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  [开发者] 2022 年 7 月 31 日 下午 8:27 
引用自 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
最后由 Geisteskrankenchan 编辑于; 2022 年 7 月 31 日 下午 8:35
Pyri 2022 年 7 月 31 日 下午 10:53 
引用自 Geist
引用自 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  [开发者] 2022 年 7 月 31 日 下午 11:45 
引用自 Pyri
引用自 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 2022 年 8 月 1 日 上午 5:24 
В какой-то момент пропали руки, вылечилось сменой оружия
https://i.postimg.cc/mkSQtBVC/20220801145109-1.jpg
Grafin 2022 年 8 月 1 日 上午 5:27 
На уровне с улицей есть небольшие графические баги:
Снег на лестнице, ведущей в подземку, имеет две дырки по краям
https://i.postimg.cc/KYFx5b5R/20220801144832-1.jpg
На дне почтового ящика текстура с логотипами)
https://i.postimg.cc/7Y0L1Kyt/20220801144850-1.jpg
Geisteskrankenchan  [开发者] 2022 年 8 月 1 日 上午 5:29 
引用自 Grafin
В какой-то момент пропали руки, вылечилось сменой оружия
https://i.postimg.cc/mkSQtBVC/20220801145109-1.jpg
Это баг Гарриса, когда берешь пропы на Е



引用自 Grafin
На уровне с улицей есть небольшие графические баги:
Снег на лестнице, ведущей в подземку, имеет две дырки по краям
https://i.postimg.cc/KYFx5b5R/20220801144832-1.jpg
На дне почтового ящика текстура с логотипами)
https://i.postimg.cc/7Y0L1Kyt/20220801144850-1.jpg
Про дыры знаю, тут лучше не сделать, поэтому в качестве компромисса я поставил снегу отображение с двух сторон. Ящик такой же был и в оригинале
Grafin 2022 年 8 月 1 日 上午 6:02 
Понял, спасибо! с:
https://i.postimg.cc/NFcpLgqk/20220801144812-1.jpg
NPC еще немного странно держат двойные пистолеты, как будто это автомат, но скорее всего так и задумывалось
Geisteskrankenchan  [开发者] 2022 年 8 月 1 日 上午 6:12 
Да, тут ограничения стандартных анимаций
Proper Cut 2022 年 8 月 1 日 上午 11:09 
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  [开发者] 2022 年 8 月 1 日 上午 11:10 
You mean holster animation? It's intentional
Pyri 2022 年 8 月 1 日 上午 11:45 
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? 2022 年 8 月 1 日 上午 11:57 
The sniper rifle zoom bobs way too much with an uncapped framerate
SaucySomething 2022 年 8 月 1 日 下午 1:10 
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 2022 年 8 月 1 日 下午 1:15 
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.
< >
正在显示第 1 - 15 条,共 84 条留言
每页显示数: 1530 50