eckhchri / pcars-ds-liveview

Provides a html page for project cars dedicated server and display a map of the current race.
14 stars 1 forks source link

Add Trackmaps to all tracks - long term task #130

Open viper4gh opened 6 years ago

viper4gh commented 6 years ago

Process according to priority and the highest priority is on tracks where you have no idea where the track borders are:

For fictional tracks only border lines needed, mid line not. For real tracks mid line only needed. Border lines for refpoint tuning only.

viper4gh commented 6 years ago

HowTo - Best Practice

  1. Start CREST2 and a Chrome with liveview
  2. Change liveview to CREST2, the worker delay to 1000 (= 1 second), open the Chrome developer console, go to the "Console" Tab and filter the output to "+,"

Youtube HowTo

liveview - settings

  1. Start pcars2 choose a Singleplayer Race with at least 5 laps, no other pre sessions, standing start, no AI take the "Mini" as car, because it has a narrow turning circle and is good controllable on asphalt and grass. Choose the track and start the race.
  2. After the lights go green drive over the start/finish line and then 10m further and position your car on one track border or exactly in the mid of the track depending on what you want to capture. Border means the left 2 tires on grass and the right 2 tires on track, if you record the left border. The center of your car must be over the white border line. The car is standing now. Change to external camera view and press Ctrl+K. Now change the view more to top rear with the Num Numbers and bring the camera a bit away with "W" and "Num 7". The goal is having a good view to see if the car is centered over the white border line.
  3. Alt Tab out of the game and go to liveview, clear the developer console output and go back to the game.
  4. Now accelerate and follow the border line, in turns not faster then 20 km/h, on straights you can go to max 100 km/h, then the car is still controllable. For the mid line recording don't follow the race line, because we need the track layout. And the race line goes to inner curbs on apex and to the outer curbs on corner entry and corner exit. Keep the car in the mid of the track all the time. 2018-10-29_12-27-55__greenshot 2018-10-29_12-29-25__greenshot 2018-10-29_12-30-41__greenshot Further the center of your car is defining the coordinates. That means not only the center of left and right, also the center of front and rear. If you capture a border and follow a right turn, then keep your front a little bit left of the border line. Then your front/rear center keeps over the border line.

Youtube example - in addition it makes sense deactivating the mirror for better forward view

2018-10-29_12-31-46__greenshot 2018-10-29_12-32-10__greenshot 2018-10-29_12-35-14__greenshot 2018-10-29_12-39-38__greenshot

  1. Follow the borderline/mid till 10m before the start/finish line and stop there.
  2. Alt Tab out of the game, go to liveview console output, click the right mouse button in the output screen and save the logfile. Clear the log and go back to game.
  3. Drive over start/finish line again and follow from point 4 again for the other lines.
viper4gh commented 6 years ago

ToDo fictional tracks (border lines only):

TrackID | TrackName -823048021 | Sampala Ice Circuit 1892852585 | Wildcrest Rallycross

-1735912413 | Chesterfield Karting Circuit 766599953 | Glencairn East -446794969 | Glencairn East Reverse -1066742780 | Glencairn GP -1520844580 | Glencairn Reverse -1408779593 | Glencairn West -913625358 | Glencairn West Reverse -44748320 | Summerton International 1408845203 | Summerton National -1605913568 | Summerton Sprint

1365171965 | Mercedes-Benz Ice Track 1 480123345 | Mercedes-Benz Ice Track 2 -2086764920 | Mercedes-Benz Ice Track 3 -907469052 | Mercedes-Benz Ice Track 4 -725608647 | Mercedes-Benz Ice Track 5 -3216853 | Mercedes-Benz Ice Track Full

viper4gh commented 6 years ago

ToDo Rallycross (mid line only):

TrackID | TrackName 1828877100 | Barcelona Rallycross -2055158240 | Classic Brands Hatch Rallycross 35770107 | Daytona International Speedway Rallycross 980779751 | DirtFish Boneyard Course -1694936640 | DirtFish Mill Run Course -2108341365 | DirtFish Pro Rallycross Course 761864750 | Hockenheim Rallycross 977699253 | Knockhill Rallycross 673609283 | Lydden Hill Rallycross 2087662703 | Lånkebanen Rallycross -598879227 | Rallycross of Loheac