RE: [hlcoders] Coded Ironsights

2006-10-25 Thread Matt Boone
In your view model class, find CalcViewModelView. You can change the eyePosition vector before it gets passed into SetLocalOrigin. ( or passed into the BaseClass if you have a custom view model class ) With that you can get an offset from the weapon and modify its onscreen position however you lik

[hlcoders] Coded Ironsights

2006-10-25 Thread Stephen Swires
Hello, I'm going to put this subject back up because I don't have skills as an animator or modeler to do this with. I want to have a similar system to what SMOD has where it offsets the view model by an angle (of some sort), but I am oblivious on how to do this myself. Any help with doing this wi

Re: [hlcoders] accessing options/find servers

2006-10-25 Thread Paul Peloski
-- [ Picked text/plain from multipart/alternative ] Well first off, you don't need to navigate to the game ui panel from PANEL_ROOT, you can use enginevgui->GetPanel( PANEL_GAMEUIDLL ); Regarding SendMessage it looks like the KeyValues needs to be named "Command" and the key/value pairs are just