Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: MatthTheGeek on September 17, 2012, 01:21:07 pm

Title: [Feature request] Show external weapons in F3 lab.
Post by: MatthTheGeek on September 17, 2012, 01:21:07 pm
Basically what it says in the title. It would be very cool if it was possible to show (and even toggle on/off) external weapons in the F3 lab. Obviously showing only the default loadout as specified in the tables, I'm not trying to make it dynamic as you switch weapons or anything.

The idea being, what you see in the F3 lab is this :

(http://imageshack.us/a/img837/9296/fs2open3613rsse2bp20120q.png)


What it would look like is more like this :

(http://imageshack.us/a/img840/5924/fs2open3613rsse2bp20120.png)

I think that illustrates pretty well how awesome it would be to have that, especially for my current wiki-updating quest :).
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: headdie on September 17, 2012, 02:02:07 pm
I would certainly be happy to see this in place
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: Dragon on September 18, 2012, 03:43:44 am
This would also help with checking if the loadout actually fits onto the rails. I support it.
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: Admiral MS on September 18, 2012, 11:08:53 am
Got interested into Lab code and this is the result:

(http://imageshack.us/a/img829/8400/screen0004.png)

Will post the patch after some more testing...
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: Nuke on September 18, 2012, 12:02:48 pm
does this happen in the loadout screen yet?
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: MatthTheGeek on September 18, 2012, 12:15:23 pm
AFAIK the loadout screen is, like, a completely different code from the lab. So, I don't think so.
Title: Patch: Show external weapons in F3 lab.
Post by: Admiral MS on September 18, 2012, 12:22:19 pm
does this happen in the loadout screen yet?
Not at all. I don't even know where the relevant code is located...

As MatthTheGeek said the Lab code is quite different from how things are handled in other parts of the game.
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: Nuke on September 18, 2012, 01:04:58 pm
a shame, that would be incredibly useful and look cool to boot.
Title: Patch - Show external weapons in F3 lab.
Post by: Admiral MS on September 19, 2012, 04:40:34 pm
Here is my patch for external weapons in the F3 lab so you can review and commit it if it's fine.

a shame, that would be incredibly useful and look cool to boot.
I can't see how that should be very useful. Though it would look great for sure.


Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: Aesaar on September 19, 2012, 06:01:58 pm
How does one go about applying these patches, anyway?
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: Kobrar44 on September 19, 2012, 06:33:56 pm
You download FS source with tortoise SVN, use said software to apply the patch and then you compile your very own custom build with a compiler. Each step is described somewhere on this forum or on the internet.
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: niffiwan on September 19, 2012, 06:44:41 pm
Here (http://www.hard-light.net/forums/index.php?topic=74840.0).  Posts 3 & 5 are the most relevant ones.
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: Aesaar on September 19, 2012, 07:11:33 pm
Thanks. 

And now I'm guilty of not reading stickies.
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: Admiral MS on September 24, 2012, 10:24:10 am
Added no rotation default setting to my patch



[attachment removed and sold on the black market]
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: Spoon on September 25, 2012, 09:40:07 am
Added no rotation default setting to my patch
You sir, are excellent  ;) :yes:
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: Goober5000 on September 30, 2012, 02:41:53 pm
Reviewed and committed to trunk, r9232.
Title: Re: [Feature request] Show external weapons in F3 lab.
Post by: headdie on September 30, 2012, 02:52:10 pm
yipee, nice one Admiral MS