Now i apologise if this has been covered somewhere before i have been trawling for tutorials and such. Now im looking at as a start adding a new ship into the game along side all the exisiting ships as i see sins can handle up to 9 per page and theres a few open slots.
This is correct, up to nine can be added for each page.
So i've started by downloaded the full race mod where it has the extra 3 races already made, so i thought nice and easy i'll just make a carbon copy of one of the ships already and just increase its hp. problem im having is i cant get it to show up in game.
The new ship doesn't show up? or the new races don't show up?
Now what i've done so far, is to copy the race1scout and rename it race1test and all i've alteed in that is the stringname and added a new line in the english.str file saying its a test ship. i have increased the string count by +1 aswell so it knows to read it.
Sounds good.
I've then go to the manifest.entity file and added the line entityName "FrigateRace1test.entity" and increased the string count by +1 so it knows to read the extra line added.
Sounds right for the entity.manifest.
I've then go to the playerRace1.entity file and under the frigate info section have added the line entityDefName "FrigateRace1test" and again has increased the count number from 6 to 7 so it knows theres an extra string to read.
Sounds right for the Player entity.
As the other issuse i can see is how do i tell it to look at a certain picture for the HUD icons.
mainViewIcon "MAINVIEWICON_FRIGATE_RACE1SCOUT"
picture "PICTURE_FRIGATE_RACE1SCOUT"
These map to entries in a .brush file.
Depending on if you are using the race mod or not the files are as follows. I added the copies of these files for the new race mod so you could modify them without affecting the main three races.
Race1_HUDIcon-Ship.brushes
Race1_Picture-Ship.brushes
Race1_MainViewIcon-Ship.brushes
Race1_InfoCardIcon-Ship.brushes
or... if you modify the just the base game files.
HUDIcon-Ship.brushes
Picture-Ship.brushes
MainViewIcon-Ship.brushes
InfoCardIcon-Ship.brushes
These then map to texture files such as
Races_Unit_Hud_CursorOver
Races_Unit_Hud_Disabled
Races_Unit_Hud_Normal
Races_Unit_Hud_Pressed
Races_Unit_Infocard
Races_Unit_Main
Races_Unit_Picture
or from the base game just remove the Races_.