Not done any modding for source in a while and done literally none for Alien Swarm but if I remember correctly there was a function called ApplyMouse() in in_mouse.cpp (or in_main.cpp) that should help you. I haven't looked at the alien swarm code so it might be in a different file that extends on top of these files.
On Sat, Nov 20, 2010 at 7:21 PM, Caleb Smith <mastersmit...@msn.com> wrote: > I’m working on a 2D Contra-style-platformer using ASW as my base. So far > I’ve changed the perspective and other little details, but the major issue > is getting the marine to look/shoot up and down instead of side to side. I’m > not entirely sure how I should go about changing this. Are the mouse > movements transformed into world space and then applied to the marine eye > angles? or is something else going on? > > The code I’m looking at is in the TurnTowardsMouse and > ComputeNewMarineFacing functions. I also found that the pitch aspect of the > marine’s angles isn’t being used at all and is stored in the roll aspect for > some reason. > > Has anyone else run into the same problems or know how to fix this? > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders