Hard Light Productions Forums

Community Projects => The FreeSpace Upgrade Project => Topic started by: Admiral Nelson on December 09, 2005, 10:13:19 pm

Title: FS2 Stock Campaign Nameplates RELEASE
Post by: Admiral Nelson on December 09, 2005, 10:13:19 pm
Hi folks,

I have created nameplates for every ship in the main FS2 campaign which belongs to a class which supports nameplates -- Fenris/Leviathan, Aeolus, Deimos, Orion and Faustus.  The link includes all the required nameplates in addtion to edited main campaign missions with the nameplate replacement included.  The missions include the nameplates Galemp created for the two Hecate class destroyers in the campaign.  You will need the latest media VP and patches, specifically Stratcomm's nameplate fixed models and the new Hecate model.

http://www.fileh.com/NelsonAndBronte/FS2Nameplates.zip

(http://img.photobucket.com/albums/v106/NelsonAndBronte/FS2/Warspite.jpg)

(http://img.photobucket.com/albums/v106/NelsonAndBronte/FS2/Cato.jpg)

(http://img.photobucket.com/albums/v106/NelsonAndBronte/FS2/Pax.jpg)

This wasn't supposed to happen! :)

(http://img.photobucket.com/albums/v106/NelsonAndBronte/FS2/phoe1.jpg)

(http://img.photobucket.com/albums/v106/NelsonAndBronte/FS2/phoe2.jpg)

(http://img.photobucket.com/albums/v106/NelsonAndBronte/FS2/phoe3.jpg)

Of course, let me know of any feedback.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: WMCoolmon on December 10, 2005, 02:15:38 am
Erg, only one problem with sticking it in the mediaVPs...it doesn't look like you used the mission files from mv_effects to start from, so these missions don't have the skybox.

I don't know how to fix that, it probably only requires filling in a field in FRED for each mission.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Black Wolf on December 10, 2005, 02:17:02 am
Woot. This is the kind of stuff that I like - the little details which make the campaign that much more real.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: karajorma on December 10, 2005, 05:21:05 am
Excellent work. No doubt boring and time consuming but this is the sort of thing I like to see too. 
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Vasudan Admiral on December 10, 2005, 06:08:27 am
Awesome work mate. Exactly what I'd hoped they'd be used for. :)
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: CaptJosh on December 10, 2005, 09:10:36 am
Would the NTF really have had the time or resources to repaint their nameplates? In "The Mystery of the Trinity," The NTC Trinity had only been AWOL from the GTVN for three weeks, for example.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Galemp on December 10, 2005, 10:07:39 am
With the standards and technology that far ahead, it probably would have been simple to do while it was under repairs. No more difficult than hoisting a new flag while in port; it's only one letter, not a full repainting.

If you wanted to be picky you could just call it "%TC Trinity" where the first letter has been partially stripped away and is unrecogniseable.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Admiral Nelson on December 10, 2005, 10:18:42 am
Erg, only one problem with sticking it in the mediaVPs...it doesn't look like you used the mission files from mv_effects to start from, so these missions don't have the skybox.

I don't know how to fix that, it probably only requires filling in a field in FRED for each mission.

D'oh -- my bad. I did use the standard missions.  It's just copy and paste work to put them in the mv_effects missions, though.  Shouldn't take me too long.

I did wonder about the Trinity in particular, whether to put G, N or a painted out G under the N, and finally just said the heck with it.  The rebellion was in progress for a year and a half so many if not most NTF ships would have had plenty of time to repaint.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: CaptJosh on December 10, 2005, 11:05:14 am
Good point on the length of the rebellion. I forgot about that. The NTC Trinity is about the only ship in game that might not have had the time.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Cobra on December 10, 2005, 02:52:14 pm
Erg, only one problem with sticking it in the mediaVPs...it doesn't look like you used the mission files from mv_effects to start from, so these missions don't have the skybox.

what skybox? :wtf:

anyway, i like this (re)release. but i'll wait until whatever the problem is is remedied. :)
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Admiral Nelson on December 10, 2005, 02:52:55 pm
OKay, I have updated the file in the first post with the mv_effects missions for media vp compatability.

I see that Taylor does not recommend the use of TGA nameplates.  What would be the best thing for me to do with the TGA nameplates included here?  To what format should they be converted?
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Black Wolf on December 10, 2005, 03:17:05 pm
Pcx or dds
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: taylor on December 10, 2005, 03:21:07 pm
I see that Taylor does not recommend the use of TGA nameplates.  What would be the best thing for me to do with the TGA nameplates included here?  To what format should they be converted?
Install NVIDIA's DDS utilities and use the nvdxt command line program (or whatever other program you have that supports DDS) to convert the images to DXT5.  Then just make sure that the compression didn't mess them up (I doubt it would for those things).

Actually I'll convert them if you want and post a link to the DDS versions.  Most of them aren't power-of-2 anyway and that's a no-no given how much extra memory they would use.

The good thing about DXT5 versions of the nameplates is that they will render faster, use a 4th of the memory of TGA (and one-half the memory of PCX) and work without the -jpgtga option.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Admiral Nelson on December 10, 2005, 03:24:24 pm
If you don't mind converting them, that would be great! :)

That would ensure I don't screw up anything... :)

Edit: I made a typo in the Monitor's nameplate.  Fixed and re uploaded.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: taylor on December 11, 2005, 07:44:01 am
Had these done yesterday but wanted to test them first (some of the models I have don't use "nameplate" as the nameplate texture name so replacement didn't work at first).  These are resized to be power-of-2, converted to DXT5 with 4 mipmap levels.  The rest of the mipmap levels didn't really show anything since they were so small so I just skipped them.  I didn't test every ship but I tested most, especially then ones that were resized or that originally had PCX nameplates.

http://icculus.org/~taylor/fso/misc/dds_nameplates.zip  (just the maps, no missions)
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Admiral Nelson on December 11, 2005, 10:32:23 am
Thanks, Taylor.  A few questions for you: Would you mind posting the command line used to create the final files?  I can then write a little blurb on the wiki explaining the current workflow for creating nameplates.  I presume you just expanded the canvas to resize the non power of two nameplates?  There is no issue in the model expecting a 420 x 61  pixel nameplate and then getting a 512 x 64 one?

I have again updated the ZIP in the first post with the new dds textures.  Again,  Stratcomm's fixed models in the mediavp thread are required for use.  The missions are based on those in the effects vp so that one sees the skybox.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: taylor on December 11, 2005, 11:14:52 am
Thanks, Taylor.  A few questions for you: Would you mind posting the command line used to create the final files?  I can then write a little blurb on the wiki explaining the current workflow for creating nameplates.  I presume you just expanded the canvas to resize the non power of two nameplates?  There is no issue in the model expecting a 420 x 61  pixel nameplate and then getting a 512 x 64 one?
That's why I wanted to test before sending you the changes.  It looked ok, but I originally couldn't decide if the map was to be centered in the proper place or aligned at 0,0.  I enlarged the canvas size and centered the old layer before saving it back out.  That appeared to work perfectly but someone else may say that was the wrong thing to do.  I tested the resized images on several ships and it was lined up properly every time.  Give it a test yourself just to make sure though.

For nvdxt I just used "nvdxt -nmips 4 -dxt5 -file *.tga".  The "-nmips" option tells it how many mipmap levels to create.  4 would give levels down to 128x16 and 128x32 which is small enough.  I didn't use the GIMP plugin for this since it makes all mipmap levels and you can't restrict it.

I'll be sure and grab the new models, I've been using original hi-poly releases for quite a few of them a bit too long.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: starfox on December 11, 2005, 12:24:42 pm
I played mission"dunkerque" and went to look GTD mesana, only to notice it has some invisible textures around the nameplate.
I also noticed following wierdness...

Ertanax, Loyola and Malta both have GTC "Advocate" nameplate
Oberon, Rampart, Majestic, Refute, Alba, Cato, Conquest, Glorious, Impervious, Fortune, Maelstrom and Trinity are named "GTC Orff"
GTD Carthage also has missing textures around its nameplate
NTD Vindicator also has little piece of texture missing
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Admiral Nelson on December 11, 2005, 12:42:13 pm
Yeah I see that now.  It seems that the nameplate didn't like being resized.

I have the non-dds files here:

http://www.fileh.com/NelsonAndBronte/FS2Nameplates_bak.zip

I am unfortunately about to leave for the airport so I can't do more testing.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: taylor on December 11, 2005, 01:23:56 pm
I played mission"dunkerque" and went to look GTD mesana, only to notice it has some invisible textures around the nameplate.
Woops!  :nervous:  That was the PCX file that had to be resized.  I'll have another go at it and update the previous dds files with the changes.  Will update here when that happens.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: starfox on December 11, 2005, 02:15:55 pm
"Missing texture" - problem is gone now, thanks for update.
According to the shiplab, "GTC Orff" nameplate is stuck with Leviathan and Fenris models...
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: StratComm on December 11, 2005, 02:24:20 pm
That's why you need to download the "nameplate fix" package I put in the media VP patch thread.  It will strip the Orff logo off of the Leviafenris, and I presume is needed for this change anyway.

And taylor, you should just be resizing the tga's themselves, not padding them with empty space.  If you're just expanding the canvas, you will end up making the text itself smaller.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: taylor on December 11, 2005, 05:10:22 pm
And taylor, you should just be resizing the tga's themselves, not padding them with empty space.  If you're just expanding the canvas, you will end up making the text itself smaller.
The non-power-of-2 versions are 420x61 so I was trying to avoid stretching it horizontally if I could.  It may not have mattered, I just wasn't sure.  The problem with the PCX plates is that they include parts of the hull, is it still safe resize those and not cause seams?  I can't tell if my current Orion model is up-to-date so I haven't fixed the texture yet.  The one I have includes a real nameplate but the missions here use part of the hull for texture replacement rather than the old nameplate.  One of the problems of using my own MediaVPs I guess.  Trying to get everything updated to current (or at least more official) right now.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: StratComm on December 11, 2005, 05:22:12 pm
The problem with the Orions are that Galemp didn't realize what I had done with the nameplate texture when he did his reskin, and so the "extra" nameplate polys were removed and replaced with the old style on-hull nameplates.  The one you should be using should work just like the retail Orion, as that's the way the "final" version ended up working.  I'm not really thrilled about it as I changed it in the first place to ease the burden of making nameplates, but what's done is done.

To answer your question though, you should ALWAYS be scaling the whole image.  If you rescale it so that the edges are still the edges then tiling will never be an issue.  UV coordinates are relative to the normalized space of a texture, not pixel-specific.  The corner that starts out as 0,0 will always be 0,0; the one that starts 1,1 will always be 1,1.  Think about how the game handles upsizing internally; it's a stretch, not a fill.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: taylor on December 11, 2005, 06:02:30 pm
The problem with the Orions are that Galemp didn't realize what I had done with the nameplate texture when he did his reskin, and so the "extra" nameplate polys were removed and replaced with the old style on-hull nameplates.  The one you should be using should work just like the retail Orion, as that's the way the "final" version ended up working.  I'm not really thrilled about it as I changed it in the first place to ease the burden of making nameplates, but what's done is done.
I think I remember some conversation about that before.  What would be nice is if I could figure out which friggin Orion model I'm using now. :)  I just don't remember who made it.  It looked really good.  I was happy.  And that's all I needed to know. ;)

To answer your question though, you should ALWAYS be scaling the whole image.  If you rescale it so that the edges are still the edges then tiling will never be an issue.  UV coordinates are relative to the normalized space of a texture, not pixel-specific.  The corner that starts out as 0,0 will always be 0,0; the one that starts 1,1 will always be 1,1.  Think about how the game handles upsizing internally; it's a stretch, not a fill.
Gotcha.  That makes more sense.  I was looking at it more from the API side and not the g3 side, which is totally wrong of me to do since I'm seeing it in reverse code wise.  I'll resize them correctly and then upload again.


Edit: File at previous link updated.  Only tested the Orion and Deimos but both worked properly.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: starfox on December 12, 2005, 06:55:30 am
About the font used on the nameplates....are they available for download in somewhere ?
Also, is it possible to edit current nameplates in photoshop ? For exaple, "renaming" the current name instead of creating completely new one...
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: karajorma on December 12, 2005, 09:41:56 am
Check the modding section of my FAQ starfox. It links to Goober's page which will tell you all you need to know :)
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Cobra on December 12, 2005, 12:17:07 pm
oy, admiral nelson, you forgot the NTCv Belisarius. ;)
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Admiral Nelson on December 12, 2005, 05:28:06 pm
Belisarius should be there -- it was the first Deimos I did!! You sure its not present in the mission?  Unfortunately I have another business trip, and am in a hotel typing on a laptop without access to FS2.

Edit: Note that the filename for BELISARIUS lacks the NTCV prefix.  It should be there in the mission.

And thanks to everyone else for helping out in this conversion!  :)
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: MetalDestroyer on December 12, 2005, 06:07:10 pm
Good to see ^^. Good job.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Cobra on December 12, 2005, 09:45:41 pm
Belisarius should be there -- it was the first Deimos I did!! You sure its not present in the mission?  Unfortunately I have another business trip, and am in a hotel typing on a laptop without access to FS2.

Edit: Note that the filename for BELISARIUS lacks the NTCV prefix. It should be there in the mission.

I'm sure. check my 3.6.7 shots, i took a screenie of the NTCv Belisarius. no nameplate. ;)
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: StratComm on December 12, 2005, 09:57:40 pm
The Trinity should definitely be GTC.  Romig tries to pass his ship off that way when Zeta wing finds it, meaning he was hoping that the record of his defection hadn't been dissiminated to the fleet (before which, changing the nameplate would be really stupid as he could still pass the Trinity off as a GTVA vessel).
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Shadow0000 on January 14, 2006, 03:01:33 am
Coud someone explain me a little, how the nameplates are done...I catch this

A - Black Background
B - Green letters or White letters in 255 255 255 ? (I already have the Font)
C - A Mask (here comes my problem....)

What's is the way of apply the Mask selection, I have done with TGA Backgrounds, even using the Fusion effect for Atmospheres, but this seems to be different, it's seems simple but I can't figure it how.....
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: TrashMan on January 16, 2006, 08:33:31 am
I havn't figured out the nampeplates myself. For my campiang I use normal PCX's (green background, whiteish letters). Doesn't look bad, but if the letters were slightly transparent, it would look better.

Is there a coprehensive tutorial out there on how to make such nameplates?
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Admiral Nelson on January 16, 2006, 11:52:23 am
I just used GIMP.  A fully transparent background layer of the size appropriate for the model in question.  Add a text layer with the text in Stop font.  GIMP has a transparency slider for each layer.  I moved the slider to around 90% opaque to have some transparency..  I then save the file as a TGA.  Last step is to use the nvidia utility to convert the resulting tga to dds -- there is no reason not to use dds for a nameplate.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: taylor on January 16, 2006, 12:18:09 pm
I then save the file as a TGA.  Last step is to use the nvidia utility to convert the resulting tga to dds -- there is no reason not to use dds for a nameplate.
Or you could just get the DDS plugin for GIMP (http://nifelheim.dyndns.org/~cocidius/dds/) and skip the TGA->DDS step.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: TrashMan on January 16, 2006, 07:14:52 pm
GIMP?


Can anyone explain how to do the same in Photoshop?
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: StratComm on January 17, 2006, 08:48:13 am
Photoshop works more or less in the exact same way.  Create a new image with a transparent background and sized the way you want the nameplate texture to be, add a layer for text and put the name for the plate in there, and reduce the opacity of the text layer.  Collapse the text layer into the base, save as TGA (and convert later) or DDS if you have the plugin for it, and you're done.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Goober5000 on January 17, 2006, 10:07:30 am
It's a bit more complex than that...
http://sectorgame.com/goober/nameplates.html
IMHO merely reducing the opacity on a single layer doesn't make a satisfactory effect.

The good news is that my Photoshop template can be used for any nameplate... just resize it. :)
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: StratComm on January 17, 2006, 11:26:45 am
While I agree, the basic effect Trashman is going for here isn't of the complexity of the Orion nameplate method.  The plates he's wanting to make would be derivatives of the pure green background map.  Ideally you would use a noise overlay of some kind to keep it from being too uniform without having to custom tweak the image.

The larger question, however, the difference between Gimp and Photoshop, is more a matter of interface, optimization, and available plugings.  Their core operation is really more or less the same, at least on the level that most of us use them at.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: TrashMan on January 17, 2006, 05:17:54 pm
Teh naemplates on my ships are invisible planes flaoting a few mm above the hull.

And I think I figured it out in photoshop.

You make a transparent Layer.
Add a new layer.
Write the text on it.
Reduce the transpareny of that layer to 90%
merge layers
Save as DDS or tga.

Just one thing, I used the auto-generate mip maps option when making the DDS. (DTX5 setting).
Someone said you should use only 4 mip map levels. (note -my nameplates are 256x256)
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Shadow0000 on January 17, 2006, 06:11:01 pm
Thanks. I was wondering if I did something wrong, the problem is that I using PhotoPaint (Corel), so maybe it didn't work because it was old, but I'll see, if not, then I'll use GIMP.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: StratComm on January 17, 2006, 11:50:48 pm
I was afraid that you were going to make square nameplates.  There's really no reason for them to be that way; you can make them 512x64, for example, and have the same filesize but occupy much more of the available space with text.  But otherwise, that's exactly right.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Shadow0000 on March 14, 2006, 10:38:51 pm
Could someone explain me how to do the NamePlates which uses Alpha (Leviathan/Fenris/Deimos/Hecate) using PhotoShop, I can't really figure out how to do it.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Goober5000 on March 15, 2006, 12:42:34 pm
http://www.sectorgame.com/goober/nameplates.html
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Petrarch of the VBB on March 15, 2006, 02:36:55 pm
If you're applying a nameplate to a ship, do you have to do it in a text editor?

If I try to do it through the texture replacement thing in FRED, it goes all illegal-op when I save the mission.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Goober5000 on March 15, 2006, 03:44:23 pm
That's a bug in FRED.  Text editing should work.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Shadow0000 on March 15, 2006, 09:27:35 pm
I am not talking about the Orion and Faustus nameplates which are made through Blur multiple Layers, that's tuturial is excellent but it doesn't really help me.

What I mean are the Leviathan nameplates, also used for Fenris/Deimos/Hecate models. The RGB layer uses white letters with a Black Background, while the Alpha Layer uses a Black background also (means 100% transparent), bu the the letters have a 10% transparency. That's what I don't know how to do, I understand it, but I can't really do it.

RGB Channel:

(http://i29.photobucket.com/albums/c254/Shadow0000/RGB.jpg)

Alpha Channel:

(http://i29.photobucket.com/albums/c254/Shadow0000/Alpha.jpg)

The only way that I can think of doing this, is to save the the same image as a Bitmap but with the Letters at 10% Oppacity, then I use the option to load an Alpha Channel from a Bitmap. That way seems to work, but it is wrong there should be a simple way to do it.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Goober5000 on March 15, 2006, 10:14:36 pm
I'm not 100% sure, but I think you might be able to get away with using the tutorial but just deleting the Orion nameplate layer.  Then you end up with a transparent nameplate with no background, which you can then use in the model.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Admiral Nelson on March 15, 2006, 11:16:30 pm
I did these in GIMP, in which you just can just set the transparency of the text layer to 90% and voila.  I have only photoshop elements, so I'm not sure exactly how it can be done in photoshop itself, but I would think you can just put the text on its own layer and then adjust the opacity of that layer.
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Mehrpack on March 16, 2006, 04:55:27 pm
hi,
normaly in the newer versions you can edit the opacity of the textlayer, but i doesnt know if it with older version possible, too.

but i not, make a new empty layer and merge down the text layer to the empty layer, now its the text a normal layer and the opacity can edit.

Mehrpack
Title: Re: FS2 Stock Campaign Nameplates RELEASE
Post by: Porthos on March 25, 2006, 12:04:33 pm
Hey could you fix the links for these? that would be sweet.