Author Topic: Scenario load dialoque  (Read 1015 times)

0 Members and 1 Guest are viewing this topic.

Offline Frank

Scenario load dialoque
« on: May 03, 2016, 02:05:25 PM »
Is it possible in the scenario Loading dialog display the string of scenario.short_description?

right of the button

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8725
  • Total likes: 303
  • Helpful: 228
  • Languages: De,EN,JP
Re: Scenario load dialoque
« Reply #1 on: May 03, 2016, 08:59:31 PM »
Unfourtunately this is not trivial, as is this an internal function in the nut script. I am not well enough in understanding to call sucessful the script without fully executing it.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4201
  • Total likes: 157
  • Helpful: 148
  • Languages: EN, DE, AT
Re: Scenario load dialoque
« Reply #2 on: May 06, 2016, 05:36:29 AM »
What about adding a small file info.nut that contains the necessary information (but not more).
Parsley, sage, rosemary, and maggikraut.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8725
  • Total likes: 303
  • Helpful: 228
  • Languages: De,EN,JP
Re: Scenario load dialoque
« Reply #3 on: May 06, 2016, 09:44:20 PM »
IT would be even easier, if one can have an entry in the scenario translations filed "scenario_short_goal" or so. Than one just have to parse the matching scenario file to display the goal. I think that would be the easiest way.