Product Chat / SetFogIntensity(v) is missing from global.lua

Author
Message
J_C
16
Years of Service
User Offline
Joined: 9th Nov 2007
Location:
Posted: 6th Mar 2015 13:52
Hi Devs...

In the Steam Community link there is a Lua document with all the lua commands
In the Visuals section it has...

SetFogIntensity(v)
Sets the thickness of the fog.. This has a range of 0-100

I can't find it in the global.lua file..
PM
Jerry Tremble
GameGuru TGC Backer
11
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 6th Mar 2015 14:13
First thing I would try is adding it to the global.lua and see if it works. It may just be an accidental omission, however, I just looked at a global.lua backup from 1.0085 and it wasn't there then, either. I'd try it but gotta go to work!

function SetFogIntensity(v)
SendMessageF("setfogintensity",v)
end
MAME Cab PC: i7 4770@3.4Ghz (passmark 9945), 12GB RAM, Win 8.1/64, GeForce GTX645 (passmark 1898); Shiny new laptop: i7 4800MQ@2.7Ghz (passmark 8586), 16GB RAM, Win 8.1/64, GeForce GTX870M (passmark 3598); Old laptop: i5@2.3Ghz, 8GB RAM, Win 7/64, Intel 3000 graphics
PM
J_C
16
Years of Service
User Offline
Joined: 9th Nov 2007
Location:
Posted: 6th Mar 2015 14:56
Thanks Jerry
Yes it does work when you add your function to global.lua

I noticed it when they first added the fog intensity to the slider panel.. my fog test scripts stopped working...
but I then went on to checkout other things.. waiting for it to be added in an update...

Then I saw they added the GetInKey() and GetScancode() so I thought I would give TGC a bump on the fog..

All good... but have it added to next update for all new lua users...

PM
J_C
16
Years of Service
User Offline
Joined: 9th Nov 2007
Location:
Posted: 22nd Apr 2015 16:42
This is still not in the global.lua
PM
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 22nd Apr 2015 17:10
make a copy of you new sun.bmp because any update could overwrite your edited one.
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 3rd May 2015 20:59
Added the missing SetFogIntensity in GLOBAL.LUA to the task-list.
PC SPECS: Windows 7 Ultimate 64-bit, Intel Core i7 920 (PASSMARK:5008), NVIDIA Geforce 9600 GT GPU (PASSMARK:752) , 6GB RAM

J_C
16
Years of Service
User Offline
Joined: 9th Nov 2007
Location:
Posted: 21st May 2015 15:08
Still not added to global lua...
PM
Jerry Tremble
GameGuru TGC Backer
11
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 22nd May 2015 01:01
LOL, still?
MAME Cab PC: i7 4770@3.4Ghz (passmark 9945), 12GB RAM, Win 8.1/64, GeForce GTX645 (passmark 1898); Shiny new laptop: i7 4800MQ@2.7Ghz (passmark 8586), 16GB RAM, Win 8.1/64, GeForce GTX870M (passmark 3598); Old laptop: i5@2.3Ghz, 8GB RAM, Win 7/64, Intel 3000 graphics
PM

Login to post a reply

Server time is: 2024-05-02 15:27:23
Your offset time is: 2024-05-02 15:27:23