Try looking at this code: https://forums.alliedmods.net/showthread.php?t=72215

2009/6/5 Garion Hystek <[email protected]>:
>
> yeah i figured out how to use the mouse from the MP Chat window thing, as i 
> said before this is for SP. How cani get the camera to function the way i 
> want it... i assumed someones asked this before or someone here has done it 
> before
>
>> Date: Fri, 5 Jun 2009 13:53:30 +1000
>> From: [email protected]
>> To: [email protected]
>> Subject: Re: [hlcoders] RTS Camera
>>
>> When typing in multiplayer, it activates the mouse like you want by calling
>> SetMouseInputEnabled( true ); from a VGUI panel. You would probably have to
>> make the players funnily-shaped buttons.
>>
>> On Fri, Jun 5, 2009 at 12:53 PM, Garion Hystek 
>> <[email protected]>wrote:
>>
>> >
>> > hey guys...I'm trying to figure out how to get a RTS camera system in my
>> > HL2SP mod. So far I've found various references for drawing and updating 
>> > the
>> > mouse on screen, but how can i get the camera to function like a RTS 
>> > camera.
>> > Basicly i just want the mouse on screen and movement keys to move the 
>> > camera
>> > around.
>> > So far im making a custom HUD Component for the mouse. Another thing is how
>> > can i get the input for a mouse click, i searched through in_main and 
>> > didn't
>> > find much.
>> > Thanks
>> > _________________________________________________________________
>> > POP access for Hotmail is here! Click here to find out more
>> > http://windowslive.ninemsn.com.au/article.aspx?id=802246
>> > _______________________________________________
>> > 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
>>
>
> _________________________________________________________________
> Get the latest news, goss and sport Make ninemsn your homepage!
> http://windowslive.ninemsn.com.au/article.aspx?id=813730
> _______________________________________________
> 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

Reply via email to