Garry's Mod

Garry's Mod

Enhanced Camera
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Eliza  [udvikler] 11. nov. 2018 kl. 20: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.
< >
Viser 1-10 af 10 kommentarer
Thank you.
Paynamia 16. dec. 2018 kl. 3:58 
Rey Toxice 8. jan. 2019 kl. 18:28 
You are my savior
LOL DUDE 11. jan. 2019 kl. 20: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.
Sidst redigeret af LOL DUDE; 11. jan. 2019 kl. 20:11
Vicky Frenzy 12. feb. 2020 kl. 10:49 
Oprindeligt skrevet af 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 kl. 7:33 
What the heck, it's still creating the errors. You didn't fix anything.
Sidst redigeret af Killrpizza18; 13. feb. 2020 kl. 7:34
Vicky Frenzy 13. feb. 2020 kl. 10:00 
Oprindeligt skrevet af 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 kl. 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
Тотя 11. nov. 2024 kl. 14: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
< >
Viser 1-10 af 10 kommentarer
Per side: 1530 50