Raised This Month: $32 Target: $400
 8% 

[CS:GO] GoSpec - Freelook for the Dead


Post New Thread Reply   
 
Thread Tools Display Modes
wolf414
Member
Join Date: Aug 2005
Location: WI
Old 10-21-2012 , 05:58   Re: [CS:GO] GoSpec - Freelook for the Dead
Reply With Quote #31

Thanks for the plugin! I was waiting for this one. : )
wolf414 is offline
Send a message via MSN to wolf414
venom27
Junior Member
Join Date: Oct 2012
Old 10-21-2012 , 06:38   Re: [CS:GO] GoSpec - Freelook for the Dead
Reply With Quote #32

Hi I was wondering why does the plugin only allow me to free load when i go spec, does it not work when you are a dead player also ?
venom27 is offline
charrer
Junior Member
Join Date: Mar 2012
Old 10-21-2012 , 11:26   Re: [CS:GO] GoSpec - Freelook for the Dead
Reply With Quote #33

Quote:
Originally Posted by venom27 View Post
Hi I was wondering why does the plugin only allow me to free load when i go spec, does it not work when you are a dead player also ?
Works on spec and when you're dead.

Also as an improvement, i would like to see all the player names above their heads while in freelook, like when you're aiming at someone. Would make work for admins way easier, not sure if such can be implemented but looking forward to that
charrer is offline
bman87
Senior Member
Join Date: Dec 2008
Location: Michigan
Old 10-22-2012 , 12:54   Re: [CS:GO] GoSpec - Freelook for the Dead
Reply With Quote #34

Quote:
Originally Posted by joshtrav View Post
Instead of doing a constant timer loop, you can just register spec_mode as a client command and return Plugin_Handled. Just figured I would toss that out there as it would considerably lighter overall.
I used this suggestion and this seems to have fixed the bugs with the OP plugin.

Weird bugs I noticed using the timer:
*Defuser kit showing up
*First person not rendering the world properly or some entities not rendering
*Sometimes spectators could be invisible players (Griefing* Blocking doorways, grenades)

All of this seems to be fixed, and the plugin is cleaner and simpler.
bman87 is offline
peewee41
Member
Join Date: Jul 2009
Old 10-25-2012 , 19:55   Re: [CS:GO] GoSpec - Freelook for the Dead
Reply With Quote #35

Quote:
Originally Posted by joshtrav View Post
Instead of doing a constant timer loop, you can just register spec_mode as a client command and return Plugin_Handled. Just figured I would toss that out there as it would considerably lighter overall.
Would this be the way to do it then?

Code:
#include <sourcemod>
#include <sdktools>

#define TEAM_SPEC 1
#define TEAM_T 2

#define SPECMODE_FIRSTPERSON 4
#define SPECMODE_THIRDPERSON 5
#define SPECMODE_FREELOOK 6

new g_iLast[MAXPLAYERS + 1];

public Action:OnClientCommand(client, args)
{
	new String:cmd[16];
	GetCmdArg(0, cmd, sizeof(cmd));	/* Get command name */
	
	if (StrEqual(cmd, "spec_mode"))
	{
		for (new i = 1; i <= MaxClients; i++)
		{
			if (!IsClientInGame(i) || IsPlayerAlive(i))
				continue;

			new mode = GetEntProp(i, Prop_Data, "m_iObserverMode");

			if (mode == SPECMODE_FIRSTPERSON && g_iLast[i] == SPECMODE_THIRDPERSON)
			{
				SetEntProp(i, Prop_Data, "m_iObserverMode", SPECMODE_FREELOOK);
				g_iLast[i] = SPECMODE_FREELOOK;
			}

			else if (g_iLast[i] == SPECMODE_FREELOOK && mode != SPECMODE_FREELOOK)
			{
				SetEntProp(i, Prop_Data, "m_iObserverMode", SPECMODE_FIRSTPERSON);
				g_iLast[i] = SPECMODE_FIRSTPERSON;
			}

			else
				g_iLast[i] = mode;
		}
		
		return Plugin_Handled;
	}
	
	return Plugin_Continue;
}
peewee41 is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 10-26-2012 , 07:38   Re: [CS:GO] GoSpec - Freelook for the Dead
Reply With Quote #36

It seems this plugin has been evolving a lot since its initial release but it currently lacks a clear entrance and exit procedure. peewee41, you're on the right path but why not use a common button to close this instead? I'm using the use key now to return to regular spec mode without any timers.
__________________
databomb is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 10-27-2012 , 19:06   Re: [CS:GO] GoSpec - Freelook for the Dead
Reply With Quote #37

looks like the recent update made this obsolete
__________________
PresidentEvil is offline
venom27
Junior Member
Join Date: Oct 2012
Old 11-28-2012 , 18:18   Re: [CS:GO] GoSpec - Freelook for the Dead
Reply With Quote #38

When i use this plugin it only allows me to go freelook when i am in spectator. When i am dead i am still fixated at a player.
venom27 is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 12-01-2012 , 08:55   Re: [CS:GO] GoSpec - Freelook for the Dead
Reply With Quote #39

Quote:
Originally Posted by venom27 View Post
When i use this plugin it only allows me to go freelook when i am in spectator. When i am dead i am still fixated at a player.
You dont need the plugin anymore, the issue has been fixed by valve and you should be able to go in freelook on any server which allows it.
Nolongerinthegame is offline
venom27
Junior Member
Join Date: Oct 2012
Old 12-01-2012 , 16:36   Re: [CS:GO] GoSpec - Freelook for the Dead
Reply With Quote #40

can you tell me how to make my server so i can free look and look in third person? It seem that i can only look in first person
venom27 is offline
Reply


Thread Tools
Display Modes

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 01:22.


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