AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [CS:GO] Thirdperson (https://forums.alliedmods.net/showthread.php?t=241532)

Chesterfield 06-04-2014 23:39

[CS:GO] Thirdperson
 
With the new update from CS:GO now you can enable the thirdperson by typing in console "sv_allow_thirdperson" but you must enable sv_cheats 1 to activate the thirdperson cam, my petition is if could someone make a plugin to turn on the thirdperson without turning on the sv_cheats!

Thanks in advance!

Biohazardsteven 06-05-2014 00:06

Re: [CS:GO] Thirdperson
 
Just to add some more information about this,

[ MISC ]
- The "thirdperson" and related commands are now executable by servers (for mods and plugins).
- Added a server convar (sv_allow_thirdperson) which allows servers to set players to third person mode.

Franc1sco 06-05-2014 09:29

Re: [CS:GO] Thirdperson
 
This commands in sourcemod works fine for set view on players since the last update :)
PHP Code:

ClientCommand(client"thirdperson"); 

PHP Code:

ClientCommand(client"firstperson"); 

You can test it writing !tp in chat in my CS:GO server http://cache.www.gametracker.com/ser...FFF_000000.png

Chesterfield 06-05-2014 12:35

Re: [CS:GO] Thirdperson
 
I'm noob wish i could know what to do with that !

PresidentEvil 06-05-2014 13:09

Re: [CS:GO] Thirdperson
 
i dont know sourcepawn, can someone upload a plugin

thecount 06-05-2014 13:53

Re: [CS:GO] Thirdperson
 
PHP Code:

#include <sourcemod>

public OnPluginStart(){
RegConsoleCmd("sm_tp"Command_Thirdperson"Sets thirdperson.");
RegConsoleCmd("sm_fp"Command_Firstperson"Sets firstperson.");
}

public 
Action:Command_Thirdperson (clientargs){
if(
IsPlayerAlive(client)){
PrintToChat(client"[SM] Thirdperson");
ClientCommand(client"thirdperson");
}else{
PrintToChat(client"[SM] Not alive.");
}
return 
Plugin_Handled;
}

public 
Action:Command_Firstperson (clientargs){
if(
IsPlayerAlive(client)){
PrintToChat(client"[SM] Firstperson");
ClientCommand(client"firstperson");
}else{
PrintToChat(client"[SM] Not alive.");
}
return 
Plugin_Handled;


Works?

PresidentEvil 06-05-2014 14:35

Re: [CS:GO] Thirdperson
 
Quote:

Originally Posted by thecount (Post 2147235)
PHP Code:

#include <sourcemod>

public OnPluginStart(){
RegConsoleCmd("sm_tp"Command_Thirdperson"Sets thirdperson.");
RegConsoleCmd("sm_fp"Command_Firstperson"Sets firstperson.");
}

public 
Action:Command_Thirdperson (clientargs){
if(
IsPlayerAlive(client)){
PrintToChat(client"[SM] Thirdperson");
ClientCommand(client"thirdperson");
}else{
PrintToChat(client"[SM] Not alive.");
}
return 
Plugin_Handled;
}

public 
Action:Command_Firstperson (clientargs){
if(
IsPlayerAlive(client)){
PrintToChat(client"[SM] Firstperson");
ClientCommand(client"firstperson");
}else{
PrintToChat(client"[SM] Not alive.");
}
return 
Plugin_Handled;


Works?

by default it doesn't work, the message pops up but you're still in firstperson, I had to set sv_cheats to 1 and then it works fine

I set sv_cheats back to 0, and the plugin still works, so I guess it needs a workaround when the plugin loads to set sv_cheats to 1 then back to 0 immediately, idk

Chesterfield 06-05-2014 15:16

Re: [CS:GO] Thirdperson
 
Tested it, and by default it actually works, it enables the thirdperson when i type sm_tp (without sv_cheats 1) the issues that i see with this is that you actually can't spectate people when you're on thirdperson and you died, could you fix that please? or make something to enable the firstperson automatically after you died?

Also, are there commands to adjust the cam? it would be nice to adjust the cam and "simulate" the "shoulder cam" from Gears of Wars, and if that's possible, could you force clients to automatically have that cam when typing "sm_tp" so they don't have to change commands manually!

Thanks in advance!

PresidentEvil 06-05-2014 15:40

Re: [CS:GO] Thirdperson
 
nvm your right,

I forgot to set sv_allow_thirdperson to 1

Chesterfield 06-05-2014 16:11

Re: [CS:GO] Thirdperson
 
Tested this command cl_thirdpersonshoulder 1, works buggy, the bullets doesn't go where you're aiming, it seems like it needs a configuration, does anybody know the proper commands for that camera?

EDIT:
Tested all possible combinations, it won't work correctly, damn Volvo.


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

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