Raised This Month: $51 Target: $400
 12% 

Module: Admin Free Look


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-14-2013 , 12:56   Re: Module: Admin Free Look
Reply With Quote #131

Maybe something has been changed in the latest update again, but last time I've tested, I don't remember having trouble with the cvar, meaning if set on 1 or 2, without the module/plugin, you are well locked ; and with, unlocked.
I can try again after I update my server, but someone has confirmed above it was working..
__________________
Arkshine is offline
Zapy
SourceMod Donor
Join Date: Oct 2004
Location: Stockholm, Sweden
Old 03-14-2013 , 12:56   Re: Module: Admin Free Look
Reply With Quote #132

Quote:
Originally Posted by Mudgho View Post
Zapy shouldve been a little more specific. The forcechasecam setting doesnt work. ie, all players on the server have freeview when dead.
Mussee and i are partners in crime, same community.
I should have specified, my thoughts were on something else.

Anyway, could you specify what we need to have the Orpheu plugin working, if there is some special new or updated configs for opheu we need.

I feel a bit confused with Orpheu and the latest updates to HLDS and all the single posts a little bit here and a little bit there that updates a few functions in Orpheu,
wouldnt it be better to update the head post with all the small updates you have made?

edit:
So, we were under the impression that the plugin still handled the forcechasecam cvar as the old plugin/module did (when you had to set it to mp_force... 0), but i guess this is not the case any more?
__________________
Community Admin for Warzone.nu
http://www.warzone.nu
Swedish Gaming Community since 2000

Last edited by Zapy; 03-14-2013 at 13:01.
Zapy is offline
Send a message via Skype™ to Zapy
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-14-2013 , 13:41   Re: Module: Admin Free Look
Reply With Quote #133

These versions of plugin/module will work fine only if you have HLDS version after February update 2013.
If you use the plugin version, make sure to have Orpheu 2.4.

The new method used by these version is very simple, comparing to the old ones which were tricky.

I can explain it :

When you die, you are about to be put on a player. CBasePlayer::Observer_FindNextPlayer() is called where its purpose is to find the next player you will observe.

Inside, there is another function CBasePlayer::Observer_IsValidTarget() which is used to check if player is valid.
The last param of this function is to tell the function to check team you/target.

This param is set to 1 in Observer_FindNextPlayer(), when either mp_fadetoblack is on 1, or the cvar mp_forcechasecam / mp_forcecamera is > 0. It's set to 0 always if you are a spectator.

What does the plugin/module, is to hook Observer_IsValidTarget, checking if the last param is set to 1, so we know at least one the cvars are activated, and overwriting the param by setting to 0. Meaning no team check.


The way is pretty straight and I don't see failing it, unless it's related to a change in the latest HLDS update, but I doubt. Or you test weirdely, don't know.
Try the module, and see if if works better.
__________________

Last edited by Arkshine; 03-14-2013 at 13:48.
Arkshine is offline
Mudgho
Junior Member
Join Date: Jul 2012
Old 03-17-2013 , 08:49   Re: Module: Admin Free Look
Reply With Quote #134

either way something is not working for us, the freeroaming view is on for all players, not just admins, when forcehasecam is set to 0.

Last edited by Mudgho; 03-17-2013 at 08:51.
Mudgho is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-17-2013 , 08:58   Re: Module: Admin Free Look
Reply With Quote #135

Quote:
the freeroaming view is on for all players, not just admins, when forcehasecam is set to 0.
Which is the normal behavior...
To allow admin to have free look, you have to set the cvar to 1 or 2.
__________________
Arkshine is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 03-18-2013 , 13:13   Re: Module: Admin Free Look
Reply With Quote #136

Works great. The new method is amazing
__________________
In Flames we trust!
Nextra is offline
Mudgho
Junior Member
Join Date: Jul 2012
Old 03-18-2013 , 15:40   Re: Module: Admin Free Look
Reply With Quote #137

Quote:
Originally Posted by Arkshine View Post
Which is the normal behavior...
To allow admin to have free look, you have to set the cvar to 1 or 2.
Guess we're still stuck on how the old plugin worked. when mp_forcechasecam is set to 2 admins can not free look. its not that big of a deal but this was doable with the old one.
Mudgho is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-18-2013 , 16:10   Re: Module: Admin Free Look
Reply With Quote #138

I can confirm, just tested avec cvar set to 2 ; though it's possible to get free look if you hammer the space bar.

Anyway, maybe I've overlooked something, I might tested only with cvar set to 1 before and assuming it would the same for 2.

But I would believe the game has been updated and fixed things related to camera because what does the original module and what I do is basically the same.

Will take a look.
__________________

Last edited by Arkshine; 03-18-2013 at 16:19.
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-26-2013 , 06:32   Re: Module: Admin Free Look
Reply With Quote #139

Mudgho, can you test this one with mp_forcachasecam to 2 ?

If it works fine, will update the module later.

As note, I can confirm that the original module done by Jim on the first post was not handling this cvar to 2. Just to say my updated plugin was working fine . Anyway, now, it should support cvar to 2.
Attached Files
File Type: zip admin_free_look-2.1.zip (5.8 KB, 121 views)
__________________
Arkshine is offline
Zapy
SourceMod Donor
Join Date: Oct 2004
Location: Stockholm, Sweden
Old 03-26-2013 , 18:57   Re: Module: Admin Free Look
Reply With Quote #140

Quote:
Originally Posted by Arkshine View Post
Mudgho, can you test this one with mp_forcachasecam to 2 ?

If it works fine, will update the module later.

As note, I can confirm that the original module done by Jim on the first post was not handling this cvar to 2. Just to say my updated plugin was working fine . Anyway, now, it should support cvar to 2.
works on windows as you said on chat but not on linux!
__________________
Community Admin for Warzone.nu
http://www.warzone.nu
Swedish Gaming Community since 2000
Zapy is offline
Send a message via Skype™ to Zapy
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode