Garry's Mod

Garry's Mod

Enhanced Camera
 This topic has been pinned, so it's probably important
Eliza  [developer] 11 Nov, 2018 @ 8:17pm
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.
< >
Showing 1-10 of 10 comments
Thank you.
Paynamia 16 Dec, 2018 @ 3:58am 
Rey Toxice 8 Jan, 2019 @ 6:28pm 
You are my savior
LOL DUDE 11 Jan, 2019 @ 8:09pm 
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.
Last edited by LOL DUDE; 11 Jan, 2019 @ 8:11pm
Vicky Frenzy 12 Feb, 2020 @ 10:49am 
Originally posted by 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 13 Feb, 2020 @ 7:33am 
What the heck, it's still creating the errors. You didn't fix anything.
Last edited by Killrpizza18; 13 Feb, 2020 @ 7:34am
Vicky Frenzy 13 Feb, 2020 @ 10:00am 
Originally posted by 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 20 Jan, 2021 @ 9:04am 
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
Gurt 11 Nov, 2024 @ 2:20pm 
[Enhanced Camera] Refusing to AddCSLuaFile '../client/enhanced_camera.lua' because its name contains dodgy symbols
1. unknown - lua/autorun/server/enhanced_camera.lua:1
< >
Showing 1-10 of 10 comments
Per page: 1530 50