Does PSP Quake Support Freelook?
Moderator: InsideQC Admins
4 posts
• Page 1 of 1
Does PSP Quake Support Freelook?
-Does PSP Quake v1.1 have it?
-If it does, can you tell me how to activate it?
-If it does not, can you help me add it?
Thanks.

-If it does, can you tell me how to activate it?
-If it does not, can you help me add it?
Thanks.
Last edited by DusterdooSmock on Sat Oct 23, 2010 3:45 pm, edited 1 time in total.
- DusterdooSmock
- Posts: 170
- Joined: Thu Aug 19, 2010 9:58 pm
Better to also add a "freelook" cvar, then use code like this:
And replace instances of "in_mlook.state & 1" in your input functions with "mouselooking"; for example:
There's one of those in cl_input.c that you need to catch too; it's not just in_win (or in_whatever).
- Code: Select all
qboolean mouselooking;
- Code: Select all
mouselooking = (in_mlook.state & 1) || freelook.value;
And replace instances of "in_mlook.state & 1" in your input functions with "mouselooking"; for example:
- Code: Select all
if ((in_strafe.state & 1) || (lookstrafe.value && mouselooking)) // mh
cmd->sidemove += m_side.value * mx;
else cl.viewangles[YAW] -= m_yaw.value * mx;
There's one of those in cl_input.c that you need to catch too; it's not just in_win (or in_whatever).
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
I'll say it again: Please use proper titles. This could have been "Free mouselook in PSPQuake?" or "Does PSPQuake support freelook"?
https://encrypted.google.com/search?q=pspquake+freelook would have been much quicker for you in any case.
https://encrypted.google.com/search?q=pspquake+freelook would have been much quicker for you in any case.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
- Spirit
- Posts: 1031
- Joined: Sat Nov 20, 2004 9:00 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest