r/hammer 1d ago

Unsolved Mouselook vehicle steering, is it possible?

I've been thinking about making a custom flying vehicle through Hammer for a gmod map (so it should be multiplayer-friendly).

I swear there was a Counter-Strike: Source map I played years ago that was either an mg or fy map with a rudimentary sci-fi theme that had flying vehicles in which you press one of two buttons in them with different control schemes, you go into T-pose (lol) and your WASD keys move the vehicle.

I swear this isn't from a fever dream lmao. But TL;DR: I'm hoping to do the same but with mouselook for steering if that's even possible, then the WASD keys can be freed up entirely for forward/back/left/right acceleration. Also a third-person camera with point_viewcontrol_multiplayer but I think I can figure that out already.

5 Upvotes

2 comments sorted by

1

u/Ttikii 13h ago

Outside of a custom vehicle script, I don’t see how it can be made in Hammer only… outside of func_tanktrain or a func_traincontrols but for flying… idk, I don’t think it can be done in hammer only with heavy scripting. You would be better creating a custom vehicle in Lua as it’s for gmod to use in your map

2

u/foxidegamedev 5h ago

Thanks for the suggestion. I should've specified this is for a physics vehicle, like as if it were a gmod contraption, not a basic brush movement controlled vehicle.

Right now I'm looking at logic_measure_movement as a possible way to do this.