Hi, can someone check this code please.
The Wraith Super Hive ship mesh and textures have already been added. Ive basically replaced the Tech Capital ship carrier mesh with the Wraith Hive mesh and changed the string reference to suit.
Iv'e read theweebley myfisto linked for me.
http://soase.weebly.com/add-planets.html#Brushes
It confused me slightly because it talks about planets and I'm trying to add a ship/fighter.
GameInfo Folder
Copy the FighterTechCombat.entity in the GameInfo folder,
Rename it FighterTechCombatWraithDart.entityand copy and paste it back into the gameinfo folder.
String folder
Add a new line in the string file:
StringInfo
ID "IDS_FIGHTERTECHCOMBATWRAITHDART_NAME"
Value "Fighter"
Increase the string count +1
Entity.manifest
Add a new line in the entity.manifest
entityName "FighterTechCombatWraithDart.entity"
Increase the entity.manifest count +1
Mesh folder
Add the WraithDart.mesh and name it “SupportShip_TechFighterWraithDart”
Textures Folder
Add
WraithDart-cl
WraithDart-da
WraithDart-nm
GameInfo Folder
Find the new GameInfo file previously created: FighterTechCombatWraithDart.entity
Change line 75 to: meshName "SupportShip_TechFighterWraithDart"
So the game reads the wraith mesh.
GameInfo Folder
Find and copy the SquadTechCombat .entity in the GameInfo folder,
Rename it “SquadTechCombatWraithDart.entity” and copy and paste it back into the gameinfo folder.
String folder
Add a new line in the string file:
6999 StringInfo
ID "IDS_SQUADTECHCOMBATWRAITHDART_NAME"
Value "Fighter Squadron"
7002 StringInfo
ID "IDS_SQUADTECHCOMBATWRAITHDART_DESC"
Value "Squad of Wraith fighters good at taking out bombers"
Increase the string count +1
Entity.manifest
Add a new line in the entity.manifest
entityName "SquadTechCombatWraithDart.entity"
Increase the entity.manifest count +1
GameInfo Folder
Open the CAPITALSHIP_TECHCARRIERWRAITHSUPERHIVE.entity, (previously added)
Find the following lines:
squadTypeEntityDef:0 "SquadTechCombat"
squadAntiMatterCost:0 0.000000
squadTypeEntityDef:1 "SquadTechBomber"
squadAntiMatterCost:1 0.000000
squadTypeEntityDef:2 ""
squadAntiMatterCost:2 0.000000
squadTypeEntityDef:3 ""
squadAntiMatterCost:3 0.000000
Delete “SquadTechCombat” & “SquadTechBomber” And add “SquadTechCombatWraithDarts”
squadTypeEntityDef:0 "SquadTechCombatWraithDarts“
squadAntiMatterCost:0 0.000000
squadTypeEntityDef:1 ""
squadAntiMatterCost:1 0.000000
squadTypeEntityDef:2 ""
squadAntiMatterCost:2 0.000000
squadTypeEntityDef:3 ""
squadAntiMatterCost:3 0.000000
I think that is how i get the Wraith Hive to have Wraith Darts.
If this is correct then i can get my shadowfighter battle crabs in the Shadow Capital ship, without using up the minelayer slot.
I also have to alter the following files, which i will get to at some point, once i've got the fighters in game.
Hudicon-Ship.brushes
Picture-Ship.brushes
MainViewIcon-Ship.brushes
InfoCrdIcon-Ship.brushes
&
Unit_Hud_CursorOver
Unit_Hud_Disabled
Unit_Hud_Normal
Unit_Hud_Pressed
Unit_Infocard
Unit_Main
Unit_Picture
Red-is changes made
Black-is instructions
Theo