Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] Simple Dynamic Crosshair

Author
Message
Sasuke
18
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 30th Apr 2008 03:34 Edited at: 30th Apr 2008 03:34
It's a simple dynamic crosshair that scales when you move.



Just replace G_bActorMoveStatus with your controls, something like WASD setup(if keystate(17)>0 or keystate(31)>0 or keystate(30)>0 or keystate(32)>0) and true/false are constants true being 1 and false being 0. Enjoy

A dream is a fantasy, if you achieve that dream it was never a dream to begin with.
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 20th Jul 2008 19:57
Sounds interesting Could you post a simple example of it in action?

Sasuke
18
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 25th Jul 2008 17:36 Edited at: 25th Jul 2008 17:37
Been awhile since I made that, hmm... let me see?

OK, think I remember, here it goes:


That should work fine I think, give it a try.

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.

Login to post a reply

Server time is: 2024-11-22 07:50:16
Your offset time is: 2024-11-22 07:50:16