Jump to content

Anyone know if there is a modders resource for button/activators ?

Recommended Posts

Im looking for alternatives to the ugly toggle switch or RRbutton...


I need something a little more "elegant" to use for light switches etc...That doesnt stick out like a sore thumb...


My modeling skills are zero so i have to depend on 3rd party assets im afraid...

Link to comment
Share on other sites

If you don't necessarily need animations, you could always "kit bash" your own with existing meshes from Fallout 4 and then just export the nif and use it for a new activator. I did something similar for my player home where I used an existing static institute console and made a material swap for it and then used the nif as an activator for my power armor energy field.
Link to comment
Share on other sites

I am sure other people could use those as well ...


Here you go: https://mega.nz/file/mqQw1J7K#DhgMV9EmF5boLpBXlcyIDfkvLJlm3Lw2wTYjNIA_VkA

It's the elevator call button, with the arrows removed and a bunch of new anims.

You'll need to edit the texture/material paths with NIFskope to make it use vanilla textures. It'll appear pink otherwise because it's currently set up to use custom textures.


And you'll have to initialize the button by playing Off or Illuminated animation on load from script, because it won't remember it's state after unload/load and might get stuck in a weird state as it doesn't have a behavior graph. This means you will have to keep track of the button state in your script. A simple boolean variable will do, set to true if swtich is "on" and false if it's "off". So you will easily be able to determine which anim to play and what to do with the lamps you want to control, ie enable or disable, when your script receives OnActivate event (player pushes button) or OnLoad event for processing, based on current state stored in boolean variable. After desired animation has played, update this boolean as required.


As for the script logic governing when to play which Gameybro anim, use this state table:

Current State  |  Action     |  Target State  |  Gamebryo Anim
Dark           |  <none>     |  Remain Dark   |  Off
Dark           |  Press Btn  |  Remain Dark   |  ActivateNoPower
Dark           |  Press Btn  |  Light up      |  ActivateDark
Dark           |  <none>     |  Light up      |  Illuminated
Lit            |  Press Btn  |  Remain Lit    |  ActivateIlluminated
Lit            |  <none>     |  Go Dark       |  DeactivateIlluminated

Current State / Target State means if the button is currently lit, and if it should still be lit after playing the anim.

Action is if the button itself should move/animate as if it were being pushed in.

Gamebryo Anim is the name of the animation to play with PlayGamebryoAnimation() script function.

There are other anims in the NIF, but you won't need them - they're superfluous.


There is no anim for "Lit / Press Btn / Go Dark", but you can achieve similar effect (button press turns light off) by first playing ActivateIlluminated, followed by delay of 0.333 seconds and finally playing DeactivateIlluminated. Or, you could use NIFskope to edit one of the superfluous anims for this (but leave IdleGlow01 alone).

Link to comment
Share on other sites

  • Recently Browsing   0 members

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