Nashville Street Circuit (WIP thread)
(10-30-2021, 10:11 PM)samsepi0l Wrote: This could be bad. Do you have all of the LPs done?
The LPs aren't perfect, but they're done and theoretically should work, so I'm quite confused. I guess we could make it single car qualifying if there's no fix for it.
Reply
Quote:The LPs aren't perfect, but they're done and theoretically should work, so I'm quite confused.

I'm only saying, because I was wondering if the game pulls the initial positions for cars as DLAT = 0, or from PACE, Minrace/Maxrace somehow. I haven't researched it that much.

When I saw your problem the first thing I wanted to do was boot up Tamiami and check where the DLAT starts for cars in qualifying. Remember Tamiami is a very simple shaped track with no need for the complicated corner designs like you have for your bridge with the sections being close (which forces the center line way off of the track)

The center line of Tamiami is basically right dead smack in the middle of the paved track surface- but when you start the qualifying session and instantly view the replay so you can see where the cars start - I do have some cars that are actually off of the edge of the track. Back by the south side chicane you can see they are literally barely drawn on the left side of the wall, as a result the cars don't actually show up until a split second after the replay starts. This is probably 20 feet off from DLAT = 0. My guess is that its at MAXPANIC, or probably atleast beyond Maxrace.

Is your Maxrace still the same as maxpanic?

I have cars that start at tamiami in the grass. It does not crash though. The second the replay starts, they move towards the racing line then things seem to operate normally.
Quote:I guess we could make it single car qualifying if there's no fix for it.


Honestly- I never through about the fact that in qualifying you start off with other cars already in track position on the track. This was a total surprise for both of us I'm sure.
Reply
(10-31-2021, 06:31 AM)samsepi0l Wrote: Honestly- I never through about the fact that in qualifying you start off with other cars already in track position on the track. This was a total surprise for both of us I'm sure.

Yeah, I never thought about it before. The game would need to process the position, speed and heading of the AI cars when the session begins, so it must need to make these calculations from the LPs.

I reviewed the starting positions of the cars at other tracks and it doesn't seem like it's necessarily center line after all - they seem to be more-or-less on the racing line but you can see cars tend to adjust themselves in the first few moments, as you observed on Tamiami. It's still a bit mysterious to me because my AI starting points are way off the track and even my MAX/MINPANIC aren't anywhere near some of the cars.

Anyway I'm trying not to get bogged down by this. I'm just adding finishing touches to the graphics and objects and continuing to test. No other game crashes so far while driving.
Reply
You know what you could do, this would be a hack (but sometimes hacks are necessary)

We could have 2 different sets of PANIC LPs. For qualifying you could use my "crazy high LPs" and for everything else you could use standard stuff. This way the cars should adjust as normal.

The only problem I see with using "crazy-high" values during race/practice/warmup is if you hit an opponent, or if they crash by themselves they will magically pass through the walls like they were made of thin air.
Reply
(10-30-2021, 09:17 PM)checkpoint10 Wrote: I noticed there is an issue with the track and qualifying - the AI seems to start in random places around the track, and within a couple frames the game will crash. No such problems with AI during the practice, warmup and race sessions. No idea what the problem might be!

Edit: Looking closer to the starting position of the AI at the very beginning of qualifying, I suspect that each AI starts close to the centerline, maybe DLAT 0, which of course places them outside the track boundaries.

Looking in lp files I think you need to remake max and min lps from actual replays. Current lines in few places go outside trk file. That can cause AI problems. Also panic line shouldn't go through whole pitlane but along right side wall in pits.
   
Reply
Pavel are you referring to maxrace/minrace? or maxpanic/minpanic?

I like your AIEDIT GUI program!

Is this picture what you are proposing for the pit lane?

I never thought of doing it this way but it makes sense!
   
Reply
For Nashville max/min-race and max/min-panic should be almost the same.

Yes, maxpanic line should beĀ almost like on your picture. Below is better example from New Hampshire.

Red -race.lp, orange - pass lps, green - pit.lp, blue - panic lines, yellow - max/min race.


Attached Files Thumbnail(s)
   
Reply
Wow I should pay more attention to Pavel's advice - I just tried AIEdit, even though I've so far only been able to get a .TRK file to open and it seems to be picky about how the folder structure is set up (my LPs don't seem to open with the way my files are set up).

I can tell from the documentation and menus that the developer got all of the TRK format figured out, including the differences between the 2D and 3D DLONGs. Pretty cool stuff and I will try to use this tool more in the future.
Reply
For ICR2 you need track in dat file but trk copy outside too. In program you pointed to trk file.

N3 tracks can be opened without such tricks. I think difference is in track.txt files. N3 doesn't use papy values in track.txt.
Reply
Here is a new video of Nashville. It's getting really close!

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)