This is nothing more than a (failed) experiment

Discussion and releases for the 1998 racing simulation by Sierra/Papyrus
Post Reply
User avatar
PTRACER
Forum Administrator
Forum Administrator
Posts: 42177
Joined: 20 years ago
Real Name: Paul
Favourite Motorsport: Formula 1
Favourite Racing Car: Lotus 49
Favourite Driver: Gilles Villeneuve, James Hunt
Favourite Circuit: Nordschleife
Car(s) Currently Owned: Mitsubishi Lancer Evo X JDM
Contact:

This is nothing more than a (failed) experiment

#1

Post by PTRACER »

This isn't fake, it's genuinely being rendered by the game. What's the trick? You get GPL to display tyre smoke behind the car at all times. Then you modify the calculation to display spray based on the car's wheel speed instead of amount of slip. A few tweaks here and there and suddenly you have rain effects in GPL.



Limitations
- It'll only display behind one or two cars at once and eventually the game crashes. Somewhere the game is possibly running out of memory, I'm not sure if this is the rasterisers or something else.
- If it's set to "100% spray at all times regardless of speed mode", it'll only display behind one car. If you reduce the amount of spray that is rendered, it'll start displaying behind other cars too. But to get all cars displaying spray at once you have to turn it down so low, the spray becomes a barely visible blob behind each tyre.
- When you first 'turn on' the code, it generates a few puffs of smoke behind ALL cars before it finally settles on displaying all the smoke behind one car only. No idea why this is.
- I've reviewed NASCAR Racing 4's code for smoke generation and found it to be pretty much the same, but with a few small revisions. I'm thinking of installing the game on my PC properly and seeing what the NR4 engine can do. That might be one place to start when coming up with a fix that would turn this into a releasable patch...but like I say, I've already done everything within my ability and can go no further.
- Even if we don't find a solution to the above, the upside is that we can make the AI smoke their tyres at the race start with only a small number of code changes:

Image
Developer of the 1967v3 Historic Mod for Grand Prix Legends: viewtopic.php?t=17429

King of the Race Track, Destroyer of Tyres, Breaker of Lap Records
User avatar
ROOKIE4EVER
New Member
New Member
Posts: 23
Joined: 1 year ago
Contact:

#2

Post by ROOKIE4EVER »

Hello Paul. I don't know if this will lead to anything concrete, but it's still very interesting. :shocked: :thumbsup:
User avatar
PTRACER
Forum Administrator
Forum Administrator
Posts: 42177
Joined: 20 years ago
Real Name: Paul
Favourite Motorsport: Formula 1
Favourite Racing Car: Lotus 49
Favourite Driver: Gilles Villeneuve, James Hunt
Favourite Circuit: Nordschleife
Car(s) Currently Owned: Mitsubishi Lancer Evo X JDM
Contact:

#3

Post by PTRACER »

ROOKIE4EVER wrote: 7 months ago Hello Paul. I don't know if this will lead to anything concrete, but it's still very interesting. :shocked: :thumbsup:
Same. I know it's not fair to 'tease', but if only a professional coder saw the video and decided to help...It's better than keeping it to myself anyway!
Developer of the 1967v3 Historic Mod for Grand Prix Legends: viewtopic.php?t=17429

King of the Race Track, Destroyer of Tyres, Breaker of Lap Records
Post Reply