Compare commits
5 Commits
d2b97a97dc
...
ace4edcc88
Author | SHA1 | Date | |
---|---|---|---|
ace4edcc88 | |||
d9fb9492c7 | |||
69da4522a9 | |||
68c6a351de | |||
be5b2e0902 |
BIN
mod/Cyberware 2281.url
(Stored with Git LFS)
BIN
mod/Cyberware 2281.url
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
8
src/CWxBionicEyesOnEquip.gek
Normal file
8
src/CWxBionicEyesOnEquip.gek
Normal file
@ -0,0 +1,8 @@
|
||||
scn CWxBionicEyesOnEquip
|
||||
|
||||
begin function { ref rEquipper, ref rEquipped }
|
||||
|
||||
let CWxBionicEyesQuest.heatShader1stPersonActive := 0
|
||||
let CWxBionicEyesQuest.heatShader3rdPersonActive := 0
|
||||
|
||||
end
|
@ -8,6 +8,7 @@ begin function { iMode }
|
||||
|
||||
SetOnKeyUpEventHandler CWxBionicEyesOnHotkey 1 CWxVisionModeHotkey
|
||||
SetOnControlDownEventHandler CWxBionicEyesOnHotkey 1 27 ; Grab
|
||||
SetEventHandler "OnActorEquip" CWxBionicEyesOnEquip
|
||||
|
||||
; Clear list of processed actors to reapply shaders
|
||||
if CWxVisionModeLevel > 0
|
||||
@ -18,6 +19,7 @@ begin function { iMode }
|
||||
else
|
||||
SetOnKeyUpEventHandler CWxBionicEyesOnHotkey 0 CWxVisionModeHotkey
|
||||
SetOnControlDownEventHandler CWxBionicEyesOnHotkey 0 27 ; Grab
|
||||
RemoveEventHandler "OnActorEquip" CWxBionicEyesOnEquip
|
||||
endif
|
||||
|
||||
end
|
||||
|
@ -244,8 +244,8 @@ Begin MenuMode 1059
|
||||
SetEventHandler "OnButtonDown:4111" CWxPanelOnButtonDown
|
||||
|
||||
if CWxPanelGamepadHintShown == 0 && GetController
|
||||
MessageBoxEx "Use D-pad to navigate:%rUP/DOWN - select a body part%rLEFT/RIGHT - select an implant slot%rA - show an implant menu"
|
||||
set CWxPanelGamepadHintShown to 1
|
||||
ShowMessage CWxPanelGamepadHelpMsg
|
||||
endif
|
||||
|
||||
if ListGetCount CWxImplantsAllList != ListGetCount CWxImplantsDescList
|
||||
|
@ -21,7 +21,7 @@ begin GameMode
|
||||
; As normal activation is temporarily disabled, we need to change it back to "Scan".
|
||||
|
||||
|
||||
if GetUIFloat "HUDMainMenu\_DUIF3" > 0 ; DarnUI
|
||||
if GetUIFloat "HUDMainMenu/_DUIF3" > 0 ; DarnUI
|
||||
|
||||
if eval GetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" != "Scan"
|
||||
SetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" "Scan"
|
||||
@ -64,7 +64,7 @@ begin GameMode
|
||||
; SetStage CWxScannerTextQuest 0
|
||||
|
||||
if rTarget == 0
|
||||
if GetUIFloat "HUDMainMenu\_DUIF3" > 0 ; DarnUI
|
||||
if GetUIFloat "HUDMainMenu/_DUIF3" > 0 ; DarnUI
|
||||
if eval GetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" == "Scan"
|
||||
SetUIFloat "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/visible" 0
|
||||
endif
|
||||
@ -82,7 +82,7 @@ begin GameMode
|
||||
|
||||
set iControl to GetControl 5
|
||||
|
||||
if GetUIFloat "HUDMainMenu\_DUIF3" > 0 ; DarnUI
|
||||
if GetUIFloat "HUDMainMenu/_DUIF3" > 0 ; DarnUI
|
||||
SetUIStringEx "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/_PCButtonText" "%k)" iControl
|
||||
SetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" "Scan"
|
||||
SetUIFloat "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/visible" 1
|
||||
|
@ -7,10 +7,16 @@ begin function {}
|
||||
EnableControl 5
|
||||
|
||||
if GetActiveMenuMode == 0
|
||||
if GetUIFloat "HUDMainMenu/_DUIF3" > 0 ; DarnUI
|
||||
if eval GetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" == "Scan"
|
||||
SetUIFloat "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/visible" 0
|
||||
endif
|
||||
else
|
||||
if eval GetUIString "HUDMainMenu/Info/justify_center_hotrect/string" == "Scan"
|
||||
SetUIFloat "HUDMainMenu/Info/justify_center_hotrect/visible" 0
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ResetQuest CWxScannerQuest
|
||||
StopQuest CWxScannerQuest
|
||||
|
Loading…
Reference in New Issue
Block a user