I'm making a custom UI and was wondering if I could find a list of the codes in the UI files that gives a game variable.
Example:
Power y/n = 00001076
Water y/n = 00001077
monthly cost = 0000106c
goofy stats = 0000106b
Anyone who knows all the values?
Recommend you take a look thru the SC4 Encyclopaedia
some links to get you started
http://www.wiki.sc4devotion.com/index.php?title=InstanceFormats
http://www.wiki.sc4devotion.com/index.php?title=UI
http://www.wiki.sc4devotion.com/index.php?title=Category:MTS2
-catty
Thx for the links, I found some useful stuff there.
But I have some tricky questions, here I go:
I want to make a Building(Casino) a reward that is only available when Ordinance_gambling is on. How do I do that?
I can't get the syntax in the LUA file right.
I want to make a calculation with the game numbers that obv are floats, but prints as integers. I got Math.random() to work, and Math.abs() but I can't get math.truncate to work at all. Anyone who knows what math.functions are available in SC4?
More questions later. I'm just learnig the basics ;D
Quote from: ROmeoBOT on March 17, 2013, 11:59:38 AM
...More questions later. I'm just learning the basics ;D
Sorry you have already passed me as far as doing this is concerned, my only suggestion is you find a existing Casino that has already done this and take a look at how they did it
-catty
Thanks Catty,
I never thought of asking here or searching in the Wiki, but was just searching with Reader and UI Editor in the existing UI's by Maxis....
This makes it a bit more easy.
Frank