MuNgLo

crosshair
Crosshair Alternative

10 posts in this topic

So I just violated the default Crosshairs.lua and made it so I can use sliders to set colour under options. Both for the fill colour and the stroke outline.

I didn't bother keeping the cvars. It is all now saved in the config and only(?) customizable with the settings under options/widgets/CrosshairsMu.

Colour fill/stroke by health will override the slider settings.

   CrosshairsMu.zip

Updated 26/11-15  Added ugly hack to get stroke to work on all the default crosshairs. The more complex patterns will not have a uniform outline though. It is basically drawing the crosshair twice in slightly different sizes so the ouline will be either on the inside or outside.

5Jd76ht.png

Edited by MuNgLo
update
sim, sensi_ and MAD_JIHAD like this

Share this post


Link to post
Share on other sites

Updated with a fix. In some cases you could get an error when going to the widgets options screen. Resulting in having to restart game to get it back. Annoying stuff. Should be fixed with this version I hope.

--edit--

nvm. Still got the error once. Couldn't get it to show up after that though so I messed a bit with getting some stroke/outlines on all the other crosshairs that didn't have it. (Type 5 and up)

Share this post


Link to post
Share on other sites

hey I wanted this feature! thanks!

​If you get an error thrown about comparing string to number value on row 185, well I'm sorry. Haven't done anything Lua before. On a positive it works most times and if you get the error you can just restart the game. Just annoying as hell.

Share this post


Link to post
Share on other sites

I don't wanna sound like a dingus, but where do I extract the file too to get the color options and do I need to change console commands?

Share this post


Link to post
Share on other sites
On 2015-12-31 at 10:20 PM, BattleSnacks said:

I don't wanna sound like a dingus, but where do I extract the file too to get the color options and do I need to change console commands?

I am wondering to thankful for help :)

 

EDIT:

Oh just drop it in Base/Internal folder!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now