0x1F9F1 / Open1560

A mod for Midtown Madness 1, primarily focused on supporting modern computers and fixing bugs.
https://0x1F9F1.github.io/Open1560
GNU General Public License v3.0
110 stars 8 forks source link

I ran into a certain problem while modding unlock flags in the game.... #120

Closed AstrixTube closed 1 year ago

AstrixTube commented 1 year ago

Good day to you 0x1F9F1!

Basically when I change the unlocks of vehicles, the game's audio remains unchanged. Example

if (flags & VEH_INFO_UNLOCK_CIRCUIT)`
             locked = locked || (MMCURRPLAYER.GetCircuitPassed() < cityinfo->CircuitCount / 2);

This function is supposed to unlock the Fastback car, but lets say I replace 2 with 10 to unlock the Fastback with one race.... It works fine, but the audio played when you unlock this vehicle as "/2" does not play when you unlock it with "/10"...

I wanted to ask if audio has its own form of unlock system that I would also need to configure to match any changes I make with unlock flags.

--- Thank you for your time.

AstrixTube commented 1 year ago

sorry with the constant switches tho, I'm now learning to use Github