Page 1 of 1

Scenario Creator Tool

PostPosted: Sat Jan 03, 2015 7:17 am
by anthroban
Is there a tool available to create your own scenarios or is it possible to set specifications and limits in sandbox mode?

Re: Scenario Creator Tool

PostPosted: Sat Jan 03, 2015 8:35 am
by Pleb
Nope, this is currently not possible, and I don't think it ever will be I'm afraid.

Re: Scenario Creator Tool

PostPosted: Sat Jan 03, 2015 8:51 am
by WizzyThaMan
Dont be so sure, Pleb.
I think it will be easy to create an application where you can set values and pick stuff like Reliability etc. as limitations, then export the file to be in the game.
Especially with the devs allowing for a modding community.

Re: Scenario Creator Tool

PostPosted: Sat Jan 03, 2015 8:53 am
by Pleb
I know it will be easy, but I just don't think the devs themselves will implement it, but with the community we have here, it could very well be modded in. :)

Re: Scenario Creator Tool

PostPosted: Sat Jan 03, 2015 9:16 am
by Kubboz
The main problem with modding the scenarios in is that the public .lua scripts are encrypted. One could try to extract the non-encrypted scripts from the beta, but the beta build and the public build would need to be almost identical at least, so the soonest we could try is at the time of the steam release.

Re: Scenario Creator Tool

PostPosted: Sat Jan 03, 2015 9:43 am
by Killrob
Making scenarios is super easy, we could maybe provide one scenario lua as "CustomScenarios.lua" which is unencrypted.
A scenario can be made in a matter of minutes coding, but takes a long time to balance :)

Here is an example:

  Code:
   {
      Name = "Scenario_HalfTheProblem_Name",
      Description = "Scenario_HalfTheProblem_Desc",
      ImageFile = "Inline6 S1",
      
      BlockConfigs = { "INL6", },
      
      SaveName = "I6Scenario1",
         
      --Bronze is assumed to be 1000
      MaxScore = 1500,
      Difficulty = "Scenario_Difficulty_Easy",
      
      ScenarioData = "SANDBOX_DATA",
            
      Limitations =
      {
         { Type = LimitationTypes.Year, Value = 1969, },
         { Type = LimitationTypes.LoudnessMax, Value = 70, },
         { Type = LimitationTypes.MTTF, Value = 5, },
      },
      
      Specifications =
      {
         { Type = SpecificationTypes.PerformanceIndex, Value = 90, Fraction = 0.2, },
         { Type = SpecificationTypes.Weight, Value = 250, Fraction = 0.2, },
         { Type = SpecificationTypes.Economy, Value = 500, Fraction = 0.25, },
         { Type = SpecificationTypes.TotalCosts, Value = 2500, Fraction = 0.25, },
         { Type = SpecificationTypes.Responsiveness, Value = 30, Fraction = 0.1, },
      },
   },

Re: Scenario Creator Tool

PostPosted: Sat Jan 03, 2015 12:23 pm
by WizzyThaMan
Good mentioning, KillRob.

The whole point is not making the scenarios as I expected, but as you mentioned it is the balancing.
Would be amazing if we could make some good balanced, quality scenarios as extra content somehow.

We definetly need to look into this at later times, but sure seems interesting to also get them integrated in the game's UI with thumbs and all.