Jump to content

Increase Flare Burn Duration


FO4SoundModifications

Recommended Posts

Yeah, you'd have to change all the key values manually one by one.

Maybe you could get away with using fewer keys - using longer duration for each of them, so you wouldn't need that many, but maybe "only" half.

Still, editing 2000 keys instead of 4000 is still a lot of work.

Maybe you could write some Autohotkey script to do the editing, but it might not be simple and possibly unreliable.

 

...hmmm, it could be easier to just try and make your own nif spell for this - if you are a profficient programmer.

Or maybe make a copy of the NIF, delete all nodes except for the one where you need to add the keys, and save it as a new NIF file.

Maybe you could then simply decode the file structure, or probably better use the nifSkope project's source files to learn how this kind of node is stored, and write a simple script/program to add the keys into this new NIF file with values as needed.

Then you would simply copy&paste this node into the original NIF file, make sure its referenced instead of the original node, and then delete the old node.

This could be reasonably easy-ish and the same process (with minor adjustments) could be used for all the nodes where you need to add the keys.

Link to comment
Share on other sites

I am not sure - cannot open CK right now, but i think the lights are listed in the "Object Window" under "WorldObjects" and then "Lights" or something like that.

Or use the main menu -> "Edit" -> "Find Text" to search for the form name FXFlareLightRed - it should display a window with results, and then on it's "objects" tab it should be listed - if you double click that listed item, it should open it for editing.

Link to comment
Share on other sites

For editing the Keys, maybe the Autohotkey would be the easiest to use.

Once you edit the "Num Keys" value, click the refresh button, expand the Keys collection, go to the end, expand the last Key and click on the value field of the "Value" parameter to focus it (this is important), after that you can make Autohotkey do all the editing by sending keystrokes:

 

1.) send F2 to edit the value

2.) send the keystrokes to type in required value (do not send Enter at the end)

3.) send Arrow_Up to move focus to the "Time" parameter

4.) send F2 to edit value of the "Time" parameter

5.) send the keystrokes to type in required value (do not send Enter at the end)

6.) send Arrow_Up twice to move to the previous key

7.) send Arrow_Right to expand the Key parameters

8.) send Arrow_Down twice to set focus on the "Value" param

9.) repeat steps starting from #2

 

Obviously you would send the keystrokes from a loop counting from 4000 to whatever was the original "Num Keys" value, typing values for Time and Value parameter calculated as needed.

In case you don't hve enough skill/experience to write such script, let me know and i'll make it for you.

Edited by 5133p39
Link to comment
Share on other sites

For editing the Keys, maybe the Autohotkey would be the easiest to use.

Once you edit the "Num Keys" value, click the refresh button, expand the Keys collection, go to the end, expand the last Key and click on the value field of the "Value" parameter to focus it (this is important), after that you can make Autohotkey do all the editing by sending keystrokes:

 

1.) send F2 to edit the value

2.) send the keystrokes to type in required value (do not send Enter at the end)

3.) send Arrow_Up to move focus to the "Time" parameter

4.) send F2 to edit value of the "Time" parameter

5.) send the keystrokes to type in required value (do not send Enter at the end)

6.) send Arrow_Up twice to move to the previous key

7.) send Arrow_Right to expand the Key parameters

8.) send Arrow_Down twice to set focus on the "Value" param

9.) repeat steps starting from #2

 

Obviously you would send the keystrokes from a loop counting from 4000 to whatever was the original "Num Keys" value, typing values for Time and Value parameter calculated as needed.

In case you don't hve enough skill/experience to write such script, let me know and i'll make it for you.

 

Yeah I would appreciate if you made that because I have no programming knowledge at all

 

 

I am not sure - cannot open CK right now, but i think the lights are listed in the "Object Window" under "WorldObjects" and then "Lights" or something like that.

Or use the main menu -> "Edit" -> "Find Text" to search for the form name FXFlareLightRed - it should display a window with results, and then on it's "objects" tab it should be listed - if you double click that listed item, it should open it for editing.

 

I've tested this in the creation kit and it definitely seems to be the one, for some reason when I save changes to a .ESP it doesnt do anything in-game. I'll try to figure out that later today.

 

Seems like thats all of the files related to the flare, now all that is left is to finish it

 

EDIT:

 

Fixed my issues with the CK.

Managed to add dynamic shadows, more radius and even found a lens flare to add.

 

Results so far:

http://i.imgur.com/gU47rcv.jpg

Edited by FO4SoundModifications
Link to comment
Share on other sites

  • 2 weeks later...

I'll just leave the progress so far here in case anybody is interested

This only increases the duration. The additional effects are attached

 

Put this in C:\Games\Fallout 4\Data\Meshes\Effects

http://www.mediafire.com/file/ac337zhsac14sie/FlareFXExplosion.nif

 

This one goes in D:\Games\Fallout 4\Data

Dont forget to turn it on . This increases the light radius and adds the lens flare effect

http://www.mediafire.com/file/r3vrhzva94zl5ht/flareTest.esp

Edited by FO4SoundModifications
Link to comment
Share on other sites

  • Recently Browsing   0 members

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