Page 1 of 1
Highlighting tiles
Posted: Thu Mar 09, 2017 9:52 am
by Sedo
Does anyone know if it is possible to change the texture that is displayed when mousing over a tile (e.g., if I wanted to port the inkbrush square from SJ into P&S) in a modded campaign folder? I have altered the .dds files UI/Textures/Battle in a custom campaign folder, but when I load the campaign it seems to be displaying the originals.
-Sedo
Re: Highlighting tiles
Posted: Fri Mar 10, 2017 3:06 pm
by rbodleyscott
Sedo wrote:Does anyone know if it is possible to change the texture that is displayed when mousing over a tile (e.g., if I wanted to port the inkbrush square from SJ into P&S) in a modded campaign folder? I have altered the .dds files UI/Textures/Battle in a custom campaign folder, but when I load the campaign it seems to be displaying the originals.
-Sedo
If they are in
/DATA/UI/TEXTURES/BATTLE
in your campaign folder they should work.
Re: Highlighting tiles
Posted: Mon Mar 13, 2017 8:43 pm
by Sedo
Thanks Richard! I do have the modded textures in /DATA/UI/TEXTURES/BATTLE
However, only a few seem to be displaying correctly. For instance, in deployment mode, the eligible deployment tiles are highlighted with the modded texture, and when I turn on the LOS/LOF function the modified versions display correctly.
I noticed that these textures (the ones that work) are those that are called by SetTileDisplayTexture functions in Move.bsf and Callbacks.bsf respectively.
All other tile highlights, including the mouseover texture and eligible tiles to move to (after deployment) still show the original white highlights. I am working on a light colored tile set, and the white highights are hard to see, so I would like to mod them to something darker without altering the core files. Are these textures hardcoded, or are they referenced by a SetTileDisplayTexture function somewhere in the game code that I have not located yet?
Thanks for any information you have.
-Sedo
Re: Highlighting tiles
Posted: Tue Mar 14, 2017 7:36 am
by rbodleyscott
Sedo wrote:Thanks Richard! I do have the modded textures in /DATA/UI/TEXTURES/BATTLE
However, only a few seem to be displaying correctly. For instance, in deployment mode, the eligible deployment tiles are highlighted with the modded texture, and when I turn on the LOS/LOF function the modified versions display correctly.
I noticed that these textures (the ones that work) are those that are called by SetTileDisplayTexture functions in Move.bsf and Callbacks.bsf respectively.
All other tile highlights, including the mouseover texture and eligible tiles to move to (after deployment) still show the original white highlights. I am working on a light colored tile set, and the white highights are hard to see, so I would like to mod them to something darker without altering the core files. Are these textures hardcoded, or are they referenced by a SetTileDisplayTexture function somewhere in the game code that I have not located yet?
I believe their use is hard-coded. I am surprised, however, that they don't pick up on custom versions in your campaign. I will ask Pip.
Re: Highlighting tiles
Posted: Tue Mar 14, 2017 8:44 am
by pipfromslitherine
Unfortunately the loading of those textures doesn't use overrides. Sorry!
Cheers
Pip