Potato Graphic

Description
This mod make your graphics potato (like BF2) and boost your frame rate significantly

Instration
UnZip downloaded files and put it in Mods directly, and add “potato” in Mods.txt

Demo Video
https://streamable.com/wye8el

Download
potato.zip (1.1 KB)

edited: bug fixed
Thank you @Fr3akless and @BreeArnold

9 Likes

Sorry, I found a serious bug in this mod, so I deleted mod files
I’m fixing it now

Hey, so I found a bug. I joined a server with this mod running on it (I was wondering what the hell potato was). After leaving the graphics mod stayed enabled on my client until I restarted my game.

Yes
That’s exactly what I meant
This bug also occurs when you change the “worldviewmode” in the “map editor” mod

Events:Subscribe('Extension:Unloading', function()
    local worldRenderSettings = ResourceManager:GetSettings("WorldRenderSettings")   
    if worldRenderSettings ~= nil then
        local worldView = WorldRenderSettings(worldRenderSettings)
        worldView.viewmode = 0
        print('Potato Unloaded')
    end   
end)

This should fix your problem :slight_smile:

2 Likes

Thank you very much
It works

1 Like

No problem! Glad everything worked :stuck_out_tongue_winking_eye:

Events:Subscribe('Extension:Loaded', function()
    PatchWorldView(3)
end)

Events:Subscribe('Extension:Unloading', function()
    PatchWorldView(0)
end)

function PatchWorldView(num)
    local worldRenderSettings = ResourceManager:GetSettings("WorldRenderSettings")

    if worldRenderSettings ~= nil then
        local worldView = WorldRenderSettings(worldRenderSettings)
        worldView.viewMode = num
    end
end

You shouldn’t do it in Partition:Loaded.

2 Likes

fixed
Thank you for your advice

Is normal that using this mod i can’t see thinghs like sights in weapon and vehicles or is a bug?

It’s specific to this graphic

This mod just changes in-game render mode like PUBG LITE “no lighting” setting
PUBG lite settings: “lighting enable” vs “lighting disable”

Therefore there is no way to fix it

Hey, it would pretty neat if you make a GitHub repository for it. Ya know, it will be much organized. No need to post issues in this thread. And if someone want to add changes and fixes to the mod they can just create a new Pull Request.

Just reviewed this again, and saw that it’s Extension:Unloading instead of Extension:Unloaded.

2 Likes