Jump to content

[Script] Disabling Pipboy Light


Zorkaz

Recommended Posts

There are these game settings (setGS) you can experiment with in the console.
"Set xXXXX to <value>"
iPipboyColorB
iPipboyColorG
iPipboyColorR
bBlockPipboy
fTorchLightLevelInterior
fTorchLightLevelMorning
fTorchLightLevelNight
And there are two default objects (DFOB) in the Editor. No idea how to make use of them, maybe you do.

PipboyLightOverride_DO
PipboyLightOverrideKeyword_DO
Link to comment
Share on other sites

By the way, is it possible to determine if light is on (outside of scripts)? IsTorchOut condition doesn't seem to work, probably inapplicable even though single torch light in game is pipboy. Some graph variable maybe then?

Edited by hereami
Link to comment
Share on other sites

By the way, is it possible to determine if light is on (outside of scripts)? IsTorchOut condition doesn't seem to work, probably inapplicable even though single torch light in game is pipboy. Some graph variable maybe then?

 

The only workaround I know is the GetLightLevel() check. It has both Papyrus and condition functions. I don't remember the exact values but the Pip-Boy emits a lot of light.

Edited by LarannKiar
Link to comment
Share on other sites

 

By the way, is it possible to determine if light is on (outside of scripts)? IsTorchOut condition doesn't seem to work, probably inapplicable even though single torch light in game is pipboy. Some graph variable maybe then?

 

The only workaround I know is the GetLightLevel() check. It has both Papyrus and condition functions. I don't remember the exact values but the Pip-Boy emits a lot of light.

 

Yes, thanks, actually weird though since there's Condition even for Radio.

 

By the way again, looked into Animations and there are pipboyLightOn/Off anim Events for 1st and RaiderRoot, shouldn't those work as commands and turn it on/off ? Maybe could be usable for detection then at least, e.g RegisterForAnimEvent, then maintain an own variable as flag? Though latter is not something doable on console to try out.

Link to comment
Share on other sites

 

 

By the way, is it possible to determine if light is on (outside of scripts)? IsTorchOut condition doesn't seem to work, probably inapplicable even though single torch light in game is pipboy. Some graph variable maybe then?

 

The only workaround I know is the GetLightLevel() check. It has both Papyrus and condition functions. I don't remember the exact values but the Pip-Boy emits a lot of light.

 

Yes, thanks, actually weird though since there's Condition even for Radio.

 

By the way again, looked into Animations and there are pipboyLightOn/Off anim Events for 1st and RaiderRoot, shouldn't those work as commands and turn it on/off ? Maybe could be usable for detection then at least, e.g RegisterForAnimEvent, then maintain an own variable as flag? Though latter is not something doable on console to try out.

 

 

It worth giving a try yes.

 

Some animations send Papyrus events but most of them don't. It depends on how the developes made them. If they wanted to control them with Papyrus, they send/can receieve events to/from Papyrus (e.g., lot of MQ101 related scripts).

 

Since most Pip-Boy related functions are hardcoded I doubt it's possible to turn the light on/off with Papyrus. (When the Pip-Boy light's on, a flashlight icon shows up on the interface. This kind of communication between the interface and an animation is usually hardcoded).

 

I haven't tried calling PlayAnimation() or PlayGamebryoAnimation() on the Pip-Boy though (Skyrim even had SendAnimationEvent()) but since it's always equipped, most ObjectReference script functions can't be called on it. Of course it's possible to get its RefID and to make it persistent but it'll still be an inventory item. Anyway, anim events always worth giving a try, because who knows :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...