OpenXcom Bug Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
CLOSED  Feature request #43  -  Allow add custom language-files for modding purpose
Posted May 23, 2013 - updated Apr 11, 2019
action_vote_minus_faded.png
1
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Done" and resolution "RESOLVED".
Issue details
  • Type of issue
    Feature request
  • Status
     
    Done
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     winterheart
  • Owned by
    Not owned by anyone
  • Category
    Not determined
  • Resolution
    RESOLVED
  • Priority
    Not determined
Issue description
Currently we have only two types lang-files: translation and soldiers name. For modding we are forced to add strings to translation file. It would be great if we can create skeleton mod structure, like this:
 MOD-root-dir
  |- graphic
    |- some sprites
  |- rulesets
    |- some rulesets
  |- strings
    |- some translation files
  |- mod-file.cfg


So we can define all kind of resources in mod-file.cfg and add it to core game.

#2
Comment posted by
 Simon-v
May 24, 11:46
As a bare minimum, a customStrings: section in the mod's ruleset would work wonders.
#3
Comment posted by
 Warboy
icon_reply.pngMay 25, 02:58, in reply to comment #2
i'll add this in for now, but i'll leave the feature request open until a proper solution is sorted.

Simon-v wrote:
As a bare minimum, a customStrings: section in the mod's ruleset would work
wonders.


#4
Comment posted by
 Warboy
May 25, 05:24
https://github.com/SupSuper/OpenXcom/commit/ada6362b967b3dc732d15902d89e22823379b94f

i hope this will do
#5
Comment posted by
 Warboy
Jun 12, 05:25
can i resolve this? is the ruleset implementation enough?
#6
Comment posted by
 Simon-v
icon_reply.pngJun 12, 16:14, in reply to comment #5
This is sufficient, thank you.

I'm slightly surprised you didn't already. smileys/2.png