Forum

Help - "Dead Zone" Aiming style - Aim with fixed v

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Help - "Dead Zone" Aiming style - Aim with fixed v

Postby Alex » Sun Feb 13, 2011 6:35 pm

Hey guys,
First off, this is a wicked website, can't say how many good ideas it has given me, thanks to all the people who have made it. Second I'm trying to mod an aiming style in quake similar to more modern day FPS (like you would see in call of duty for example).

In essence, I don't want the crosshair to remain in the centre of the screen all the time, I want to separate mouse looking from aiming in a sense.

Ideally I'd like to be able to use the mouse to aim around a fixed viewpoint, but if the mouse is aimed towards the perimeter of the screen, then it starts to behave more like a normal mouse (in that it starts to turn you/modify your actual viewing angle).

Does that make sense? I want to aim up/down/left/right etc. without actually LOOKING that way. The dead zones would be good too, but even just the ability to just aim with a fixed view would be useful.

I'd also like to do this using QuakeC if possible rather than engine modding since I have experience with the former and not the latter.

Any help would be appreciated.

Thanks,
Alex
Alex
 
Posts: 24
Joined: Sun Feb 13, 2011 6:24 pm

Postby MauveBib » Sun Feb 13, 2011 8:11 pm

If you're using darkplaces it can be done reasonably easily with a cl_prydoncursor, but if you want it to work in stock quake it's a lot harder. It can still be done, but it's not easy.
Apathy Now!
User avatar
MauveBib
 
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Postby Alex » Mon Feb 14, 2011 6:42 am

Awesome, I've got it working in DP, just ironing out some bugs now with traceline and bullets and whatnot.

Thanks a lot,

Alex
Alex
 
Posts: 24
Joined: Sun Feb 13, 2011 6:24 pm

Postby gnounc » Mon Feb 14, 2011 9:58 am

I'd like to see where you're going with this.
Oldschool arcade shooter like die hard for psx?
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Postby Eluan » Mon Feb 14, 2011 4:49 pm

You may look at the source code for QuakeGX (for Wii)
Eluan
 
Posts: 10
Joined: Sun Jun 15, 2008 9:03 am
Location: Florianópolis, Brazil

Postby Alex » Tue Feb 15, 2011 2:57 am

Ahh, Eulan, thanks for your work on Quake for the Wii, it's great. That's what actually got me started on this project in the first place and the aiming is really smooth.

Gnounc, an old school shooter is a cool idea and maybe I'll save that for a future project, but I plan to make a shooting simulation / training platform using the Wii remote.

Originally I was going to do the whole thing as a mod through the Wii, but after discovering a program called GlovePie that lets me connect my Wiimote to my PC I'll be using that instead. I plant to reconfigure my Wiimote into a platform something like this:

http://www.instructables.com/id/WeeP-5-Advanced-Zapper/

Except in my version the "gun buttons" (such as the bolt, trigger, magazine release - the actual functioning parts on the gun) will correspond to modded buttons in the game. So by simulaiton/training, I mean just that. A jam in the game will force you to clear your "weapon" in real life by working the bolt, taking out the mag, etc. When you're out of ammo in the game you'll have to take out your mag, load it in again, and chamber a round. Good for building muscle memory, and just for adding realism to the game. I can even utilize the wiimote's gyroscopes so that if you want to butt an enemy with your rifle you have to perform the action.

I needed to tweak the aiming due to how the wiimote will interact with the PC. If you let it behave just like a normal mouse it's either sluggish and non realistic or ultra-responsive and all you do is turn.

Hope that answers the question and makes sense, and thanks again for the info.

Alex
Alex
 
Posts: 24
Joined: Sun Feb 13, 2011 6:24 pm

Postby gnounc » Tue Feb 15, 2011 7:38 am

thats fucking awesome, i've always wanted a gun gun for shooters, where you had to change clips.
DO post your progress.
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest