Page 1 of 1

Is it possible to add our own scenarios to the game?

PostPosted: Wed Jan 08, 2014 11:40 am
by Reaper392
I can see that most of the game files are lua files so I was wondering whether, as a reasonably good programmer (I'm more at home with C++ but I can muddle my way through lua), if it was possible to make my own scenarios. I know that some of the game files are readable with notepad++, but I don't have anything for specifically editing lua so I wanted to ask if this was even possible before I went hunting for a lua editor.

Re: Is it possible to add our own scenarios to the game?

PostPosted: Wed Jan 08, 2014 6:23 pm
by Killrob
This will definitely be easy modding stuff. What we want to do in the medium term future is to basically make Multiplayer the go-to thing if you want to play scenarios, going to a timed challenge mode. Scenarios are indeed easy to create, for those interested, it looks like this:

  Code:
   {
      --Scenario Nr.1
      Name = "Scenario_FullPull_Name",
      Description = "Scenario_FullPull_Desc",
      
      BlockConfigs = { "V8", },
      
      SaveName = "V8Scenario1",
         
      --Bronze is assumed to be 1000
      MaxScore = 2250,
      Difficulty = "Scenario_Difficulty_Tutorial",

      ScenarioData = "SCEN_DATA_B305",
      
      DisableQualitySlider = true,

      ImageFile = "V8 S1",
      
        TechPool =
      {
         BottomEnd = 0,
         TopEnd = 0,
         FuelSystem = 0,
         Aspiration = 0,
         Exhaust = 0,
      },
      
      Limitations =
      {
         { Type = LimitationTypes.Year, Value = 2006, },
         { Type = LimitationTypes.NoVVTVVL, },
         { Type = LimitationTypes.NoEFI, },
         { Type = LimitationTypes.NoRaceIntake, },
      },
      
      Specifications =
      {
         { Type = SpecificationTypes.Power, Value = 509,  Fraction = 0.25, },      
         { Type = SpecificationTypes.Weight, Value = 250, Fraction = 0.50 },      
         { Type = SpecificationTypes.ServiceCosts, Value = 4000, Fraction = 0.10, },
         { Type = SpecificationTypes.Responsiveness, Value = 35, Fraction = 0.15 },
      },
   },

Re: Is it possible to add our own scenarios to the game?

PostPosted: Wed Jan 08, 2014 7:41 pm
by xABSOLUTIONx
user made scenarios with online tables for reference? :)

with that i meant - scenario tab divided into 2, with the other one for those who don't like timed play a.k.a. multiplayer as it is now

Re: Is it possible to add our own scenarios to the game?

PostPosted: Wed Jan 08, 2014 8:52 pm
by Killrob
The main Multiplayer mode will work like the Multiplayer scenarios right now, with the difference that the game/challenge will be open 24h and can be played at any time in that time period with "ghost" players on the leaderboard. Everyone has only one try of course, and after the 24h are over, the leaderboards are published and PowerLevel is distributed :) I think that mode will add loads of replayability. That can also be made to work with car designing scenarios where you have to design both the car and the engine.

Re: Is it possible to add our own scenarios to the game?

PostPosted: Thu Jan 09, 2014 2:49 am
by Reaper392
I guess that means that it cant be done right now, but in the future it shouldn't be too hard? (I haven't written my own mods before so I don't really know what goes into it, I have just done a few years of programming from scratch at uni)