Q2 func_door_rotating help

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.

Moderator: InsideQC Admins

Q2 func_door_rotating help

Postby franqutrass » Sat Aug 02, 2014 7:05 pm

Hello, I was wondering if anyone of you could help me, I want to add the option to open the doors by pressing "e", the thing is that I've been trying to adapt this code:, in order to make doors open by pressing "e" but it doesn't work. :?
User avatar
Posts: 69
Joined: Wed Dec 30, 2009 6:29 pm
Location: peru

Re: Q2 func_door_rotating help

Postby Knightmare » Fri Jan 04, 2019 6:04 pm

That tutorial link is now dead, and it looks like the Internet Archive's crawler never managed to grab it.

For adding a key to use an object, I'd recommend looking at the source of the Lazarus mod (included with the KMQuake2 source and also downloadable here). It implements a bindable "+use" key for activating various new entities, such as pushable crates and security monitors.

BTW, you should never hardcode a single key to a function in an id tech game, as some players will want to use that key for other purposes!
Posts: 63
Joined: Thu Feb 09, 2012 1:55 am

Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest