One key freelook toggle and map reset

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
rileymartin
Posts: 40
Joined: Wed Jan 27, 2016 7:10 am

One key freelook toggle and map reset

Post by rileymartin »

Hey! Is there a way to make a key toggle vertical aiming on and off with a single press instead of holding it down? PRBoom+ has the feature where one button lets you switch between classic horizontal and freelook views. Likewise, is there a way to bind say the Home key to restart the level from a pistol start instead of having to type idclev or warp to restart the same map? Cheers!
User avatar
AFADoomer
Posts: 1322
Joined: Tue Jul 15, 2003 4:18 pm
Contact:

Re: One key freelook toggle and map reset

Post by AFADoomer »

For the first part, binding a key to "toggle freelook; centerview" should work

For the second, using the map console command with '*' as the map name reloads the current map Try: bind home "map *"
rileymartin
Posts: 40
Joined: Wed Jan 27, 2016 7:10 am

Re: One key freelook toggle and map reset

Post by rileymartin »

Thanks for that; both are working like I wanted them to!
Post Reply

Return to “General”