+chase_active

Discuss programming topics for the various GPL'd game engine sources.
Post Reply
Cobalt
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA
Contact:

+chase_active

Post by Cobalt »

Has any engine out there made chase active yet as a button like this yet perhaps instead of a cvar?

I am curious as a test experiment to do this to an engine, is it possible and what file(s) would you have to modify to make this possible...as I am not yet an engine coder and am thinking this maybe would be something small I can wrap my mind around to try and do. That is , if I ever figure out the right setup to start compiling in....and I would probably try it in a DP type build situation.
ericw
Posts: 92
Joined: Sat Jan 18, 2014 2:11 am

Re: +chase_active

Post by ericw »

You can just do tihis in the console!

Code: Select all

alias +chase "chase_active 1"
alias -chase "chase_active 0"
bind p chase
Cobalt
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA
Contact:

Re: +chase_active

Post by Cobalt »

Hey not bad, thanks. Just tried that but wont work unless I bind "+chase" to the key but more or less accomplishes the same thing.

Still interested if anyone engine coding can describe how to make it a real key in the engine - just curioushow hard it is to do.
ericw wrote:You can just do tihis in the console!

Code: Select all

alias +chase "chase_active 1"
alias -chase "chase_active 0"
bind p chase
revelator
Posts: 2621
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: +chase_active

Post by revelator »

bakers engine has it as a key bind i think.
Productivity is a state of mind.
Post Reply