About 3D Phone Booth Preview Support


This hack allows mods to have 3D previews in the phone booth in place of the usual 2D sprites.


This is an example configuration for this hack with comments explaining how it works.

This configuration file goes into 3DPhoneBoothPreviewSupport.ini in the root of your mod.

We do not recommend copying this entire example into your mod. We recommend only using what is necessary.

; BackgroundPath
;	The path to the P3D file containing the background of the scene.
; 	Defaults to art\\frontend\\scrooby\\resource\\pure3d\\rewardbg.p3d

; DarkenLockedCars
;	Set whether or not to darken cars that are not unlocked yet.
; 	Defaults to 0.

; FullScreen
;	Set whether or not the background is FullScreen.
; 	Defaults to 1.

; Radius
;	Set the radius of the cars on the pedestal.
; 	Defaults to 3.6.


Frontend Changes

This hack requires changes to the frontend file art\frontend\scrooby\ingame.p3d to function. Requiring this hack in a mod without making these changes will cause a crash when opening phone booths.

The specific changes involve adding the chunks highlighted in the image below to Phonebooth.pag.


We distribute an official mod called 3D Phone Booth Previews that utilizes this hack and makes these necessary changes. It also re-configures the hack to fit it's specific implementation of the feature. If you want to implement this feature into your mod you have a few options:

  • Mods that do not modify art\frontend\scrooby\ingame.p3dshould be compatible with the 3D Phone Booth Previews mod right away.
  • Mods that do modify this file can copy the aforementioned chunks into their copy of it and addSupportedMod=3DPhoneBoothPreviews to their Meta.ini to add support for being enabled alongside that mod.
  • Mods can force this feature on by copying the chunks, requiring the hack and copying 3DPhoneBoothPreviewSupport.ini from 3D Phone Booth Previews.

Mods also need to provide car shop preview models in art\frontend\dynaload\cars for any custom cars.

This hack also requires any phone booth cars to have a preview model in art\frontend\dynaload\cars

Revision #5
Created Mon, Jul 2, 2018 8:36 AM by Loren Goodwin
Updated Sat, Feb 16, 2019 3:44 AM by Loren Goodwin