Thread: [TF2]Free Cam
View Single Post
Author Message
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 11-21-2020 , 15:11   [TF2]Free Cam
Reply With Quote #1

This plugin is intended to be used as a way for players on trade servers to see themselvs and its items from any angle. There are some settings to prevent it from beeing abused.
It was a paid request by Fearts who wanted it to be made public.

How to use it
The command is sm_freecam or sm_fc.
When you use the command a camera will be created. You can enable the camera control by pressing the Reload Key. It will allow you to drive the camera in a simmilar way you can do in spectator (I've done my best to make it smooth).

Cvars
fc_maxCameraDistance "300" // Max distance of the camera from the player. 0 to disable.
fc_displayBoundary "1" // How many rings should the Boundary display have.
fc_cameraSpeed "300" //Speed of the camera movement.
fc_spawnOnly "0" // Only allowed in spawn. (players can still leave the spawn with the command enabled)
fc_collide "0" // Should the camera collide with walls? This can be glitchy.

Changelog
+ 1.2.0
Fixed SMAC Speedhack false positive with MAGNAT2645's sugestion.
Smoothed camera movement while walking.
Camera will now point at the player while you are moving away from it.

+ 1.1.0
Minor fix to boundary display to prevent crash.

+ 1.0.0. Release.

Always use the latest version. Older versions are on the post merely as legacy code.
Attached Files
File Type: sp Get Plugin or Get Source (1.0.1 Freecam.sp - 504 views - 13.4 KB)
File Type: sp Get Plugin or Get Source (1.2.0-Freecam.sp - 187 views - 13.4 KB)
File Type: smx 1.2.0-Freecam.smx (13.0 KB, 198 views)
__________________
Add me for commissions!
Steam: [U:1:88621772]
Discord: lugui#0889
My Plugins

Last edited by lugui; 01-12-2021 at 13:21.
lugui is offline