Fallout 4 0.355
Forum rules
new topics are not allowed in this subsection, only replies.
new topics are not allowed in this subsection, only replies.
- Author
- Message
-
Offline
- *blah-blah-blah maniac*
- Posts: 17559
- Joined: 27 Dec 2011, 08:53
- Location: Rather not to say
Re: Fallout 4 0.355
I dont know what is in your code, because don't have it. But you need to do according to included example. No need to remove functions, you just need to make some global variable which turn off conditionally parameter(s) changes inside callback function. More than one callback function can be set by different plugins, so the way you do it can't work.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- Posts: 31
- Joined: 04 Oct 2016, 14:32
Re: Fallout 4 0.355
ok I see the problem now thanks
Last edited by lomerta on 02 Dec 2018, 11:28, edited 2 times in total.
-
Offline
- *blah-blah-blah maniac*
- Posts: 17559
- Joined: 27 Dec 2011, 08:53
- Location: Rather not to say
Re: Fallout 4 0.355
I don't know what second part of the code is and where it's located. Anyway, regarding your issue that value in GUI rewritten by the plugin, so not editable, you need to save internal value for every parameter which trying to change, then read parameter and compare it with your saved. If they differ, then you need to update your own saved values. Or you can detect such change and stop updating values until ENBCallback_PreSave argument passed to CallbackFuntion call. This is not mod or plugin specific, but programming in general.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- Posts: 31
- Joined: 04 Oct 2016, 14:32
Re: Fallout 4 0.355
Thanks, I just put it inside of ExecuteSomething() and now it works!
Last edited by lomerta on 02 Dec 2018, 11:29, edited 1 time in total.
-
Offline
- *master*
- Posts: 177
- Joined: 08 Nov 2016, 15:18
- Location: Brazil
Re: Fallout 4 0.355
Hi Boris!
I understand that is still too early but any chance for a Fallout 76 mod ???
I understand that is still too early but any chance for a Fallout 76 mod ???
_________________
Intel i5 9400f ; NVIDIA RTX 3060 12gb VRAM; 16gb RAM; Windows 10
PhoenixVivid ENB for SSE / Phoenix Cinematic ENB for Fallout 4
Imaginarium ENB for SSE / Insanity ENB for Skyrim LE
NCW ENB for Fallout 4 / Somber Phantasy ENB for SSE
My Nexus Page
Intel i5 9400f ; NVIDIA RTX 3060 12gb VRAM; 16gb RAM; Windows 10
PhoenixVivid ENB for SSE / Phoenix Cinematic ENB for Fallout 4
Imaginarium ENB for SSE / Insanity ENB for Skyrim LE
NCW ENB for Fallout 4 / Somber Phantasy ENB for SSE
My Nexus Page
-
Offline
- Posts: 11
- Joined: 06 Nov 2018, 17:01
Re: Fallout 4 0.355
I personally prefer monster hunter world because most of the bugs have been fixed now.
-
Offline
- *blah-blah-blah maniac*
- Posts: 3137
- Joined: 27 Jan 2012, 13:42
-
Offline
- *master*
- Posts: 177
- Joined: 08 Nov 2016, 15:18
- Location: Brazil
Re: Fallout 4 0.355
Ow, Thanks Mindflux. Didnt see that topic.....
_________________
Intel i5 9400f ; NVIDIA RTX 3060 12gb VRAM; 16gb RAM; Windows 10
PhoenixVivid ENB for SSE / Phoenix Cinematic ENB for Fallout 4
Imaginarium ENB for SSE / Insanity ENB for Skyrim LE
NCW ENB for Fallout 4 / Somber Phantasy ENB for SSE
My Nexus Page
Intel i5 9400f ; NVIDIA RTX 3060 12gb VRAM; 16gb RAM; Windows 10
PhoenixVivid ENB for SSE / Phoenix Cinematic ENB for Fallout 4
Imaginarium ENB for SSE / Insanity ENB for Skyrim LE
NCW ENB for Fallout 4 / Somber Phantasy ENB for SSE
My Nexus Page
-
Offline
- Posts: 31
- Joined: 04 Oct 2016, 14:32
Re: Fallout 4 0.355
to use float4 in sdk should I use ENBParam_COLOR4 ?
and in shader is it better to use float4 everywhere or compiler will do it ?
and in shader is it better to use float4 everywhere or compiler will do it ?
-
Offline
- *blah-blah-blah maniac*
- Posts: 17559
- Joined: 27 Dec 2011, 08:53
- Location: Rather not to say
Re: Fallout 4 0.355
Yes, ENBParam_COLOR4.
About float4 everywhere, i cant answer because dont understand what you asking. Compiler usually do all the job to split or mix registers and often variables. Only worth to use when you really sure some code will be converted to faster version. If it's global variable, of course editing (for player) individual floats are much easier than several values packed in single one. By performance they are equal.
About float4 everywhere, i cant answer because dont understand what you asking. Compiler usually do all the job to split or mix registers and often variables. Only worth to use when you really sure some code will be converted to faster version. If it's global variable, of course editing (for player) individual floats are much easier than several values packed in single one. By performance they are equal.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7