StapleNinja Posted April 5, 2009 Share Posted April 5, 2009 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 More sharing options...
TGBlank Posted April 5, 2009 Share Posted April 5, 2009 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 More sharing options...
Cipscis Posted April 5, 2009 Share Posted April 5, 2009 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 More sharing options...
Deleted1084753User Posted April 5, 2009 Share Posted April 5, 2009 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 More sharing options...
StapleNinja Posted April 5, 2009 Author Share Posted April 5, 2009 @cipscis I want to make a depth of field view that's always active. Link to comment Share on other sites More sharing options...
Yossarian22 Posted April 5, 2009 Share Posted April 5, 2009 But Cipscis is right, once you force a image modifier via script it only disappears, when you force it to with a script again. imod MyImageModifierrimod MyImageModifier Use a Questscript imodendquest Link to comment Share on other sites More sharing options...
StapleNinja Posted April 5, 2009 Author Share Posted April 5, 2009 Awesome! I got it working :D Thanks for all the help everybody :thumbsup: Should have it uploaded soon! EDIT: Here it is, tell me what you guys think! StapleNinjas Depth Of Field Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.