I mean ships not scripts
The race is Taiidan though
Make sure the BUTTON is unique in the script. The have an index number that cannot be the same of any of the other build options in the same displayname
Ok i have my family list setup and my starting fleets are ok…Ships are in the shipfolder with the Right names (omg_mothership, omg_fighter etc )

so im kinda stumped lol lol lol

Should that be in HomeworldRM/Data/scripts/startingfleets
or HomeworldRM/OmegaFleet/Data/scripts/startingfleets ?
umm…it is in HomeworldRM/Data/scripts/startingfleets
and atm i don’t have it in a MOD folder i just chuck it in the Data folder because i only work on one project in HW at a time
Okay I looked closer, you’re missing a }
PersistantData = {
StrikeGroups = {
},
Squadrons = {
{
type = "Omg_Mothership",
subsystems = {
},
shiphold = {
},
name = "",
size = 1,
},
{
type = "Hgn_Resourcecollector",
subsystems = {
},
shiphold = {
},
name = "",
size = 1,
number = 6,
},
}, -- <- There should be 3 here.
}
lol why is it always the small things that kill us…OH NO THE ANTS ARE GOING TO KILL US ALL!!!
Why ants why!

@Faction_Red029 I see you use notepad … Use notepad++ to make code, it’s simple and more useful than this stupid Notepad … And it’s free …
Links :
https://notepad-plus-plus.org/download/v6.8.3.html
I suppose all modders use this …
…urrr idk why Notepad++ is any better then regular notepad 
i have both on my Pc and in my opinion for HW modding both work fine
You have lot of functionality on Notepad ++ than Notepad doesn’t have …
Ex : Auto-Completion ; Compare (plugin can be add to ‘compare’ two file and you see your error) ; Lines (the most important in programming / scripting etc … You can’t work in the programming if you don’t have this line, because, log return the line of the problem, and notepad doesn’t have the number of line on the left …) ; lua is actually support by N++ etc…
We have lot of example, but Notepad is for the beginner, and, after you use N++, you can’t return to notepad …
Personally, when i discovered N++, it’s change my life … You can work in the good condition, and when i used Microsoft Visual Studio, it’s the same, for c / c++,i used it.
But it’s my opinion, and for work it’s the best …
I use that as well
The biggest immediate benefit of any upgrade from notepad(I’ve used Notepad++, Programmer’s Notepad 2, and Sublime text and different points in time) is being able to show line numbers. If you’ve flubbed in lua scripting the message will often tell you where in a file it broke, and finding that place without line numbers can be a challenge. Powerful search tools can be handy too, especially if you’re digging through someone else’s scripts(such as relic or gearbox) trying to find where something is done.
Do you mean build.lua because I do not know where the “Button” is?
yup, the build lua. Deines which thing is built as a result of clicking it, and what the name and description will be on the build menu.
Where is the code that tells you where the button is
data:\scripts\races[race]\scripts\def_build.lua
{
Type = Ship,
ThingToBuild = "[ship_name]",
RequiredResearch = "",
RequiredShipSubSystems = "",
DisplayPriority = 18, -- <-This number needs to be unique
DisplayedName = "[Displayname]",
Description = "[Description]"
},
And when I say unique, I mean unique as compared to all other ships in the same display family. You can do fighters with 0, 1, 2, 3 and frigates with 0, 1, 2, 3, just don’t let there be two ‘3s’ in any one category. You can play it safe if you want though by making every single ship be completely unique so it’d fit no matter what family it’s in.
Kinda…kinda not