AI fast path from replay (NOT dev mode)

Discussion in 'Wish Lists' started by P.S.R., Oct 18, 2015.

  1. P.S.R.

    P.S.R. Registered

    Joined:
    Jun 15, 2014
    Messages:
    1,794
    Likes Received:
    4
    This would be great benefit especially to modders who have already put in so much effort building tracks and/or who struggle with getting good fast path themselves in dev mode. Community members could send replay files to the modder which the modder could use as a fast path for AIW. A related innovation would be for a track to have multiple AIWs (i.e. modern, historic) for players to select from without having multiple versions of track...
     
    atomed likes this.
  2. PearceYaussy

    PearceYaussy Registered

    Joined:
    Apr 23, 2013
    Messages:
    438
    Likes Received:
    2
    Definately. Historic requires such different lines due to the tires that the AI really need a completely different path to work properly.
     
  3. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    This is still using Dev Mode but it does pretty much what you're asking for, from Build 946 notes:

    – Added playerfile parameter “Disable Resume in Replay”, that when set to 1, will let you jump into realtime during a replay instead of “resuming”. Did this so that a person could record fastest paths from replay files using the AIW editor in the Mod Mode.

    So essentially I believe you could:

    - record the reply
    - send it to the track modder
    - who then loads it in his/her dev mode to get the Fast Path from that

    Whether or not that works is for someone to try :)
     
    atomed likes this.
  4. Euskotracks

    Euskotracks Registered

    Joined:
    Nov 29, 2013
    Messages:
    1,092
    Likes Received:
    191
    Are you sure that you can use replays from regular mode?

    I think you can only use dev mode replays. I asked it a while ago and that was the answer.

    I don't know what was the reason for that. I guess it has different replay format or the fact that vmod is different between normal and dev mode.

    If someone can confirm this it would be great.

    Enviado desde mi SM-G130HN mediante Tapatalk
     
  5. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234

    .......
     
  6. Euskotracks

    Euskotracks Registered

    Joined:
    Nov 29, 2013
    Messages:
    1,092
    Likes Received:
    191
    I tried and it worked ;) You don't even need the vehicle installed in dev mode.

    ABSOLUTELY WONDERFUL ISI.

    Thread can be closed I guess
     
  7. P.S.R.

    P.S.R. Registered

    Joined:
    Jun 15, 2014
    Messages:
    1,794
    Likes Received:
    4
    Great :D I'm really surprised this hasn't been exploited more...
     
  8. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    Good stuff :)
     
  9. Stockers

    Stockers Registered

    Joined:
    Nov 15, 2016
    Messages:
    109
    Likes Received:
    40
    Does this still work? If so how?
     
  10. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,346
    Likes Received:
    6,572
    I would start by changing the value above and seeing what happens when you load a replay.
     
  11. Stockers

    Stockers Registered

    Joined:
    Nov 15, 2016
    Messages:
    109
    Likes Received:
    40
    I did & it's not. Does that replay have to be a devmode one or from the normal game? Not much info about it which is standard for Rf2.
     
  12. Emery

    Emery Registered

    Joined:
    Oct 24, 2010
    Messages:
    3,035
    Likes Received:
    1,654
    Fastpaths can only be created in Devmode. The replay doesn't care whether you're in Devmode or not.
     
  13. t0p5ecret

    t0p5ecret Registered

    Joined:
    Feb 11, 2012
    Messages:
    792
    Likes Received:
    1,728
    There's no silver bullet for creating paths, it's not as simple as importing a replay then it's all done. It takes hours and hours of work to get them working properly in a race situation, a hotlap does not a FASTEST path make.
     
  14. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,346
    Likes Received:
    6,572
    The above posts show someone getting it working with a replay from outside of devmode.

    Are you familiar with AIW creation in general? This particular feature isn't a good place to start learning.
     
  15. Stockers

    Stockers Registered

    Joined:
    Nov 15, 2016
    Messages:
    109
    Likes Received:
    40
    I am familiar with AIW creation. Thanks.

    Was just enquiring whether this feature was still working.
     
  16. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,346
    Likes Received:
    6,572
    I'm not, but I gave it a go anyway.

    Changed that value to 1. It looks like the below in the player.json:

    Code:
        "Disable Resume in Replay":0,
        "Disable Resume in Replay#":"if this is true, hitting resume in replay mode will send you directy to track, (so that if you are running mod mode, you can get a fastest path from a replay file",
    
    Loading a replay initiates a short car horn sound, seems to indicate the option above has been activated.

    The replay screen then looks like normal, except when you press Resume it doesn't ask about resuming and instead you go into the realtime view but the replay is going (and you can control it with the keys like normal, so reverse etc)

    If there's a trick it's that the menus aren't visible on the screen. So I had to go scouring the keyboard as I've forgotten the AIW editor shortcut, but Ctrl + \ brought it up. Then you can record a path like normal.

    So yes, it looks like it still works. I didn't try a replay from the normal side of the game but again judging by the earlier posts I'd be confident it will work.
     
    atomed, Emery and Stockers like this.
  17. Emery

    Emery Registered

    Joined:
    Oct 24, 2010
    Messages:
    3,035
    Likes Received:
    1,654
    One of my suppositions is that you could make a basic AIW, use AI training (Type 1 and/or Type 2) to improve the fast line, record a replay of the AI driving, and then use the AIW from replay feature to finalize it.

    So far no one has admitted to attempting that...
     

Share This Page