Raised This Month: $ Target: $400
 0% 

Third Person(and others) Viewmode


Post New Thread Reply   
 
Thread Tools Display Modes
Throstur
Senior Member
Join Date: Nov 2004
Location: Iceland
Old 09-23-2007 , 09:21   Re: Third Person(and others) Viewmode
Reply With Quote #41

Quote:
Originally Posted by BlackMilk View Post
Hmmm didn't see this one before.
How is this plugin better than the one that lets players say /cam or /camera and then choose either third person, birds-view camera or first person?
I don't know, either I haven't heard of it and it's newer, and therefore probably better, or I've argued about it with someone and proved my version to be more stable, either way, it's really none of my business. The administrator can pick whatever plugin he can based on what it does and how much the admin can fiddle with it, but as I said, I don't know what plugin you are talking about, so you'll just have to try them both and see for yourself which one is better.
__________________
Throstur is offline
Send a message via AIM to Throstur Send a message via MSN to Throstur
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 09-23-2007 , 11:32   Re: Third Person(and others) Viewmode
Reply With Quote #42

Here it is - http://forums.alliedmods.net/showthread.php?p=121912

I just thought I'd ask in case you already knew the plugin and could tell me why I should use yours instead of that.
__________________
Mod:
User:
BlackMilk is offline
Throstur
Senior Member
Join Date: Nov 2004
Location: Iceland
Old 09-26-2007 , 16:48   Re: Third Person(and others) Viewmode
Reply With Quote #43

Honestly, I don't care which one you use, I made this as a request, in any case, mine's newer and since the person who requested it preferred this over the old one, this one's probably better - but that do I know, I haven't touched CS for a long time.
__________________
Throstur is offline
Send a message via AIM to Throstur Send a message via MSN to Throstur
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 09-27-2007 , 11:15   Re: Third Person(and others) Viewmode
Reply With Quote #44

Quote:
Originally Posted by Throstur View Post
Honestly, I don't care which one you use, I made this as a request, in any case, mine's newer and since the person who requested it preferred this over the old one, this one's probably better - but that do I know, I haven't touched CS for a long time.
Wow, take it easy man, I was wondering why you posted this when there was a plugin out there which already does the same, and it's not my fault or problem if you don't know it.

And if you don't care which is used, why post it at all? Why not just give a few reasons why your plugin is better?
__________________
Mod:
User:
BlackMilk is offline
s3r
Senior Member
Join Date: Aug 2007
Old 10-08-2007 , 14:08   Re: Third Person(and others) Viewmode
Reply With Quote #45

v3a when in third view firstperson doesnt work
s3r is offline
Throstur
Senior Member
Join Date: Nov 2004
Location: Iceland
Old 10-08-2007 , 14:58   Re: Third Person(and others) Viewmode
Reply With Quote #46

I posted this plugin while I still played CS and such. I don't anymore.

---

@s3r: If it works in v2, then I have absolutely no idea what's wrong. If it doesn't, you either set it up right or AMXX doesn't support it anymore.
__________________
Throstur is offline
Send a message via AIM to Throstur Send a message via MSN to Throstur
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-05-2007 , 16:02   Re: Third Person(and others) Viewmode
Reply With Quote #47

No pcvars ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Throstur
Senior Member
Join Date: Nov 2004
Location: Iceland
Old 12-06-2007 , 10:13   Re: Third Person(and others) Viewmode
Reply With Quote #48

Mainly pcvars.
__________________
Throstur is offline
Send a message via AIM to Throstur Send a message via MSN to Throstur
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-06-2007 , 11:58   Re: Third Person(and others) Viewmode
Reply With Quote #49

I can't understand that part of code :
Code:
    register_cvar("amx_viewmode_force","0")     upleft = (get_cvar_num("amx_viewmode_force") == 2)     topdown = (get_cvar_num("amx_viewmode_force") == 3)     thirdperson = (get_cvar_num("amx_viewmode_force") == 1)

Also, where/when is your function Event_Reset called ?

I guess you only need 2 cvars, something like that :
Code:
#include <amxmodx> #include <engine> #define ADMIN_CAM    ADMIN_LEVEL_B /* #define CAMERA_NONE     0 #define CAMERA_3RDPERSON    1 #define CAMERA_UPLEFT   2 #define CAMERA_TOPDOWN  3 */ new amx_viewmode, amx_viewmode_force public plugin_precache() {     precache_model("models/rpgrocket.mdl") } public plugin_init() {     register_plugin("Third Person", "1.1", "Throstur")     amx_viewmode = register_cvar("amx_viewmode","1")     amx_viewmode_force = register_cvar("amx_viewmode_force","0") // 0:deactivated, 1:3rd person, 2:UpLeft, 3:TopDown     register_clcmd("say /thirdperson","fnView_Thirdperson")     register_clcmd("say /firstperson","fnView_Firstperson")     register_clcmd("say /randomview","fnView_Random") } public fnView_Thirdperson(id) {     if(!get_pcvar_num(amx_viewmode))         return     new force = get_pcvar_num(amx_viewmode_force)     if(!force || get_user_flags(id) & ADMIN_CAM )         set_view(id,CAMERA_3RDPERSON)     else         set_view(id, force) }
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 12-06-2007 at 12:13.
ConnorMcLeod is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 12-07-2007 , 05:22   Re: Third Person(and others) Viewmode
Reply With Quote #50

hi connor,

what is this cool code you have here? If it has improvements i'd switch to this, though v2 works very well and thanks to Throstur for this breathtaking plugin, that i have on my server for years now.
cs1.6 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 14:27.


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