Additional Player Key

Discuss programming topics for the various GPL'd game engine sources.
Post Reply
timbobsteve
Posts: 15
Joined: Mon Oct 10, 2005 12:56 pm

Additional Player Key

Post by timbobsteve »

Hi All,

How would one go about adding an additional key to the quake engine. I know you can do it by making impulses in quakeC and the like... but I need to do a test like "while(NEW_KEY = PRESSED) do....."

I am looking at adding a lock on button where the player can hold it and it will auto target the enemy the player is focusing on.

Thanks for any help you can provide.

-Timbobsteve
Dr. Shadowborg
InsideQC Staff
Posts: 1120
Joined: Sat Oct 16, 2004 3:34 pm

Post by Dr. Shadowborg »

I made a tutorial during the last qExpo regarding this. Please reference:

http://qexpo.quakedev.com/booths.php?tag=dr-shadowborg

You'll want to go to the Tutorials section. What you want is Tutorial #2.

Hope that helps. :wink:
timbobsteve
Posts: 15
Joined: Mon Oct 10, 2005 12:56 pm

Post by timbobsteve »

Thanks Doc. Will take a look at this tonight and let you know if I have any troubles.

;)

Timbobsteve
Post Reply