ooooh plasma tv + eufloria *drool*
It's so awesome.
First how do you level up trees at the start i know the command is LevelUp() but were do I put that?
You run it on a tree.
Suppose you make an asteroid called "a"...
a = AddAsteroidWithAttribs(0,0,1,1,1)Then you make a tree called "s" on the asteroid called "a"...
a = AddAsteroidWithAttribs(0,0,1,1,1)
s = a:AddDysonTree()...then you would level up the tree called "s" like this:
a = AddAsteroidWithAttribs(0,0,1,1,1)
s = a:AddDysonTree()
s:LevelUp()If you want it to level up to full, run the command 3 times:
a = AddAsteroidWithAttribs(0,0,1,1,1)
s = a:AddDysonTree()
s:LevelUp()
s:LevelUp()
s:LevelUp()Secondly would the set grace time command be like a:SetGraceTime(300) under the asteroid you don't want the ai to touch?
Correct. :> Then the AI will not do anything with that asteroid for the first 5 minutes of game time.
*edit* I also don't know how to make an asteroid uninhabited I put zero in but still a random faction spawned on it :/
If you didn't add the faction, and you set the owner to 0, then it's probably because the game automatically spawns factions unless you put these command somewhere in your
function LevelSetup() (usually alongside all your other globals):
Globals.G.EnemyFactionsMin=0
Globals.G.EnemyFactionsMax=0What that does is tells the game to not spawn any empires automatically. That way only the empires you specifically create will be there when the level loads. :>