Need help adding a new researchable ship

I'm trying to make a "Super Kol"  that you have to research to be able to build it, but I can't figure out how to change it's picture and name on either the research screen or the capital ship factory.  If it helps, I just used the LRM research .entity file to make the research.
4,043 views 9 replies
Reply #1 Top
And the technical name would be...

I could probably help you, but I want the real file name.
Reply #2 Top
RESEARCHSUBJECT_FRIGATEACCESS_LONGRANGETECH, and I just modified that calling it. RESEARCHSUBJECT_FRIGATEACCESS_TECHSUPERBATTLESHIP. I can now research it and build the ship. It still has the picture and description for the LRM research though.
Reply #3 Top
ok looking for the file...

Ahh, so you need to change the graphics in game though..

Ok so here are the lines of code you need to look at:

hudIcon "HUDICON_RESEARCHSUBJECT_FRIGATEACCESS_LONGRANGETECH"
smallHudIcon "HUDICON_RESEARCHSUBJECT_FRIGATEACCESS_LONGRANGETECH"
infoCardIcon ""
NameStringID "IDS_RESEARCHSUBJECT_FRIGATEACCESS_LONGRANGETECH_NAME"
DescriptionStringID "IDS_RESEARCHSUBJECT_FRIGATEACCESS_LONGRANGETECH_DESCRIPTION"

Well hudIcon I can almost guarantee is the logo for the research. Then you have name string ID, that is what id you need to have the name. You might (did I emphasize that enough?) be able to simply enter something like "Novalith Kol Battleships" and it might work, once again MIGHT. Discription, is the discription when you mouse over it. Once again I am not sure where the ID's refet to, there is probably some entity file that holds them. Once you find that, you'll want to enter a line that would be

"IDS_RESEARCHSUBJECT_FRIGATEACCESS_SUPERKOL_DESCRIPTION"

Well I hope that helps, the best thing to do would be to find those entity files that hold them, and I'll look to see If I can find them, If I do, I'll post the name and the line.
Reply #4 Top
The name refers to a string name in english.str (in the strings folder in refrencer files).
Reply #5 Top
Hey I found It!!! It is under string "English.str" Its not an entity, but its definately the right file. Now I'll just find the place.


EDIT: Ok, well hadn't refreshed the page so didn't know Aractin had already specified where...

Well actually it doesn't really matter where it goes in it, it'll reorganize itself anyways, so yah, happy coding!  :CONGRAT: 
Reply #7 Top
oh, wait..... did I miss something? Did you guys tell me how to change the logo for the research? I found the files that hold the logos, but it's one file. How do I specify which part of the picture is the logo I want to use? The logo's are in the textures folder, and the file is called unit_... there are about 5 files that each have varying types of the unit pictures.
Reply #8 Top
.window files have two coordinates which it uses to cut out the pictures (in game).

you need the HUDIcon-Research.brushes file (not the top ones, those are artifacts).