Raised This Month: $ Target: $400
 0% 

Simple camera changer


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:         
Timmi the savage
Senior Member
Join Date: Jul 2004
Location: seattle
Old 09-24-2004 , 03:18   Simple camera changer
Reply With Quote #1

Camera View Change
Timmi teh savage
---------------------------------------------------
simple camera changer.

You can change camera angles and thats it for now.

type in console
thirdperson -- for 3rd Person Camera
topview -- for Top Down View
normalview -- back to Normal View

--not sure if this one works..
upview -- not sure as to what its for
Attached Files
File Type: sma Get Plugin or Get Source (camchange.sma - 3451 views - 731 Bytes)
Timmi the savage is offline
Send a message via Yahoo to Timmi the savage
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 09-24-2004 , 03:19  
Reply With Quote #2

post the .sma not the .amxx
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
Timmi the savage
Senior Member
Join Date: Jul 2004
Location: seattle
Old 09-24-2004 , 03:21  
Reply With Quote #3

ok
Timmi the savage is offline
Send a message via Yahoo to Timmi the savage
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 09-24-2004 , 04:06  
Reply With Quote #4

What exactly does this do, change your game play camera, like instead of being in a first person mode you can play in a 3rd person mode?

Code:
#include <amxmodx.inc> #include <engine.inc> #include <engine_const.inc> #include <amxmisc.inc>

That is also incorrect on the coding, just do

Code:
#include <amxmodx> #include <amxmisc> #include <engine>
__________________

BigBaller is offline
LizardKing
Member
Join Date: Sep 2004
Old 09-25-2004 , 08:56  
Reply With Quote #5

nice plugin with a little work this could be really cool.
first off when in topview u can only shoot at your feet, kinda pointless.
upview is really cool but the aim is just a little off (down and left).
and third person just doesnt work at all, i think its cuz the command "thirdperson" is already used by cs for sv_cheats1. So i think if you just change it to "thirdview" it should work fine.
Attached Files
File Type: zip screenshots.zip (632.4 KB, 880 views)
LizardKing is offline
Send a message via MSN to LizardKing
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 09-25-2004 , 09:00  
Reply With Quote #6

thirdperson is mod specific. set view or w/e isnt. thirdperson isnt something you wanna use.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
LizardKing
Member
Join Date: Sep 2004
Old 09-25-2004 , 09:09  
Reply With Quote #7

i like the upview, just that the aim is just a little off. and would be nice to force everyone to use upview.
LizardKing is offline
Send a message via MSN to LizardKing
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 09-25-2004 , 16:09  
Reply With Quote #8

Code:
    register_concmd("normalview", "normalangle")
Don't register commands as console commands. Register them as client console commands. (register_clcmd) because they shouldn't be run by server console.

Code:
public topdownanangle(id) {     set_view(id, CAMERA_TOPDOWN)     return PLUGIN_CONTINUE }

Command functions should end in "return PLUGIN_HANDLED" because otherwise you will get "unknown command" when you enter the command, although it may really do something.
Johnny got his gun is offline
LizardKing
Member
Join Date: Sep 2004
Old 09-25-2004 , 19:51  
Reply With Quote #9

im on listen server for testing so thats prolly different. when i type thirdperson it doesnt say unknown command it just does nothing at all
LizardKing is offline
Send a message via MSN to LizardKing
Timmi the savage
Senior Member
Join Date: Jul 2004
Location: seattle
Old 01-17-2005 , 23:08  
Reply With Quote #10

Ok i made all the changes. So it should be good now.
Timmi the savage is offline
Send a message via Yahoo to Timmi the savage
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 19:25.


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