Jump to content

Making a script that is always active (How?)


StapleNinja

Recommended Posts

Can anyone hook me up with a script that constantly applies an imagespace modifier to the PC?

 

I want to make a Depth of Field mod, but Idk how to have the script be active no matter what, with no activation etc.

 

Any help is greatly appreciated

 

:thanks:

Link to comment
Share on other sites

Add it as a perk...

... The perk haves an effect...

The effect is a script...

The script calls the shader on "scripteffectstart", and removes it on "scripteffectfinish".

 

Or actually, any script/effect/enchant that turns on the shader, it shouldnt turn off until you tell it so.

Link to comment
Share on other sites

Perks, when not absolutely necessary, should be avoided. This is because if you load a game in which the player has a perk that originates from a data file that is not currently loaded the game will instantly crash, making your Mod very difficult to uninstall.

 

You should use a quest script instead, attached to a script that is set to be "Start Game Enabled" and, if you want it to run every frame, has a very small value for the "Script Processing Delay".

 

I'm not really sure why you want to apply an ImageSpace Modifier every frame. Is it, for some reason, not enough to just apply it once?

 

Cipscis

Link to comment
Share on other sites

Perks, when not absolutely necessary, should be avoided. This is because if you load a game in which the player has a perk that originates from a data file that is not currently loaded the game will instantly crash, making your Mod very difficult to uninstall.

Cipscis

 

That's useful to know, I've played around with perks before and intend to add a couple of new ones to one of my projects. Better make a note of that so I can add it to the uninstall section of the readme if I decide to release it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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