[Solved] need help ui hud reticle - what xml control it ? picture inside

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Post Reply
bioscmos303
Posts: 31
Joined: Tue, 27. May 14, 00:12
x4

[Solved] need help ui hud reticle - what xml control it ? picture inside

Post by bioscmos303 » Sun, 29. Aug 21, 14:27

Solved i was busting my head here trying to find the xml to control it , just to change some Basic position for the hud reticle - https://imgur.com/a/6JYlTfl
well - its the last connection , all the way down inside the cockpits xmls .. 'con_crosshair
Image


Solved :lol:
thanks to user - John Colman

file : units_player_cockpit_1.xml /etc
connection name : con_crosshair
tags name : uianchor_crosshair

Code: Select all

<replace sel="/components/component[@name='units_player_cockpit_1']/connections/connection[@name='con_crosshair']/offset"> 
	<offset>
		<position x="3.084773E-05" y="0" z="2.286153"/>
		<quaternion qx="0.131611" qy="-0" qz="-0" qw="-0.9913015"/>
	</offset> 
	</replace> 
extra info :
i changed the long - position x="3.084773E-05
to - position x="3.084773 without the E-05 works better (for me at least)

in - ui\core\presentations\cockpit_crosshair\cockpit_crosshair.dae
Dae files for Blender import if needed
Last edited by bioscmos303 on Sun, 29. Aug 21, 17:12, edited 19 times in total.

bioscmos303
Posts: 31
Joined: Tue, 27. May 14, 00:12
x4

Re: need help ui hud reticle - what xml control it ? picture inside

Post by bioscmos303 » Sun, 29. Aug 21, 14:33

i know its under my nose please help

John Colman
Posts: 141
Joined: Sat, 3. Jan 15, 22:35

Re: need help ui hud reticle - what xml control it ? picture inside

Post by John Colman » Sun, 29. Aug 21, 16:11

Maybe uianchor_crosshair ?

bioscmos303
Posts: 31
Joined: Tue, 27. May 14, 00:12
x4

Re: need help ui hud reticle - what xml control it ? picture inside

Post by bioscmos303 » Sun, 29. Aug 21, 16:38

John Colman wrote:
Sun, 29. Aug 21, 16:11
Maybe uianchor_crosshair ?
yes !!! :lol: :lol: :lol: :lol: :) :) :o :P

thank you !!!!!!
the reason i didnt found it- because its the last connection all the way down last one on the xml list :shock:

thank you !! really made my day - now here is the code to control it so i will never forget it o7

Code: Select all

<replace sel="/components/component[@name='units_player_cockpit_1']/connections/connection[@name='con_crosshair']/offset"> 
	<offset>
		<position x="3.084773E-05" y="0" z="2.286153"/>
		<quaternion qx="0.131611" qy="-0" qz="-0" qw="-0.9913015"/>
	</offset> 
	</replace> 

Post Reply

Return to “X Rebirth - Scripts and Modding”