Thread: Modding Question
-
May 6th, 2018, 11:29 #1
Modding Question
I'm currently modding a home brew game and I can't locate the graphic for the desktop Raise calculator. Any ideas?
Cross-examining Lawyer: Mister Cogburn, in your four years as US Marshal, how many men have you shot?
Rooster Cogburn: Shot? Or killed?
Cross-examining Lawyer: Let us restrict it to killed so we may have a manageable figure!
-
May 6th, 2018, 15:42 #2
It doesn't use any graphics as standard.
It's the raisecalculator desktop panel (in desktop_panels.xml) and uses the raisecalculator windowclass (in desktop_classes.xml).
There is no frame attached in the XML, but the script attached to the windowclass: desktop/scripts/raisecalc.lua has code to set the frame:
Code:function onOptioUpdated() local bEnabled = not OptionsManager.isOption("RSCL", "off") base.setVisible(bEnabled) target.setVisible(bEnabled) targetlabel.setVisible(bEnabled) score.setVisible(bEnabled) scorelabel.setVisible(bEnabled) result.setVisible(bEnabled) if bEnabled then base.setFrame("bonus") else base.setFrame(nil) end end
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
May 6th, 2018, 20:05 #3
Thanks Trenloe. Don't think this one's worth going after
Cross-examining Lawyer: Mister Cogburn, in your four years as US Marshal, how many men have you shot?
Rooster Cogburn: Shot? Or killed?
Cross-examining Lawyer: Let us restrict it to killed so we may have a manageable figure!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks