I always wanted to try 6dof with fast turns and selectable fov, and just recently I got that chance!
I detailed all the changes I made, hoping that this could be adopted by other source ports.
I have a working example applying these edits to the fitzquake_plus source port.
https://sites.google.com/site/quakeconfig/6dof-quake
Here are some key values it uses.
If any of these defines conflicts with what other mods or source ports use, they can be changed.
#define MOVETYPE_SIXDOF 12 // similar to WALK, but like Descent
There can only be one movetype set at a time, So there's a problem when you want to 6dof and noclip simultaneously.
When getting out of noclip it checks this bit-flag
#define FL_SIXDOF 8192
To know whether to go back to 6dof or walk after noclipping.
Perhaps I should just drop the MOVETYPE_SIXDOF, and just modify MOVETYPE_WALK to check for the FL_SIXDOF flag?
For the client side there's sixdof.
sixdof 0 means 2dof rotations (roll always zero, yaw is around world-z, pitch is around self-x)
sixdof 1 means 3dof rotations (yaw, pitch, roll are all self relative, like in Descent)
The qc mod sends a stuffcmd to switch this.
Please let me know what you think!
I detailed all the changes I made, hoping that this could be adopted by other source ports.
I have a working example applying these edits to the fitzquake_plus source port.
https://sites.google.com/site/quakeconfig/6dof-quake
Here are some key values it uses.
If any of these defines conflicts with what other mods or source ports use, they can be changed.
#define MOVETYPE_SIXDOF 12 // similar to WALK, but like Descent
There can only be one movetype set at a time, So there's a problem when you want to 6dof and noclip simultaneously.
When getting out of noclip it checks this bit-flag
#define FL_SIXDOF 8192
To know whether to go back to 6dof or walk after noclipping.
Perhaps I should just drop the MOVETYPE_SIXDOF, and just modify MOVETYPE_WALK to check for the FL_SIXDOF flag?
For the client side there's sixdof.
sixdof 0 means 2dof rotations (roll always zero, yaw is around world-z, pitch is around self-x)
sixdof 1 means 3dof rotations (yaw, pitch, roll are all self relative, like in Descent)
The qc mod sends a stuffcmd to switch this.
Please let me know what you think!
Comment