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

[CS:GO] Thirdperson


Post New Thread Reply   
 
Thread Tools Display Modes
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-05-2014 , 17:55   Re: [CS:GO] Thirdperson
Reply With Quote #11

Totally untested (since I don't run a CS:GO server), but it tries to make sure sv_allow_thirdperson is set every map change and address the issue where players are stuck in thirdperson after death. Uses SDKHooks to tell when a player has taken damage.
Attached Files
File Type: sp Get Plugin or Get Source (csgo_thirdperson.sp - 916 views - 2.2 KB)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 06-05-2014 at 17:57.
Powerlord is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 06-05-2014 , 18:43   Re: [CS:GO] Thirdperson
Reply With Quote #12

Quote:
Originally Posted by Powerlord View Post
Totally untested (since I don't run a CS:GO server), but it tries to make sure sv_allow_thirdperson is set every map change and address the issue where players are stuck in thirdperson after death. Uses SDKHooks to tell when a player has taken damage.
I was still stuck in thirdperson after dying

I have to type in console "firstperson" to fix it
__________________

Last edited by PresidentEvil; 06-05-2014 at 18:46.
PresidentEvil is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 06-05-2014 , 18:54   Re: [CS:GO] Thirdperson
Reply With Quote #13

This is the version that I made for my CS:GO server, is based on shavit´s code with CS:GO fixes made by me like thirdperson mode of CS:GO, set firstperson on dead, set sv_allow_thirdperson in 1 and chat colors fix
Attached Files
File Type: sp Get Plugin or Get Source (thirdperson_csgo.sp - 1751 views - 4.4 KB)
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 07-17-2015 at 10:35.
Franc1sco is offline
Send a message via MSN to Franc1sco
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-05-2014 , 19:35   Re: [CS:GO] Thirdperson
Reply With Quote #14

Quote:
Originally Posted by PresidentEvil View Post
I was still stuck in thirdperson after dying

I have to type in console "firstperson" to fix it
Hmm... well, if firstperson actually works when you're dead, I could just change it to use the player_death event... I was trying to get it to activate right before you died.

Anyway, Franc1sco's version already does that, so... *shrug*
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Chesterfield
Senior Member
Join Date: Apr 2013
Old 06-05-2014 , 19:45   Re: [CS:GO] Thirdperson
Reply With Quote #15

Quote:
Originally Posted by Powerlord View Post
Hmm... well, if firstperson actually works when you're dead, I could just change it to use the player_death event... I was trying to get it to activate right before you died.

Anyway, Franc1sco's version already does that, so... *shrug*
We still appreciate your work man!
Chesterfield is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 06-05-2014 , 19:48   Re: [CS:GO] Thirdperson
Reply With Quote #16

Quote:
Originally Posted by Powerlord View Post
Hmm... well, if firstperson actually works when you're dead, I could just change it to use the player_death event... I was trying to get it to activate right before you died.

Anyway, Franc1sco's version already does that, so... *shrug*
Yeah, I should have posted my plugin before, sry xD and thanks for your interest in the topic
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 06-06-2014 , 00:34   Re: [CS:GO] Thirdperson
Reply With Quote #17

Franc1sco your plugin fixed the dead camera but once you use thirdperson, you always respawn in thirdperson even if you pick firstperson
__________________

Last edited by PresidentEvil; 06-06-2014 at 00:39.
PresidentEvil is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 06-06-2014 , 05:41   Re: [CS:GO] Thirdperson
Reply With Quote #18

Quote:
Originally Posted by PresidentEvil View Post
Franc1sco your plugin fixed the dead camera but once you use thirdperson, you always respawn in thirdperson even if you pick firstperson
Tested and that not occur, only if you have set thirdperson when you die, you will appear with thirdperson in the next spawn, but if you have set firstperson then you will spawn with firstperson
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
Chesterfield
Senior Member
Join Date: Apr 2013
Old 06-07-2014 , 12:33   Re: [CS:GO] Thirdperson
Reply With Quote #19

Hey Francisco, your plugin works just great, i wanted to ask you (maybe i'm dreaming too much) if you could adjust the cam when using the Thirdpersoon, as you probably know if you play with c_thirdpersonshoulder, the bullets doesn't go where you aim, it's such a weird problem, if you aim to a place, the bullet will go far away from the place you're aiming, like the place where is the crosshair is not actually the place where you're aiming, do you know if there's a possibility to fix those things that Valve couldn't fix in years with a plugin or something? it would be amazing!

Thanks in advance!
Chesterfield is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 06-07-2014 , 12:35   Re: [CS:GO] Thirdperson
Reply With Quote #20

Quote:
Originally Posted by Chesterfield View Post
Hey Francisco, your plugin works just great, i wanted to ask you (maybe i'm dreaming too much) if you could adjust the cam when using the Thirdpersoon, as you probably know if you play with c_thirdpersonshoulder, the bullets doesn't go where you aim, it's such a weird problem, if you aim to a place, the bullet will go far away from the place you're aiming, like the place where is the crosshair is not actually the place where you're aiming, do you know if there's a possibility to fix those things that Valve couldn't fix in years with a plugin or something? it would be amazing!

Thanks in advance!
where did you get that cvar from? it doesnt exist in csgo...
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
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 10:40.


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