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

Forum Thread
  Posts  
How to zoom Dialog subtitles with UIO (solved) (Games : Fallout: New Vegas : Mods : Vanilla UI Plus : Forum : Support & Feedback : How to zoom Dialog subtitles with UIO (solved)) Post Reply
Thread Options
Apr 25 2024 Anchor

Hello there,

Is there an option to change the color of dialogue subtitles to white while having the dialogue box remain in the HUD color (green)? Thanks a lot.

Okay, I've managed to change the subtitles color to white using

<systemcolor>0</systemcolor>
<red>255</red>
<green>255</green>
<blue>255</blue>
<alpha>255</alpha>

in dialog_menu.xml.

But I would also like to decrease the size of subtitles. How do I do that?

Apr 25 2024 Anchor

Glad to see you've managed to edit it your own. As for your question,

Open fonts.xml and change <_VUI+DialogFont> to a different font number. See the top of fonts.xml for an overview of the available fonts.

You can also use UIO's <zoom> property on <text> blocks. Eg, if you set <zoom> 120 </zoom> on a text block, the text will be 20% larger. VUI+ requires UIO, so there won't be a technical issue, but fonts are bitmaps and resizing may look blocky. Do try it though.

Apr 25 2024 Anchor

Thanks for the answer Axonis, I did try changing the <_VUI+DialogFont> paramater to different values, however non of that seems to work and subtitles stay the same size. Screenshot below shows subtitle size of 2.

22380 20240425193944 1

Here's what my looks like in Vanilla_UI_Extension\Menus\Dialog\dialog_menu.xml:

<rect name="DM_SpeakerText">
			<include src="VUI+\outline_rect.xml"/>
			<include src="VUI+\orphancontrol.xml"/>
			<id> 2 </id>
			<x> <copy src="screen" trait="width"/> <div> 2 </div> </x>
			<y> <copy src="DM_TopicList" trait="y"/>  </y>
			<font> <copy src="globals" trait="_VUI+DialogFont" /> </font>
			<systemcolor>0</systemcolor>
			<red>255</red>
			<green>255</green>
			<blue>255</blue>
			<alpha>255</alpha>
			<justify> &center; </justify> <!--VUI+ center, just like normal subtitles outside of dialog -->
			<depth> 2 </depth>
			<visible>
				<copy src="io" trait="_ShowingText"/>
				<and src="io" trait="_DialogVisible"/>
				<and src="io" trait="_ShowSubtitles"/>
			</visible>
			<target> 1 </target>
			<_VUI+OutlineIntensity> 3 </_VUI+OutlineIntensity> <!-- try values between 0.7 and 2.0 -->
			<_VUI+ShadowOffset> 1 </_VUI+ShadowOffset>
		</rect>
Apr 25 2024 Anchor

That's strange because the following line as seen in your excerpt...

<font> <copy src="globals" trait="_VUI+DialogFont" /> </font>

...does take its value from the fonts.xml file.

Anyway, you can change the font value here, eg.

<font> 4 </font>

Will use the Classic font (if you have installed the classic font option).

Apr 25 2024 Anchor

Managed to do what I want with the <zoom>60<<!--Axonis! :D

Here's the full config (from dialog_menu.xml) in case anyone needs a reference in the future:

<rect name="DM_SpeakerText">
			<include src="VUI+\outline_rect.xml"/>
			<include src="VUI+\orphancontrol.xml"/>
			<id> 2 </id>
			<x> <copy src="screen" trait="width"/> <div> 2 </div> </x>
			<y> <copy src="DM_TopicList" trait="y"/>  </y>
			<font> <copy src="globals" trait="_VUI+DialogFont" /> </font>
			<systemcolor>0</systemcolor>
			<red>255</red>
			<green>255</green>
			<blue>255</blue>
			<alpha>255</alpha>
			<justify> &center; </justify> <!--VUI+ center, just like normal subtitles outside of dialog -->
			<depth> 2 </depth>
			<visible>
				<copy src="io" trait="_ShowingText"/>
				<and src="io" trait="_DialogVisible"/>
				<and src="io" trait="_ShowSubtitles"/>
			</visible>
			<zoom>60</zoom>
			<target> 1 </target>
			<_VUI+OutlineIntensity> 0.7 </_VUI+OutlineIntensity> <!-- try values between 0.7 and 2.0 -->
			<_VUI+ShadowOffset> 1 </_VUI+ShadowOffset>
		</rect>

And a screenshot:

22380 20240425203805 1 Niestand

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.