[CS:S] How is this thing called?.. How to disable it?

Please post any questions about developing your plugin here. Please use the search function before posting!
User avatar
iPlayer
Developer
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

[CS:S] How is this thing called?.. How to disable it?

Postby iPlayer » Sun Sep 18, 2016 7:54 pm

Hey there,

I'm currently fighting a little CS:S thingy that keeps your camera attached to your ragdoll after death. For about 5 or 6 seconds with the disabled freezecam.
With enabled freezecam things are more complicated. If there was an attacker, you'll get a nice view of your attacker, but there wasn't (suicide), you'll get same 5-6 seconds of viewing your own body.

Tried to play around with

Code: Select all

cl_disablefreezecam
on a client and

Code: Select all

sv_disablefreezecam
on a server, no luck so far.

The reason I'm asking is because the very moment the camera detaches from the body and goes to free-look, MoTD page gets reloaded - and that's really messes my MOTDPlayer behavior.

Is there any cvar to change the time your camera is attached to your ragdoll for or, maybe, completely disable it?

Thanks.
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
User avatar
D3CEPTION
Senior Member
Posts: 129
Joined: Tue Jan 26, 2016 1:24 pm
Location: Switzerland

Re: [CS:S] How is this thing called?.. How to disable it?

Postby D3CEPTION » Sun Sep 18, 2016 8:09 pm

why do you think freezecam is calling motd refresh?
User avatar
iPlayer
Developer
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Re: [CS:S] How is this thing called?.. How to disable it?

Postby iPlayer » Sun Sep 18, 2016 8:16 pm

I have no idea. Must be some weird behavior of the client.
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
User avatar
iPlayer
Developer
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Re: [CS:S] How is this thing called?.. How to disable it?

Postby iPlayer » Sun Sep 18, 2016 8:31 pm

Code: Select all

spec_freeze_time -99

Did the trick. What's interesting, simply setting it to 0 reduced the time I was freezecammed, but didn't completely disable it. With spec_freeze_time -99 I get out of freezecam instantly.

Problem solved, MoTD no longer refreshes.

Thanks.
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
User avatar
iPlayer
Developer
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Re: [CS:S] How is this thing called?.. How to disable it?

Postby iPlayer » Sun Sep 18, 2016 9:33 pm

Thanks! Will play around with that, too. But I believe if I set it manually on player_death, the game will still reset it 5 (spec_freeze_time) seconds later?
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 12 guests