Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » Background image holder for Resolution scaling
Background image holder for Resolution scaling[message #366153] Tue, 11 June 2024 11:17 Go to next message
MrStitch is currently offline MrStitch

 
Messages:20
Registered:September 2018
im working on a basic visual mod at present and need to ask. when changing resolutions there is a large portion of the screen that leaves a black empty space due to lacking graphics to place hold scaling.. its just black. this is mostly noticeable when you look at the the main characters bar during real time and also the loading screens. im looking for a way to replace the black with an image of some sort to fill in the rest of the screen. how would this be possible or is there a file i can just copy paste over?

Report message to a moderator

Private 1st Class
Re: Background image holder for Resolution scaling[message #366156 is a reply to message #366153] Fri, 14 June 2024 14:21 Go to previous messageGo to next message
Hawkeye is currently offline Hawkeye

 
Messages:2424
Registered:October 2005
Location: Australia
In regard to loading screens you should be able to use widescreen images now. I know we updated them in the Vengeance:Reloaded mod to use them which are then defined in the JA2_Options.ini on how they are handled as below;


USE_EXTERNALIZED_LOADSCREENS = TRUE

;----------------------------------------------------------------------------------------------------------------------- -------
; How to stretch loadscreen for various aspect ratios?
; 0 - vanilla, stretch to fit in both dimensions
; 1 - fit to height, keep aspect ratio (will display black bars on sides in wider resolutions)
; 2 - fit to width, keep aspect ratio (will cut off top and bottom of the image)
;----------------------------------------------------------------------------------------------------------------------- -------

LOADSCREEN_STRETCH_MODE = 1

I believe this code was carried over to later versions of the 1.13 build too. With Vengeance most of our newer loadscreens are now 1920 x 1080 pixels and are just downscaled for players using lower resolutions.


Report message to a moderator

Lieutenant

Re: Background image holder for Resolution scaling[message #366157 is a reply to message #366156] Sat, 15 June 2024 03:30 Go to previous message
MrStitch is currently offline MrStitch

 
Messages:20
Registered:September 2018
Thanks Hawkeye. I looked in the.ini and see the values to change and now the loading screens are working. Ive modded the options screen background as well but that doest scale. its an .sti file perhaps why. But what i really want to know is how to place an image file over the black background in general. This has been very helpful. but the black stuff really erks me. there was a mod for Arcanum and i think fallout 1 that managed to replace the black with a texture but i would like to retexture it so it fits the form of the UI where its missing.

Report message to a moderator

Private 1st Class
Previous Topic: Problem with new vehicle shadows.
Next Topic: Creating tiles quick and easy
Goto Forum:
  


Current Time: Wed Jun 19 00:06:39 GMT+3 2024

Total time taken to generate the page: 0.00984 seconds