Garry's Mod

Garry's Mod

Enhanced Camera
 此主题已被置顶,因此可能具有重要性
Eliza  [开发者] 2018 年 11 月 11 日 下午 8:17
Okay, it should be fixed now.
Thanks to SkyNinja for the help (https://github.com/SkyNinja/gmod-enhanced-camera)

I kinda forgot this existed to be honest.
< >
正在显示第 1 - 10 条,共 10 条留言
𝔄𝚎𝚜𝚝𝚞𝚜 2018 年 12 月 11 日 上午 2:56 
Thank you.
Paynamia 2018 年 12 月 16 日 上午 3:58 
Rey Toxice 2019 年 1 月 8 日 下午 6:28 
You are my savior
LOL DUDE 2019 年 1 月 11 日 下午 8:09 
Thank you for applyin' Paynamia and 군대간 Gordon Frohman's fixes to this! I'd reckon they deserve to be added as contributors to this.

That being said, there's still a pretty noticeable, though relatively minor issue with this. When using a player model that does not have a "head" bone (like the default Zombie and Fast Zombie player models), the console gets spammed with this:
[ERROR] lua/autorun/client/enhanced_camera.lua:446: bad argument #1 to 'GetBonePosition' (number expected, got no value) 1. GetBonePosition - [C]:-1 2. Think - lua/autorun/client/enhanced_camera.lua:446 3. fn - lua/autorun/client/enhanced_camera.lua:451 4. unknown - lua/ulib/shared/hook.lua:109
I'd think that it'd be relatively easy to fix, probably by making the script simply not call to change the player's view height if it doesn't detect a head bone. As it is, though, it doesn't present any addon-breaking problems, it's just kind of annoying to have those errors. Just thought I'd bring it up.
最后由 LOL DUDE 编辑于; 2019 年 1 月 11 日 下午 8:11
Vicky Frenzy 2020 年 2 月 12 日 上午 10:49 
引用自 LOL DUDE
That being said, there's still a pretty noticeable, though relatively minor issue with this. When using a player model that does not have a "head" bone (like the default Zombie and Fast Zombie player models), the console gets spammed with this:
[ERROR] lua/autorun/client/enhanced_camera.lua:446: bad argument #1 to 'GetBonePosition' (number expected, got no value) 1. GetBonePosition - [C]:-1 2. Think - lua/autorun/client/enhanced_camera.lua:446 3. fn - lua/autorun/client/enhanced_camera.lua:451 4. unknown - lua/ulib/shared/hook.lua:109
I'd think that it'd be relatively easy to fix, probably by making the script simply not call to change the player's view height if it doesn't detect a head bone. As it is, though, it doesn't present any addon-breaking problems, it's just kind of annoying to have those errors. Just thought I'd bring it up.

I also found that pretty annoying so I've gone ahead and made a pull request to fix it.

https://github.com/elizagamedev/gmod-enhanced-camera/pull/3
Killrpizza18 2020 年 2 月 13 日 上午 7:33 
What the heck, it's still creating the errors. You didn't fix anything.
最后由 Killrpizza18 编辑于; 2020 年 2 月 13 日 上午 7:34
Vicky Frenzy 2020 年 2 月 13 日 上午 10:00 
引用自 Glittergum
What the heck, it's still creating the errors. You didn't fix anything.

It needs to be merged and updated by the addon owner.

https://github.com/elizagamedev/gmod-enhanced-camera/pull/3

Meanwhile you can patch it yourself if you don't want to wait.
Niko 2021 年 1 月 20 日 上午 9:04 
theres a glitch where i can see my playermodel legs weapons arms etc. its really annoying i hope you fix it if you dont i am giving a dislike go BRrRrRRR
Тотя 2024 年 11 月 11 日 下午 2:20 
[Enhanced Camera] Refusing to AddCSLuaFile '../client/enhanced_camera.lua' because its name contains dodgy symbols
1. unknown - lua/autorun/server/enhanced_camera.lua:1
< >
正在显示第 1 - 10 条,共 10 条留言
每页显示数: 1530 50