Re: [0.6.6] SCP-008 Infection mod

#31
MonocleBios wrote:Any reason why infect is incremented in the event and decremented with the pill, rather than set to the appropriate Boolean values. (Every test on the variable is Boolean)
Only thing that really caught my attention after a quick 5 min scan... besides the 'if conditional hell', so I probably missed some other stuff.
Modulus and division are your friends 8D
Nice job though, better than my console and bug fix shenanigans.
They are decremented because they're left over from when I wanted to slowly cure it. I figured life (the game) was too long already.

And the if conditional hell is the result of a "safer route" I took. It was too annoying to divide it normally for fading in the sprite (I think my thread on it is still around) so I took the less annoying path :P
Besides, it works doesn't it? :)
SCP - Box of Horrors v0.8.0b
Twitter
Github Profile

Re: [0.6.6] SCP-008 Infection mod

#32
Even though it works, your code (regarding the If hell) quantizes the rate at which the graphic overlay changes opacity. That is to say, if you wanted the opacity to change in any granule smaller than 0.05 (or whatever it was - not referencing the code at this moment), you would need to extend the length of your code. Also, the way you've implemented it, you have the game setting the opacity of the overlay to the exact same value repeatedly over many frames.

Re: [0.6.6] SCP-008 Infection mod

#34
OmiSC wrote:Even though it works, your code (regarding the If hell) quantizes the rate at which the graphic overlay changes opacity. That is to say, if you wanted the opacity to change in any granule smaller than 0.05 (or whatever it was - not referencing the code at this moment), you would need to extend the length of your code. Also, the way you've implemented it, you have the game setting the opacity of the overlay to the exact same value repeatedly over many frames.
Again, these problems should be fixed in the patch.

Should.
SCP - Box of Horrors v0.8.0b
Twitter
Github Profile

Re: [0.6.6] SCP-008 Infection mod

#36
You basically just drop it in your "SCP - Containment Breach v0.6.6" folder
I'm not here as much right now, mention me on our Discord server if you need anything.