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

Obscura Cam (New 3rd Person) [v0.7]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 03-11-2016 , 16:05   Obscura Cam (New 3rd Person) [v0.7]
Reply With Quote #1

Hello, i decide that i will publish this 3rd person camera plugin.
This camera has alot more features than the current cameras available.

Change Log
Version 0.7:
*Made some of the code more efficent (Thanks to jhob94).
Version 0.6:
*Improved the way the camera is removed.
*Fixed a bug when the player disconnected. it would say "invalid player".
Version 0.5:
*Fixed a bug in removing the camera.
Version 0.4:
*Reworked the code with various fixes.
*Now using engines think + other things.
*You can now set your cam when you arent alive and your camera will be set on spawn.
*Colored prints added.
*Removed global variable to handle entity, now using a different method.
*Your camera choice wont remove on spawn or kill. it will always be saved until next map.
Version 0.3:
*Removed supported mods, use natives with subplugins to support your own mode.
Version 0.2:
*Added new cvar (cam_forced).
*Removed some code/added some code, just some small fixes.

Commands
  • say /cam
  • sayteam /cam

Natives
  • set_user_camera(id, ThirdPerson) *1/0
  • get_user_camera(id) *Returns 1 if true, else 0

Cvars
  • cam_distance *Default: 150.0, Changes the distance of the camera.
  • cam_forced *Default: 0, forces the server to use 3rd person mode, cmd wont work, sets the cam at spawn.

Modules
  • Fakemeta
  • Engine
  • Hamsandwich

Pros
  • Toggle camera mode (Turn on/off with cmd /cam).
  • Super fast camera, like normal view.
  • Server manager can change distance of the camera with cvar.
  • Server manager can force 3rd person mode with cvar.
  • Natives to set/get camera mode.
  • Automatically sets the camera distance to player when close to wall. depending on camera_distance cvar.

Cons
  • The camera will lag depending on your ping in-game. (The entity will move slower).

Credits
  • Valve for "thirdperson" camera mode idea.
  • ConnorMcLeod for code to set new camera origin when close to wall.
  • Di57inct aka georgik57. (Ideas, Help)
  • Jhob94 (Code Improvement Suggestions)

Video

Attached Files
File Type: inc camera.inc (157 Bytes, 1514 views)
File Type: sma Get Plugin or Get Source (ObscuraCam_NativeExample.sma - 2267 views - 388 Bytes)
File Type: sma Get Plugin or Get Source (ObscuraCam_0.7.sma - 3551 views - 6.1 KB)
__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 04-03-2016 at 11:26.
SkumTomteN is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-11-2016 , 20:31   Re: 3rd Person Camera (Nani-Cam)
Reply With Quote #2

What is the difference of others versions?

Only include ??
EFFx is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 03-12-2016 , 04:21   Re: 3rd Person Camera (Nani-Cam)
Reply With Quote #3

Quote:
Originally Posted by EFFx View Post
What is the difference of others versions?

Only include ??
If you want to see in detail what is different, i suggest you compare it yourself.
__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 03-12-2016 at 07:16.
SkumTomteN is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-12-2016 , 12:15   Re: 3rd Person Camera (v0.3)
Reply With Quote #4

The code is different, but the model havent difference.
EFFx is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 03-12-2016 , 13:24   Re: 3rd Person Camera (v0.3)
Reply With Quote #5

Quote:
Originally Posted by EFFx View Post
The code is different, but the model havent difference.
Yeah, btw, you should wait for the 0.4 version, it has many bug fixes.

Edit: 0.4 is now released.
__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 03-12-2016 at 13:38.
SkumTomteN is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-12-2016 , 14:19   Re: 3rd Person Camera (v0.4)
Reply With Quote #6

I liked the native

But the CustomCamera i know make, is easy.

Of course, nice. Approved.

Last edited by EFFx; 03-12-2016 at 14:21.
EFFx is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 03-12-2016 , 15:32   Re: 3rd Person Camera (v0.4)
Reply With Quote #7

Quote:
Originally Posted by EFFx View Post
I liked the native

But the CustomCamera i know make, is easy.

Of course, nice. Approved.
0.5 released, fixed a bug where you couldnt go back to original cam.
__________________
Contact: Steam
Videos: Youtube
SkumTomteN is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-12-2016 , 15:39   Re: 3rd Person Camera (v0.5)
Reply With Quote #8

Amazing.

Arkshine, can you approve? haha
EFFx is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 03-12-2016 , 16:37   Re: 3rd Person Camera (v0.5)
Reply With Quote #9

Quote:
Originally Posted by EFFx View Post
Amazing.

Arkshine, can you approve? haha
He probably wont approve this, and i dont really care if he does.
__________________
Contact: Steam
Videos: Youtube
SkumTomteN is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-12-2016 , 16:49   Re: Obscura Cam (v0.5)
Reply With Quote #10

Just wait
EFFx 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 04:49.


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