• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

More fps in storms optimization

Nb7

Sailor Apprentice
Hi, so i wanted more fps in storms, in my pc it gets low, i gained 10 fps in storms by making the ship roll code to run every 10 ticks instead of normal.

NK file:
--------------------
int iframes;
void UpdateShipRoll()
{
ref rCharacter = GetMainCharacter();
if(Whr_IsStorm() && CheckAttribute(rCharacter,"Capsize") && GetCharacterShipClass(rCharacter) < 8)
{
if (iframes < 10)
{
iframes = iframes + 1;
return;
}
else
iframes = 1;
 
Back
Top