Modding, Mission Design, and Coding > FS2 Open Coding - The Source Code Project (SCP)

Time to head back into the lab!

(1/3) > >>

The E:
or: The Assassination of the Hero wmcgui by the coward The E

Okay, so, one thing that has been a constant source of annoyance with the lab has been the fact that the UI toolset used to build it (wmcgui, a toolset created by WMCoolmon back in the olden days) was lacking in a few things (namely, scrollable controls).
I have found a solution to that in the form of a library called Dear ImGui, which is a pretty well-established industry standard for building non-skinned interfaces in games for debug purposes.
So I started rebuilding the lab using it.



But here's the thing.

Because Dear ImGui is built on a very different paradigm, I had to throw away literally all the code for the old dialogs, meaning I have to rebuild it all from scratch, and that is as good a time as any to rethink a few things.

As you can see by the screenshot above, I've already remade the render options dialog and organized the various switches and things into new categories. That was the easy bit. I am now in the process of rebuilding the entire dialog structure related to objects, and I kinda want to make this a bit more useful than it currently is by adding more table info and putting in convenience functions like subsystem highlighting (in this current iteration I am using a debug function to draw a sphere over the selected subsystem, this will look better when it's done):



What else would you like to see, beyond the current functionality of the lab and a few already existing feature requests like LOD switching or tech room model displays?

Iain Baker:
Damn fine coffee work there.  :) :yes:

If you are taking requests, then may I suggest:

1) Better controls for positioning the ship would be very welcome. In particular, the ability to drag and drop the whole ship in three dimensions so you can focus and zoom in on a specific section. (Basically what you can do in p3d.in)

2) Capital ships being able to fire their weapons would also be extremely cool, and potentially quite useful. If this could include a fully-3D positional virtual target for them to shoot at (actually two - one a virtual capship, one a virtual fighter) this might be handy for highlighting any 'turrets shooting through their own ship's hull' issues, *cough* Raksashsa *cough* and identifying blind spots in turret coverage. This could be helpful for mission designers, and could serve as a form of training aid. "Ah, so THAT'S how I can approach an (INSERT) without getting skewered by AAA or pummeled by flack." or "Now I know where all those bloody missiles are coming from ;-) "

0rph3u5:

--- Quote from: Iain Baker on September 29, 2022, 02:10:27 pm ---2) Capital ships being able to fire their weapons would also be extremely cool, and potentially quite useful. If this could include a fully-3D positional virtual target for them to shoot at (actually two - one a virtual capship, one a virtual fighter) this might be handy for highlighting any 'turrets shooting through their own ship's hull' issues, *cough* Raksashsa *cough* and identifying blind spots in turret coverage. This could be helpful for mission designers, and could serve as a form of training aid. "Ah, so THAT'S how I can approach an (INSERT) without getting skewered by AAA or pummeled by flack." or "Now I know where all those bloody missiles are coming from ;-) "

--- End quote ---

That wouldn't even require a practice target - just a function for the turret to shoot on a vector, and maybe some output if said vector is in the turret's FOV

EatThePath:
I'll second Iain's second thing, especially when I come around to incorperating all the lighting profiles controls to a debug panel it would be very useful to be able to have a big ship fire weapons, or just have a ship and weapons fire coexist at all.

A button somewhere for Qaz's envmap dump feature would be good

Weapons in general are hard to preview in the current lab, especially anything that uses trails.

Fireball testing might also be handy.

Mito [PL]:
FOV cones for turrets?

Navigation

[0] Message Index

[#] Next page

Go to full version