Raised This Month: $ Target: $400
 0% 

thirdperson without set_view


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
watch
Senior Member
Join Date: Sep 2005
Old 10-13-2005 , 14:15   thirdperson without set_view
Reply With Quote #1

Im trying to find an alternative to using set_view(id, CAMERA_3RDPERSON) im not too fond of the tranlucentcy it gives the model (I guess thats so you can see where your aiming?)

i was wondering if there is a method create the thirdperson view by creating an entity that follows the player around which you attach your view too.

ive found KRoT@L's amx thirdperson plugin http://djeyl.net/forum/index.php?showtopic=41283 but im not entirely sure how to port it and my attempt just created a camera that didnt follow the player. I just want it for my server ive got no plans to release the code in a plugin

Any help appreciated, thanks
watch is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-13-2005 , 15:36  
Reply With Quote #2

Change the following:

Code:
#include <amxmod> #include <amxmisc> #include <VexdUM> #include <VexdUM_stock>

into:

Code:
#include <amxmodx> #include <amxmisc> #include <engine>
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
watch
Senior Member
Join Date: Sep 2005
Old 10-13-2005 , 16:02  
Reply With Quote #3

sorry forgot to mention i did that when i attempted.

It doesnt work it always makes a camera about waist height always facing in the same direction inside the player and doesnt follow them
watch is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-13-2005 , 20:53  
Reply With Quote #4

This is a way to get third person with out set_view
Attached Files
File Type: sma Get Plugin or Get Source (thridperson.sma - 795 views - 1.6 KB)
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 10-13-2005 , 21:21  
Reply With Quote #5

client_PreThink is the same thing as set_task really, it's called every client frame which is even worse than most set_task's.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
watch
Senior Member
Join Date: Sep 2005
Old 10-14-2005 , 14:23  
Reply With Quote #6

thanks Zenith but it doesnt seem to work

It stays in firstperson when i do the command, its installed right because it does the client_print
watch is offline
bahr
Member
Join Date: Aug 2005
Old 10-14-2005 , 18:58  
Reply With Quote #7

Watch:
Just in case you didnt notice, the code from Zenith is not complete...In showThird(id) you have to add the attach_view() somewhere!
bahr is offline
Send a message via MSN to bahr
watch
Senior Member
Join Date: Sep 2005
Old 10-14-2005 , 20:44  
Reply With Quote #8

ops sorry my bad

I tried adding attach_view in both showthird and prethink, they create the camera view at 0,0,0

have i missed something else ?
watch is offline
watch
Senior Member
Join Date: Sep 2005
Old 10-15-2005 , 11:35  
Reply With Quote #9

would another option be to enable sv_cheats and then block the other cheat commands? then people could use thirdperson

http://cheats.gamespy.com/pc-cheats/half-life/
watch is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-15-2005 , 15:11  
Reply With Quote #10

Ok sorry i cant fix this right now, i'm at a friends house, lol, i cant belive i forgot the most important part XD


But i will upload it when i get home.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 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 23:39.


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