Galaxy Forge help!

Spawning militia units

So I was playing around on the galaxy forge editor for the game and found you can place selected units, I tried this and none spawned. I then found from multiple posts by a guy called GoaFan77 some tips to help but none worked. I deselected the default planet template, I used notepad to tell it to spawn "Always" for the "PlanetOwner" which was labelled "RandomMilitia" and so was the group fleet but now nothing spawns. If anyone can help please do!

9,742 views 8 replies
Reply #1 Top

Put your map code on pastebin and link it here.

Reply #3 Top

Okay, personally I don't use templates very much so I might be missing something, but all of your templates have...

 

owner "NoOwner"


You need to change this to 

owner "RandomMilitia"

 

It sounds like you made the RandomMilitia own the planet before and used PlanetOwner, which would indeed not work. Always directly use "RandomMilitia" for the group owner.

Reply #4 Top

Ok thanks for the help, so the owner should be "RandomMilitia" and the planet owner blank? the templates were only used as a copy paste

Reply #5 Top

Quoting C4LL_0F_C4KE, reply 4
Ok thanks for the help, so the owner should be "RandomMilitia" and the planet owner blank? the templates were only used as a copy paste

Blank or NoOwner, whatever the GalaxyForge does by default. You could set the Planet owner to be "RandomMilitia" as well if you want the planet to be colonized by the militia as well, not just guarded by it.

Another valid owner you don't see in GalaxyForge is "Pirate" if you ever want to mess with them.

Reply #6 Top

I went through the code and I must have done something wrong because it crashes the game when opening the galaxy forge map tab and even galaxy forge wont open it. I can see what I have done wrong, but I have the pastebin here

http://pastebin.com/DQvQ41FX

Reply #7 Top

In your template names you used spaces I believe this caused your crashed

You used

        templateName "Pirate Bases Known"

 

Try

        templateName "PirateBasesKnown"

 

Reply #8 Top

Quoting Larani64, reply 7

In your template names you used spaces I believe this caused your crashed

You used

        templateName "Pirate Bases Known"

 

Try

        templateName "PirateBasesKnown"

 

I believe they were in the initial code as it is the name of the custom template the problem was spawning these templates but I will check to be safe.