Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Nuke on November 08, 2007, 03:39:44 am

Title: lab interfece -> scripting
Post by: Nuke on November 08, 2007, 03:39:44 am
i was curious if the windowing system, i forget what it was, that is used in the lab, could be adapted into scripting so that i could create windows, list boxes, radio buttons, checkboxes, buttons and scrollbars, to manipulate them and render them to the hud (or any other set target). the idea is to make it easyer to add windowed elements to the game to make a dynamic on the fly, point and click interface. such an interface could be used for anything from turret commands, to interface menus, and many other general functions.
Title: Re: lab interfece -> scripting
Post by: WMCoolmon on November 15, 2007, 12:59:23 am
It'd probably be moderately difficult, but worth it in the long run, assuming it ever got any attention again.

The main thing would be to configure the classes so that rather than using C function pointers as triggers, they instead use a custom class that automatically activates a C function pointer or a Lua hook.

I'm sure it would also involve some work to fix the input paths to allow proper keyboard/mouse input ingame.