New Custom Race Debugging/Creation

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!
:wink:

1 Like

@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 …

1 Like

…urrr idk why Notepad++ is any better then regular notepad :neutral_face:

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.

Thanks :wink:

Also, @Faction_Red029 did you fix your problems yet?

Kinda…kinda not

Question for those that are smarter than me, how do you get a race added to the remastered death match? I already got the progenitor ready to go cept for research and some dockpath issues.

Don’t ask me I want to know this as well

Just make sure it has the right tags on it :wink:

Has been offline for quite awhile because of College and internet problems…I will be working on a mod later…but for now its just college and finding a job

Well, that is more important than modding.
Good luck :dukeaffirmative:

1 Like

How are you doing College/Modding at the moment?

1 Like