[TF2/ANY?]Projectile Camera
1 Attachment(s)
[TF2/ANY?]Projectile Camera description : This plugin tracks the position of an entity owned from the player, pressing RELOAD Button you enable cam view in that point, when you release the button the cam will be destroyed. Player Commands: !fw Enable Fly view on entity ( just 1 time ) !camhelp Show help menu. CVARS: // camera model // - // Default: "models/props_spytech/security_camera.mdl" cam_model "models/props_spytech/security_camera.mdl" // hide cam model // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" hide_cam "1" // 0 to m_hOwnerEntity, 1 to m_hThrower // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" detect_owner "0" // Enable Fly View // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" flyview_enabled "1" // projectile type // - // Default: "tf_projectile_stun_ball" proj_type "tf_projectile_stun_ball" // spycam_enable? // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" spycam_enable "1" Change Logs: 1.0 initial version |
Re: [TF2/ANY?]Projectile Camera
Cool idea, well done! :)
|
Re: [TF2/ANY?]Projectile Camera
1 Attachment(s)
You have a small error in the plugin.
|
Re: [TF2/ANY?]Projectile Camera
Fixed ty for the report :D
|
Re: [TF2/ANY?]Projectile Camera
Would it be possible to fix the forward rotation with the baseball? Not sure if this occurs with any other projectiles but fixing the forward/backward angular rotation during flight would be a nice option to have (perhaps a convar to switch the rotation lock on/off?). Love the idea.
|
Re: [TF2/ANY?]Projectile Camera
i have done some test about using client eyes pos but it break the ball speed ( using z eyepos to 0.0) , so idk how fix it, that's why the !fw comand work 1 time only ... if you have in mind how fix it free to help me :)
|
Re: [TF2/ANY?]Projectile Camera
Sheepdude already made this type of plugin a long time ago. (With TF2 support)
https://forums.alliedmods.net/showthread.php?p=1863414 I haven't had the chance to try your version though. |
Re: [TF2/ANY?]Projectile Camera
the fly view like Sheepdude plugin is only an option ( is based only on SetClientViewEntity) , my plugin can be used with all the projectile type not only nade , it create an entity called spycam where you can use your client eyes position to spy enemies.
|
Re: [TF2/ANY?]Projectile Camera
omg, this is amazing! I did get an error while using....
L 02/13/2019 - 12: 31:56: [SM] Exception reported: Entity 240 (240) is invalid L 02/13/2019 - 12: 31:56: [SM] Blaming: spycam_view.smx L 02/13/2019 - 12: 31:56: [SM] Call stack trace: L 02/13/2019 - 12: 31:56: [SM] [0] GetEntPropEnt L 02/13/2019 - 12: 31:56: [SM] [1] Line 181, /home/forums/content/files/2/4/7/0/7/0/173717.attach::OwnerCheck L 02/13/2019 - 12: 31:56: [SM] [2] Line 194, /home/forums/content/files/2/4/7/0/7/0/173717.attach::OnGameFrame Additional, can you add another convar, so I can set the class has access to this? |
Re: [TF2/ANY?]Projectile Camera
// 0 to m_hOwnerEntity, 1 to m_hThrower
// - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" detect_owner "0" this with value to 1 do same error ? |
All times are GMT -4. The time now is 16:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.