AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Mouse doesn't change moving direction! (https://forums.alliedmods.net/showthread.php?t=154834)

doondook 04-13-2011 18:27

Mouse doesn't change moving direction!
 
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.

fysiks 04-14-2011 00:01

Re: Mouse doesn't change moving direction!
 
Like in World of Warcraft?

hornet 04-14-2011 00:03

Re: Mouse doesn't change moving direction!
 
Do you mean 3rd Person view?
http://forums.alliedmods.net/showthread.php?t=65427

Exolent[jNr] 04-14-2011 00:39

Re: Mouse doesn't change moving direction!
 
I'm working on this and almost finished.

Just need help with 1 thing.

doondook 04-14-2011 00:51

Re: Mouse doesn't change moving direction!
 
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

wrecked_ 04-14-2011 01:03

Re: Mouse doesn't change moving direction!
 
Quote:

Originally Posted by fysiks (Post 1449266)
Like in World of Warcraft?

http://i52.tinypic.com/9uysli.png

Exolent[jNr] 04-14-2011 18:17

Re: Mouse doesn't change moving direction!
 
1 Attachment(s)
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.

padilha007 04-14-2011 18:29

Re: Mouse doesn't change moving direction!
 
Tnx for sharing :)

doondook 04-14-2011 22:52

Re: Mouse doesn't change moving direction!
 
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?

Exolent[jNr] 04-15-2011 00:15

Re: Mouse doesn't change moving direction!
 
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.


All times are GMT -4. The time now is 20:10.

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