Stunts Forum

Stunts - the Game => Stunts Reverse Engineering => Topic started by: afullo on January 08, 2022, 12:14:09 AM

Title: Second set of tyres
Post by: afullo on January 08, 2022, 12:14:09 AM
http://wiki.stunts.hu/index.php/Car_parameters

Quote0E6h/0E7h, 0E8h/0E9h, 0EAh/0EBh, 0ECh/0EDh - another series of values, this time 0020h, 00C0h, 0080h and 0040h. The resemblance to the default values of the surface grip modifiers, which are located near these positions, is uncanny: were they intended to refer to a second set of tyres?

I just added the bold part; did someone make the same hypothesis in the past?
Title: Re: Second set of tyres
Post by: Cas on January 09, 2022, 01:16:52 AM
These are what I called the "Orange" set in the mysterious field list. I felt that, since these values were similar to those of default surface material grip, then they could be representing other materials that either are not used or we rarely encounter and therefore, don't put much attention to.
Title: Re: Second set of tyres
Post by: afullo on January 09, 2022, 01:49:55 AM
Quote from: Cas on January 09, 2022, 01:16:52 AM
or we rarely encounter and therefore, don't put much attention to.

Like the tennis field surface or the filling station one, for instance?
Title: Re: Second set of tyres
Post by: Cas on January 09, 2022, 06:24:28 PM
Exactly, things like that... I was thinking about the central boulevard also
Title: Re: Second set of tyres
Post by: alanrotoi on January 10, 2022, 08:23:47 PM
What about the side fences? Are those 3d objects?
Title: Re: Second set of tyres
Post by: Daniel3D on January 10, 2022, 08:44:11 PM
Yes, they are objects, and they have their own collision code. Therefore, you can't crash against them and can't jump over them.
But the fence itself is just another model.
Title: Re: Second set of tyres
Post by: Overdrijf on January 11, 2022, 07:40:07 PM
Quote from: afullo on January 08, 2022, 12:14:09 AM
http://wiki.stunts.hu/index.php/Car_parameters

Quote0E6h/0E7h, 0E8h/0E9h, 0EAh/0EBh, 0ECh/0EDh - another series of values, this time 0020h, 00C0h, 0080h and 0040h. The resemblance to the default values of the surface grip modifiers, which are located near these positions, is uncanny: were they intended to refer to a second set of tyres?

I just added the bold part; did someone make the same hypothesis in the past?

The values are roughly an order of magnitude smaller than the other ones. Either they're not quite the same kinds of values, or they were for some really slippery stuff.
Title: Re: Second set of tyres
Post by: afullo on January 11, 2022, 07:58:28 PM
Quote from: Overdrijf on January 11, 2022, 07:40:07 PM
Quote from: afullo on January 08, 2022, 12:14:09 AM
http://wiki.stunts.hu/index.php/Car_parameters

Quote0E6h/0E7h, 0E8h/0E9h, 0EAh/0EBh, 0ECh/0EDh - another series of values, this time 0020h, 00C0h, 0080h and 0040h. The resemblance to the default values of the surface grip modifiers, which are located near these positions, is uncanny: were they intended to refer to a second set of tyres?

I just added the bold part; did someone make the same hypothesis in the past?

The values are roughly an order of magnitude smaller than the other ones. Either they're not quite the same kinds of values, or they were for some really slippery stuff.

Hmm, in fact, they are in decimal respectively 32, 192, 128, 64, while CarWorks reads the standard surface grips as 256 (asphalt), 192 (dirt), 64 (ice), 128 (grass).

Maybe in the sentence Most cars have these set to 1000h, 0C00h, 0400h and 0800h values are inadvertently written with the nonzero digit placed left by one position, that is, multiplied by 16.
Title: Re: Second set of tyres
Post by: Overdrijf on January 12, 2022, 09:48:03 PM
If the sentence is wrong/the sentences don't follow the same standard then sure. i was just looking at what was on the wiki.
Title: Re: Second set of tyres
Post by: afullo on January 12, 2022, 09:52:25 PM
I can confirm, see attachment. I'm going to correct the wiki.