How to add sessions in single player?

Discussion in 'Modding' started by trollray, Nov 5, 2023.

  1. trollray

    trollray Registered

    Joined:
    Jun 13, 2011
    Messages:
    495
    Likes Received:
    1,888
    Hi, i'm a bit confused about how we can add some practice sessions and or qualy.

    I'm working on f1 1986 and 1988 era and the GDB files are done with the different practices sessions and duration as it was in the 80's.

    I did'nt focus myself on that before because a lot of other priorities but now, if i want to do a quick event, i can't choose the number of practice sessions.
    It's like hardcoded 1 practice, 1 qualy and race (warmup as an option.)
    I remember with old ui that it was directly something we can choose but now, i don't find the way.

    Someone can tell me how to create a complete we of grandprix?

    Thanks ;)

    Cheers
     
  2. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,043
    Likes Received:
    2,898
    Seems as if only Settings for Quali and Race Sessions are left.
    In the player.json:
    Num Qual Sessions":
    Num Race Sessions":
     
  3. trollray

    trollray Registered

    Joined:
    Jun 13, 2011
    Messages:
    495
    Likes Received:
    1,888
    Thanks for answer but i have test that and did not work.
     
  4. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,043
    Likes Received:
    2,898
    I have to say, that i probably did use it in rF1 the last Time. :D
    Try it with setting the wanted Practice Sessions to true
    "Run Practice1":true,
    "Run Practice2":false,
    "Run Practice3":false,
    "Run Practice4":false,
    and for which "Prefix" (CHAMP, CURNT, GPRIX, RPLAY, MULTI) did you change the Number of Quali and Race Sessions?
    Maybe you also have to define Lengths for Quali1, Quali2... and Race1, Race2..., but i don't really remember it anymore.
     
  5. trollray

    trollray Registered

    Joined:
    Jun 13, 2011
    Messages:
    495
    Likes Received:
    1,888
    Hi, tested but not working.
    The player json is now modified each time i launch rf2.
    Probably a protection for online cheats.
    When i get back to modify my json, lines are deleted and jeson get back to original state ;)
     
  6. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    741
    Likes Received:
    228
    Just make sure you don't edit player.json when the game is running, or it won't use your values.
    Player.json and Multiplayer.json must be edited when the game is not running.

    I tried and at least the multiple quali seems to work ... but with side effects.
    If you didn't make a time on the first session Quali1, you won't be able to drive on Quali2.

    I never tried the multiple races but it may work. Wait for the "Delay After Race" after Race1 and it will go to Race2 with same grid ... maybe.
     
  7. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,043
    Likes Received:
    2,898
    I've tested it and when i set all Run PracticeX Entries to true, i get 4 Practice Sessions in Game.
    So it's obviously the Case what @DanRZ has written already, that you edit the player.json while the Game is running already.
    Shut down the Game, edit the player.json, save it and start the Game and it will work. :)
     
  8. trollray

    trollray Registered

    Joined:
    Jun 13, 2011
    Messages:
    495
    Likes Received:
    1,888
    Hi, i never changed the json with game running.
    I've tried with a new player.json and still, anytime i change something in it, it's erased when i get back to read it.
    I'm on release candidate for info.
    But nothing worked.

    Can you please write me the lines how you made them and where you put them (ex: under "game options"? )
    Cheers
     
  9. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,043
    Likes Received:
    2,898
    The Entries in the player.json are in the Section "Race Conditions" and i changed the default Settings:
    "Run Practice1":true,
    "Run Practice2":false,
    "Run Practice3":false,
    "Run Practice4":false,
    into
    "Run Practice1":true,
    "Run Practice2":true,
    "Run Practice3":true,
    "Run Practice4":true,
    and got 4 Practice Sessions in Game.
    BUT i'm opted out of all Betas and the RC, so it could be bugged in the RC, like it happens so often.
    If needed, i can make a Video.
     
  10. trollray

    trollray Registered

    Joined:
    Jun 13, 2011
    Messages:
    495
    Likes Received:
    1,888
    Hi, it's working now, i was entering the lines in the wrong place.
    ;)
    Many thanks for the help and time to answer ;)
    Cheers
     
    redapg and Emery like this.

Share This Page