FAQ  •  Login

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

<<

Reaper392

2-Star Beta Tester
2-Star Beta Tester

Posts: 470

Joined: Mon Dec 09, 2013 7:11 am

Post Wed Jan 08, 2014 11:40 am

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

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.
<<

Killrob

User avatar

Developer - Lead Beta Tester/Producer/German Efficiency Expert
Developer - Lead Beta Tester/Producer/German Efficiency Expert

Posts: 3711

Joined: Fri Mar 11, 2011 1:00 am

Location: Lower Hutt, New Zealand

Cars: I owned a Twingo... totally bad-ass!

Post Wed Jan 08, 2014 6:23 pm

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

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 },
      },
   },
<<

xABSOLUTIONx

User avatar

Turbocharged
Turbocharged

Posts: 646

Joined: Fri Aug 24, 2012 5:05 am

Location: Latvia <3

Cars: BMW E36 323i Coupe

Post Wed Jan 08, 2014 7:41 pm

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

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
<<

Killrob

User avatar

Developer - Lead Beta Tester/Producer/German Efficiency Expert
Developer - Lead Beta Tester/Producer/German Efficiency Expert

Posts: 3711

Joined: Fri Mar 11, 2011 1:00 am

Location: Lower Hutt, New Zealand

Cars: I owned a Twingo... totally bad-ass!

Post Wed Jan 08, 2014 8:52 pm

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

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.
<<

Reaper392

2-Star Beta Tester
2-Star Beta Tester

Posts: 470

Joined: Mon Dec 09, 2013 7:11 am

Post Thu Jan 09, 2014 2:49 am

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

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)

Return to Developer Questions

Who is online

Users browsing this forum: No registered users and 3 guests

cron