Is it possible to make set all of the asteroids stats somehow? I want to make a level where all of the planets produce fast seedlings, (mostly out of impatience). I've tried changing the "minspeed" stat but that seems to cause an error.
At the moment the stats are equally randomly generated. You can set individual asteroid stats in a level:
<asteroid pos="-2500,0" attribs="0.7,0.2,0.3" owner="2" trees="3,1" seedlings="40" static="false"/>
change the attribs field.
Also, is there a way to make more of the neutral asteroids have the gray (team 0) units on them? I want to make a harder level where all the asteroids are defended.
You can do this procedurally by modifying the following variables:
<dir name="GAME">
<dir name="GREYSPROBABILITY" type="int" value="15" />
<dir name="GREYSMIN" type="int" value="5" />
<dir name="GREYSMAX" type="int" value="10" />
</dir>
Probability is 0 -> 100% chance of greys being created on an asteroid at the start of the game.
min/max are limits on the number of generated enemies.
One more question: Is there a reason the AI teams have no limit on how far their seeds can travel? It's really annoying to have to defend asteroids that are 6 asteroids away from my borders...
The reason is that the AI teams are a filthy hack that needs rewriting.
Wow, that's really complicated, why didn't the developers just set up a function where you could set attack radius to 1000 or 500 or whatever you want? It seems so unintuitive to choose attack radii in such a complex way.
We made it like this so that there could be a difference in value between smaller and larger asteroids. I don't think it's unintuitive that larger asteroids allow you to send farther, but it does result in bugs which we do need to address. If you want to set the radius, change the following values:
<dir name="ASTEROIDS">
<dir name="MINSENDDISTANCE" type="int" value="1000" />
<dir name="MAXSENDDISTANCE" type="int" value="1000" />
</dir>
and set them to the same desired value as shown. That should work.