Garry's Mod

Garry's Mod

Prophunters
Viledas 2016 年 2 月 28 日 上午 10:37
Camera distance
Hi,

I have been dabbling in sh_disguise in an attempt to get the camera to move further back when the player is a prop. I have been able to move the camera up and down (with the functions GetPropEyePos and GetPropEyeTrace), playing with the vectors, but that is not what I want/need. I don't know how I have to adjust the camera distance. Could you briefly explain how I can alter the camera distance when a player is a prop?
< >
正在显示第 1 - 6 条,共 6 条留言
Mechanical Mind  [开发者] 2016 年 2 月 28 日 下午 4:15 
ph_props_camdistance - The camera distance multiplier for props when disguised (default is 1)
Viledas 2016 年 2 月 29 日 上午 6:08 
That looks like a ConVar, but I checked your latest release from github and it's not in there (nor if I subscribe to prophunters on the workshop). Is it possible that you haven't pushed the latest version of the project to github yet? :)

I do love the fact that you listen to the suggestions that you are given! You da real mvp, sir!
Mechanical Mind  [开发者] 2016 年 2 月 29 日 下午 6:45 
Whoops, yeah you were right, its up now.
Viledas 2016 年 3 月 1 日 上午 8:52 
Super! I tested it though, and while the convar is present now, it doesn't change the camera distance. Is it possible that sh_disguise should have been pushed as well (wasn't in your github update). Sorry for being such a nag btw! :)
Mechanical Mind  [开发者] 2016 年 3 月 1 日 下午 8:48 
The way its set up you won't see the changes in the convar till the next round.
Viledas 2016 年 3 月 2 日 上午 5:14 
Ah okay, I get it! Well, super! Thanks so much for all the explanation! :)
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50