[Question] Tinkering with FOV
Hello everyone. I was trying to tinker with clients FOV, ( not by execing anything on their end, but just something temporary that undoes itself when they leave the server ) and what I think should work isn't. I'm coding this specifically for Counterstrike Source, not sure if it matters or not.
What I've attempted was: SetEntProp(client, Prop_Send, "m_iFOV", 145, 4); If it helps any, the es_tools equivalent would be: es_setplayerprop event_var(userid) "CCSPlayer.baseclass.m_iFOV" 45 Anywho, if anyone could please toss a hint my way as to what the problem is I'd big time appreciate it. Thanks! |
Re: [Question] Tinkering with FOV
That looks like the right equivalent.
|
Re: [Question] Tinkering with FOV
Never mind D:
|
Re: [Question] Tinkering with FOV
yeah, it looks right but for some reason it doesn't work. doesn't seem to change the FOV at all.
|
Re: [Question] Tinkering with FOV
wtf, did valve break something? when i type fov in console nothing even pops up, and i can't change it at all. i tried using fov 145 in console just to see if it might had been me. can someone else try changing their own fov in console ( preferably in counterstrike source ) and verify if they experience the same thing?
|
Re: [Question] Tinkering with FOV
sorry for the triple post but I just wanted to let you guys know i figured it out. for some reason altering FOV now requires a user to run sv_cheats 1, IE. sv_cheats 1;fov 90
to my knowledge this wasn't the case several months ago. anywho, just fyi! thanks for trying guys! |
Re: [Question] Tinkering with FOV
Hm... I tried this:
PHP Code:
|
Re: [Question] Tinkering with FOV
OOO! That's perfect! Thank you so much!
|
Re: [Question] Tinkering with FOV
Hey, I was looking around on the wiki and saw something interesting so I figured I'd ask how to properly use it. The page I found had all these different signatures on it and one is for setting a clients fov ( only for their duration on the server I'm assuming ).
http://wiki.alliedmods.net/Useful_Si...Player::SetFOV I'm not exactly sure how to use it though. Can someone post an example? |
Re: [Question] Tinkering with FOV
http://forums.alliedmods.net/showthread.php?t=57448
You see there is supercmds.gamedata.txt file and this: PHP Code:
|
All times are GMT -4. The time now is 19:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.