Jump to content

Aliases for resources (for the modders) also units.


Recommended Posts

So this is a request for the modders rather than stock game.

There are a few mods out there, TAC Life Support, ECLSS, Intersteller, that use resources such as Oxygen, Food and so on.

Each mod uses it's own naming system, so some use Oxygen, others O2.

The suggestion is to allow aliases for resources as defined in the ResourceGeneric.cfg so that multiple names could be used for the same resource. Multiple aliases could be separated by commas.

The game would treat any resource with the primary name or any of the aliases as the same resource, allowing mods to be more cross compatible.

Example:

RESOURCE_DEFINITION

{

name = Oxygen

alias = O2, Oxy

density = 0.0075

flowMode = NO_FLOW

transfer = NONE

isTweakable = true

}

Second part!

Also add a units definition, which would display next the value in the game. It would help modders know what a resource is and also add opponunaties for metagame science for those who love that sort of stuff (while taking nothing away for those who don't).

RESOURCE_DEFINITION

{

name = Oxygen

alias = O2, Oxy

units = liters

density = 0.0000014290

flowMode = NO_FLOW

transfer = NONE

isTweakable = true

}

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...