Scripts / FREE .lua file to make changes to the FOG DENSITY anywhere in the map , using a triggerzone and this file.

Author
Message
UNIRD12B
GameGuru TGC Backer
4
Years of Service
User Offline
Joined: 2nd May 2014
Location: Canada
Posted: 6th May 2017 20:03 Edited at: 6th May 2017 20:23
Thank you LEE....

YOUR RIGHT.......I got it working
and will release the setfogintensity.lua right now now.

thanks again for you amazing effort

ok so....here is the code to make changes in the DENSITY of the fog layer in any
specific part of the map in order to effect a change in mood...instructions are contained right within the .lua file.
........................................................



here now too is a brief video showing the basic effect change using the .lua and a triggerzone

Let\'s actually make something happen with this one !

Attachments

Login to view attachments
Belidos
3D Media Maker
3
Years of Service
Recently Online
Joined: 23rd Nov 2015
Location: Hertfordshire
Posted: 6th May 2017 21:31 Edited at: 6th May 2017 21:33
Thanks for the scripts, very useful.

But, for future reference, there is a specific forum section for posting scripts in, you're better off posting them there as people will find it easier to find them in the future when this post has been buried under a lot of other posts.

Script Forum

Also, there are issues with some web browsers, when you copy/paste from the code box it adds extra "invisible" characters which breaks the scripts, so it's always best to also upload a copy of the actual script file in an attachment for people to download

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
m2design
GameGuru TGC Backer
8
Years of Service
User Offline
Joined: 25th Mar 2010
Location: Pacific Northwest, USA
Posted: 6th May 2017 22:47 Edited at: 6th May 2017 22:49
Quote: "Also, there are issues with some web browsers, when you copy/paste from the code box it adds extra "invisible" characters which breaks the scripts, so it's always best to also upload a copy of the actual script file in an attachment for people to download "


I can not get this lua file to work. All I get is a lua syntax error during a test run and my mouse disappears forcing me to press esc to exit GG.
oh well...

Me thinks Belidos is correct.

Windows 10,64 bit|AMD FX-6200 Six-core-3.Ghz |CPU PASSMARK 6,142 |Memory 10GB |NVIDIA GEFORCE GTX 660 SC |GPU PASSMARK 4,114

Belidos
3D Media Maker
3
Years of Service
Recently Online
Joined: 23rd Nov 2015
Location: Hertfordshire
Posted: 6th May 2017 22:59
Quote: "I can not get this lua file to work. All I get is a lua syntax error during a test run and my mouse disappears forcing me to press esc to exit GG.
oh well..."


After pasting it into notepad, go to the end of every single line and delete all the spaces, this includes blank lines too, that should fix it.

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
UNIRD12B
GameGuru TGC Backer
4
Years of Service
User Offline
Joined: 2nd May 2014
Location: Canada
Posted: 6th May 2017 23:43
ok Guys ...

just to make sure a have now added in a copy of the lua files too,,so you can get it either way.

BOTH the

lightzoneambient.lua
and
fogzoneintensity.lua file are there now


Let\'s actually make something happen with this one !

Attachments

Login to view attachments

Login to post a reply

Server time is: 2019-01-21 20:08:11
Your offset time is: 2019-01-21 20:08:11