Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: gevatter Lars on May 10, 2005, 10:17:07 am
-
I am working on some little interfacechanges and stumbled about a little problem that the my buttons are longer then the original ones so that they are missplaced in the interface.
Changeing what seams to be some sort of template for the interface hasn't got any effect except that I could make some sections not usable.
So I thought their must be a tbl whatever where FS is told what button is placed where.
Has someone stumbled across these files and could tell me where to find them and how to edit them?
Would make some things easier.
PS: Who changed the Mainscreen?
-
I remember WMC (at least I think it was him, regarding the fiction-viewer and other request) once mentioned, he had an Idea about a interface.tbl, but I'm not sure this has already been implemented.
However, I would be happy if I will be corrected in this case :)
-
It's been partially implemented.
The skinning part, getting everything where it's supposed to be, is mostly done barring a display bug that I need to hack something in for Bobb, so he can take a look at it.
I've been toying with exactly how to do it; have the text stored in the mission file, or stuff it in a table file and the mission files would just reference the title. The upside to the former is that it doesn't have to have the text stored in memory the whole time (probably less than a MB, but hey, you never know), but the downside is that the text would only be accessible from that mission. For the latter, text would be accessible from every mission, but the file would either have to be parsed every time a piece of fiction was requested, or the whole thing loaded into memory, and it would add another table to the list.
-
@WMCoolmon
Would it be possible for you to implement a tbl possibility like it allready exists for the mainhall?
-
It looks like this right now (Not complete):
#Storybook
<Window>
+Coords: (1 160)
+Size: (1020 479)
+Border
+Top Left: wcs_border_ul
+Top Mid: wcs_border_h
+Top Right: wcs_border_ur
+Mid Left: wcs_border_v
+Mid Right: wcs_border_v
+Bottom Left: wcs_border_ll
+Bottom Mid: wcs_border_h
+Bottom Right: wcs_border_lr
</Window>
<Button>
+Name: Help
+Coords: (-157 -80)
+Button: sb_help_button
</Button>
<Button>
+Name: Options
+Coords: (-157 -40)
+Button: sb_options_button
</Button>
<Button>
+Name: Continue
+Coords: (-103 -80)
+Button: sb_continue_button
</Button>
#End
-
Nice...could you do something like that also for the techroom?