Sure, I'm happy to submit packages in whatever format is desired going forward. This new nanocaust.tar should be what you are looking for.
A quick glance through my sandbox has the following extra code you might want.
Adding this code to MapGeneration.cs will cause a Starship Constructor to be added to your starting planet when you say "Start With First Planet." I find this handy, since if I don't want it I can just cancel it later and building a starship constructor takes a couple minutes.
GameEntity.CreateNew( side, controllerData, controllerPoint, Context );
haveCreatedController = true;
+ GameEntityTypeData starshipConstructorData = GameEntityTypeDataTable.Instance.GetRowByName( "StarshipConstructor", true, null );
+ ArcenPoint starshipConstructorPoint = center.GetPointAtAngleAndDistance( angleToAI, Context.QualityRandom.Next( innerSystemMinimumRadius, innerSystemMaximumRadius ) );
+ GameEntity.CreateNew( side, starshipConstructorData, starshipConstructorPoint, Context );
if ( controllerData.PlanetsWorthOfAIPOnDeath != 0 )
World_AIW2.Instance.ChangeAIP( controllerData.PlanetsWorthOfAIPOnDeath * ExternalConstants.Instance.Balance_BaseAIPScale, AIPChangeReason.EntityDeath, controllerData, Context );
I am attaching code for adding support for "Strength" to be shown along with "number of ships" and "number of squads" in the sidebar. To support the added Strength field, please update KDL_UIWindows as follows (I'm not going to attach KDL_UIWindows since that has some other changes)
- <element prefab_lookup_name="BasicText" width="20" height="3.5" type_name="tEnemySummary" />
- <element prefab_lookup_name="BasicText" width="20" height="3.5" type_name="tPlayerSummary" />
- <element prefab_lookup_name="BasicText" width="20" height="3.5" type_name="tAllySummary" />
+ <element prefab_lookup_name="BasicText" width="30" height="3.5" type_name="tEnemySummary" />
+ <element prefab_lookup_name="BasicText" width="30" height="3.5" type_name="tPlayerSummary" />
+ <element prefab_lookup_name="BasicText" width="30" height="3.5" type_name="tAllySummary" />
I also have code for making the metal data more readable, but that is a bit more hacky and requires some other tweaks (like moving the Hide GUI button) that I'm not sure are ideal for actual inclusion in the game.
Finally there are also the extra map types, but please hold off on those until I get around to using the new UI code to let players tune their maps in the Game Selection Screen