Please help to understand: how I can apply a texture overlay, like Helmet POV?
I understand that dds with texture calls from XML. And Helmet POV’s XML includes filename array with dds, but what script inside GECK refers to it?
I find a FormList with 30 potential overlays (same amount as in XML's texture array), but all of them is blank.
So i guess that overlays added in formlist with script, but not find any similar script inside HelmPOV…
All what I find about overlays inside Helmet POV:
HPOVMainScript Spoiler
; Apply overlay style
set HPOVListManager.element to currentItem
set HPOVListManager.inputList to HPOVOverlaysList
setStage HPOVListManager 0
set overlayIndex to HPOVListManager.index
setUIFloat "HUDMainMenu\_HPOVOverlayIndex" overlayIndex
HPOVConfigItemScript
Spoiler
; Init overlayset HPOVListManager.element to currentItem
set HPOVListManager.inputList to HPOVOverlaysList
setStage HPOVListManager 0
set HPOVConfig.currentOverlayIndex to HPOVListManager.index
set HPOVConfig.selectedOverlayIndex to HPOVListManager.index
HPOVConfigScript Spoiler ; Change Overlay
elseif menu == 10
if mode == 0
showMessage HPOVOverlayMenuMsg, selectedOverlayIndex
set mode to 1
; Show/Update overlay
setStage HPOVConfig 10
return
else
set button to getButtonPressed
if button == -1
return
endif
set mode to 0
; Previous Overlay
if button == 0
set menu to 10
set selectedOverlayIndex to selectedOverlayIndex - 1
set selectedOverlayIndex to (fmod selectedOverlayIndex overlayCount)
return
; Next Overlay
elseif button == 1
set menu to 10
set selectedOverlayIndex to selectedOverlayIndex + 1
set selectedOverlayIndex to (fmod selectedOverlayIndex overlayCount)
return
; Apply
elseif button == 2
set menu to 0
; Move Item to new overlay list
set HPOVListManager.element to currentItem
set HPOVListManager.inputList to HPOVOverlaysList
set HPOVListManager.index to selectedOverlayIndex
setStage HPOVListManager 1
set currentOverlayIndex to selectedOverlayIndex
return
; Cancel
elseif button == 3
set menu to 0
set selectedOverlayIndex to currentOverlayIndex
return
endif
endif
HPOVInitScript Spoiler if getGameLoaded == 1
set HPOVConfig.overlayCount to 1 + (getUIFloat "HUDMainMenu\_HPOVOverlayCount")
I can’t believe that apply single static texture on screen is soooo difficult task!
Please help me.