Raised This Month: $ Target: $400
 0% 

Mouse doesn't change moving direction!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
doondook
Member
Join Date: Dec 2010
Old 04-13-2011 , 18:27   Mouse doesn't change moving direction!
Reply With Quote #1

Hi, I want to know is it possible to make mouse not to change moving direction? You know, like as spectator from third person. Moving by using only buttons, and by mouse you could view your player model form different angles.

I'll be glad if u give idea how to do it or link to similar plugin code.
doondook is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-14-2011 , 00:01   Re: Mouse doesn't change moving direction!
Reply With Quote #2

Like in World of Warcraft?
__________________
fysiks is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-14-2011 , 00:03   Re: Mouse doesn't change moving direction!
Reply With Quote #3

Do you mean 3rd Person view?
http://forums.alliedmods.net/showthread.php?t=65427
hornet is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-14-2011 , 00:39   Re: Mouse doesn't change moving direction!
Reply With Quote #4

I'm working on this and almost finished.

Just need help with 1 thing.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
doondook
Member
Join Date: Dec 2010
Old 04-14-2011 , 00:51   Re: Mouse doesn't change moving direction!
Reply With Quote #5

fysiks, exactly!

hornetI don't mean 3rd person.

Exolent[jNr], it's great that u r making it! I don't know how to work with vectors . Post here please if u r going to publish ur code
doondook is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 04-14-2011 , 01:03   Re: Mouse doesn't change moving direction!
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
Like in World of Warcraft?
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-14-2011 , 18:17   Re: Mouse doesn't change moving direction!
Reply With Quote #7

Here, try this.

You have to compile it yourself because it requires Orpheu to work.
You will need to install the Orpheu module: https://forums.alliedmods.net/showthread.php?t=116393
And you will need to install the PM Functions Pack: http://forums.alliedmods.net/showpos...6&postcount=13

Almost all of the camera code was from ConnorMcLeod in the 3rd Person View thread in Code Snippets/Tutorials.
Attached Files
File Type: sma Get Plugin or Get Source (hawk_view.sma - 657 views - 4.6 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 04-14-2011 at 19:51.
Exolent[jNr] is offline
padilha007
Senior Member
Join Date: Jul 2008
Old 04-14-2011 , 18:29   Re: Mouse doesn't change moving direction!
Reply With Quote #8

Tnx for sharing
__________________

padilha007 is offline
doondook
Member
Join Date: Dec 2010
Old 04-14-2011 , 22:52   Re: Mouse doesn't change moving direction!
Reply With Quote #9

Ty! But it works incorrectly at my server. I've installed Orpheu and fucntions, compiled your code ok, switched off 3rd person plugin, but it's just like CAMERA_TOPDOWN and mouse changes direction of movement, what could be a problem?
doondook is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-15-2011 , 00:15   Re: Mouse doesn't change moving direction!
Reply With Quote #10

I tested on my listen server and it worked just fine.

Explain how you want the camera view because I assumed it was a top-down style.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 20:10.


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