Changing starting units

Starrynite120

Prince
Joined
Jul 15, 2015
Messages
472
Simple Question: how do I remove the starting explorer? I want at planetfall to start with only a soldier, but I can't find the entry for this in the code.
 
It is controlled by HandicapInfos. You can use the following SQL I wrote for one of my own mods to make everyone start with a Soldier instead of a Explorer.
Code:
-- Start with Marines instead of Explorers
UPDATE HandicapInfos SET StartingExploreUnits = 0, StartingDefenseUnits = 1, AIStartingExploreUnits = 0;
-- AI always starts with at least one Marine
UPDATE HandicapInfos SET AIStartingDefenseUnits = 1 WHERE AIStartingDefenseUnits = 0;
 
So question then on HandicapInfos, does the AI always use HANDICAP_AI_DEFAULT, or does it use the difficulty level setting?

Or does only Player characters use Difficulty setting?
 
It uses the difficulty settings, Default is merely a fallback and not being used.
 
Back
Top Bottom