Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
And a quick search through my error log showed no errors related to NSC starbase variables.
@NSC_GrandCitadel = "starbase_stronghold" # Grand Citadel
@NSC_SolarStronghold = "starbase_headquarters" # Solar Stronghold
these have the same values as ship_sizes for NSC starbases as defined in <NSC>/common/ship_sizes/nsc_starbases.txt
@NSC_stronghold #@NSC_GrandCitadel
@NSC_headquarters #@NSC_SolarStronghold
I am just trying to get better at modding, and knowing how to refer to objects from other mods (in the case that they are running) without breaking the game would be awesome.
Yes, you should be able to use variables from other mods if you know they will be there - e.g. ESC overwrites will always be used with base ESC, where ESC variables are defined
If we go specifically for the latest case, ship types are defined in /common/ship_sizes and components - both weapons and utility - in /common/component_templates. Mod need to have same file structure, though obviously can use their own file names if they don't want to overwrite vanilla stuff. You just need to find the entity you're interested (e.g. explorationship for ship_sizes) and check if it is listed where it should in components' size_restriction for these components to appear in the ship designs (empty size_restriction means any ship_size can use it)
NHunter, how can you identify the internal name of objects? Where are these defined if you do not mind me asking? :)