Scripts / TAB TAB Settings Values?

Author
Message
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 22nd Jan 2017 07:36 Edited at: 22nd Jan 2017 08:07
Hi all

I have been playing around with custom scripts for setting fog, ambience, surface etc.

Now I was thinking that the best way to get the feel I want is to set it up in test game and then use those values in my scripts

Using the 'darkzone' and 'lightzone' scripts as a guide, I notice values that are way above the values shown in TAB TAB Matrix panel.

For example the maximum value in the Matrix panel for FogDistance is 100 as with all of them, but in the 'lightzone' script it has a value of 50000.

So really I just want to know how to work out the equivalent number set in the Matrix Panel to use in lua.

I am thinking we just multiply the Matrix Panel number by 100 - is that correct?


Thanks for any tips.

EDIT: I think this should be in the Scripts board - sorry Mods

Reliquia....
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.
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 22nd Jan 2017 08:19
Slider values most likely in %. So it could be that for every 2.5 that is 1% on the slider (for colors).
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 22nd Jan 2017 10:32
BotR, thanks for the input, will try and work with that.

Also I can't see any reference in Global Lua to set:
SurfaceLevel
GlobalSpecular
Brightness
Contrast

So i guess these are not available to us via lua?

Reliquia....
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.
PM

Login to post a reply

Server time is: 2024-05-21 11:21:31
Your offset time is: 2024-05-21 11:21:31