A Fallout 3 and New Vegas mod that greatly improves the user interface without compromising the original style.

Forum Thread
  Posts  
How to get the color of the reticle when aiming at enemies (solved) (Games : Fallout: New Vegas : Mods : Vanilla UI Plus : Forum : Support & Feedback : How to get the color of the reticle when aiming at enemies (solved)) Post Reply
Thread Options
May 20 2024 Anchor

Hello! I’m trying to apply the reticle color to the Dynamic Crosshair mod for Fallout 3. So far I have found out that "HUDMainMenu\ReticleCenter\Reticle_Center\systemcolor" changes from 1 to 2 when aiming at an enemy so naturally I tried to add this value to like this:

<systemcolor> <copy src="Reticle_Center" trait="systemcolor" /> </systemcolor>

Strange enough in the hud_main_menu.xml I can’t even see this child of ReticleCenter:

<rect name="ReticleCenter">
	<id> &noglow_branch; </id>
	<systemcolor> &hudmain; </systemcolor>
	<width> 63 </width>
	<height> 75 </height>
</rect>

So there is the parent ReticleCenter and it seems like there is a child named Reticle_Center. And only the systemcolor of the child changes when aiming at an enemy.

I don’t know what to do with this information but I wanted to ask if someone could help me out on this. Thank you!

Edit: All right, so I have manually set the systemcolor of AccuracyCross to 2 and it changed that color to red! So it seems like I somehow screw up copying the value from Reticle_Center to AccuracyCross.

I have also found out that changing the systemcolor in-game doesn’t actually change color of the crosshair even though if you use the GetUIFloat command you can see that the value has indeed changed. I can’t figure out the probleme here.

Edited by: borisbaer

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.