Specs in footer
GG Version - 2017-05-12
Problem: Gridlines on water
Repeatable: Yes, just use a script to call hide terrain
Image - attached
Hi all
So been messing with having no terrain for that instant FPS boost.
Wanted to have a section where water is visible and created several scripts for this purpose - but when I hide the terrain the water has these gridlines everywhere.
The script to hide terrain only (like all the others I made) is a copy of 'goutdoors' that ships with gg. Just removed the line to hide water and renamed to 'terrainhide'.
-- LUA Script - precede every function and global member with lowercase name of script + '_main'
function terrainhide_init(e)
end
function terrainhide_main(e)
if g_Entity[e]['plrinzone']==1 then
HideTerrain()
ActivateIfUsed(e)
end
end
I have an old map that is almost completely water (lowered all terrain using the terrain tools) and it has no gridlines at all, which leads me to think it is a bug when calling hide terrain via the script, but me no guru - lol
You can see the issue in the attached image.
It looks like the gridlines are from the terrain, but could be wrong of course.
So is this is a bug with calling hideterrain, or I am missing something?
Reliquia....
aka OldFlak
Intel(R) Core(TM) i3-4160 @ 3,60GHz. 8GB Ram. NVidia GeForce GTX 750. Acer 24" Monitors x 2 @ 1920 x 1080. Windows 10 Pro 64-bit.