AdirBlaz Posted August 6, 2017 In Doom (using Zandronum) I've been using a custom crosshair pack to help myself get a balanced crosshair, and I make said crosshair a nice cyan color. It's distinct as-is, but sometimes I lose sight of it on certain blue textures/sprites. I've been wondering, is there anything around or any way to get the crosshair to be even more distinct? Maybe a different color someone may suggest, or if possible, give me a sorta script to slap into the console that maybe changes the crosshair's color over time? I have no idea how to do such script myself, sadly... tl;dr How do I make my crosshair stand out? 0 Share this post Link to post
SOSU Posted August 6, 2017 Probably a harsh pink is the way to go for you. 0 Share this post Link to post
scifista42 Posted August 6, 2017 (edited) crosshairhealth 0 bind r "crosshaircolor FFFF00" bind q "crosshaircolor 0000FF" This console script will change crosshair color upon pressing certain keys. Use such 2 colors that highly contrast with each other, so that whenever the crosshair's color matches the background, toggling it to the other color will immediately make it stand out. 0 Share this post Link to post
AdirBlaz Posted August 6, 2017 Nice, that'll work for me until I get something that makes it flash automatically or something. 0 Share this post Link to post
scifista42 Posted August 6, 2017 (edited) If you really want an automatically flashing crosshair, I can only think of doing it like this: crosshairhealth 0 alias runflash "set flash 1; crosshaircolor 0000FF; wait 8; crosshaircolor FFFF00; wait 8; test = $flash 1 runflash" bind r runflash bind q "set flash 0" Pressing R will make the crosshair flash automatically, and pressing Q will make it stop flashing. Warning: I'm not sure whether calling runflash within runflash creates a new process or executes within the old process - if the former, it is safe to let it run infinitely long, and if the latter, it may stop working or crash the game if you let it run for too long. Edited August 6, 2017 by scifista42 0 Share this post Link to post
AdirBlaz Posted August 6, 2017 Woo, thanks for that. Now all I gotta do is be an iffy thing that I am and set the yellow/blue colors to cyan/pink. But aside that, thanks! 0 Share this post Link to post
scifista42 Posted August 6, 2017 (edited) After one more quick test, I believe it is actually safe to let it run for infinitely long. Although if GZDoom kept track of nested calls regardless of whether they recursed or not, I may be wrong. 0 Share this post Link to post
AdirBlaz Posted August 6, 2017 I was kinda wondering how on earth changing the colors would crash the game, honestly, I'm pretty sure it's just automating a console command. 0 Share this post Link to post
scifista42 Posted August 6, 2017 My solution features a command calling itself over and over. I find it plausible that the engine could automatically keep some data about each iteration of the call, the data would accumulate over time, and either exceed some security limit or make the engine run out of memory. 0 Share this post Link to post
geo Posted August 6, 2017 (edited) Draw rabbits and arrows pointing to it along with text that reads "ENMZ die here" 1 Share this post Link to post
Voros Posted August 7, 2017 There should be animated crosshair support in GZDoom by default. 0 Share this post Link to post
wheresthebeef Posted August 7, 2017 Couldn't you draw a crosshair with a different colored outline? That's always the best way to layer text onto an image/video, why not your crosshair? 0 Share this post Link to post
printz Posted August 7, 2017 You can just create your own crosshairs. Knock yourself out. 0 Share this post Link to post