3D CAD Screens
Open and interact with vehicle CAD screens, use look around or tablet mode, and configure vehicles with the current screen editor.
Players: Use an Installed Screen
A visible CAD display is a preview. Open CAD to take control of its mouse and keyboard. You do not need to run calibration commands to use a vehicle your POC has already configured.
- Sit inside the configured vehicle and stop. The current demo has a working
62chargerconfiguration; other vehicle models need their own setup. - If CAD opens as a popup, close it, run
/cad 3dstatus, then/cad enable3dif your preference is tablet. - Run
/cador press yourOpen Spartan CADkey (F6by default). The camera moves to the saved screen view and the mouse cursor becomes available. - Move the pointer onto the actual CAD screen and click a button or text field. Type after selecting the field. Use the wheel to scroll; double-click records where the CAD workflow calls for it.
- If mouse movement turns your view instead of moving the pointer, press Left Alt once to leave look-around mode. Then click the screen again.
- Press
Escapeto leave interaction. A menu or form can handle the first press; press again once it is dismissed.
The driver opening limit is 30 MPH in the current demo. A custom keybind or different server setting may change the defaults here.
Look Around and Tablet Preference
| Control | Behavior |
|---|---|
Left Alt / /cadlook | Toggle look around while a streamed 3D screen is open. Mouse movement looks around while enabled; toggle again to restore the cursor and screen controls. |
/cad disable3d | Save your preference for the normal popup CAD. If vehicle CAD is open, it switches to the popup; if closed, run /cad afterward. |
/cad enable3d | Restore the preference for supported vehicle screens. Close and reopen CAD afterward. |
/cad 3dstatus | Report your saved preference. |
/movecad | Move or resize the popup CAD window. |
The display preference is saved locally in FiveM and is available only when the POC enables TabletPreference. Look around can also be disabled or rebound by the POC. Check FiveM keybind settings for Toggle SpartanCAD 3D screen look around. If the POC changes the default key, the plugin's NuiKeyCode must match the key used while CAD has focus.
The current preview options allow a live first-person display and a static third-person preview. A static preview is expected and does not indicate that interaction has failed. Open /cad before trying to click.
Troubleshooting
| Symptom | Player check | POC check |
|---|---|---|
| Screen visible, no cursor | Open /cad or use the CAD binding. Close any other focused UI first. | Confirm the vehicle entry is loaded and 3D screens are enabled. |
| Mouse looks around; clicks do nothing | Toggle Left Alt to restore interaction. | Check the look-around keybind and NuiKeyCode. |
| Popup opens instead | Run /cad 3dstatus, then /cad enable3d; close and reopen CAD. | Verify this vehicle's model matches a saved entry. |
| Driver cannot open CAD | Stop the vehicle and try again. | Check DriverOpenMaxSpeedMph. |
| Clicks miss buttons or work only on part of the display | Keep the pointer on the visible display; report the vehicle model to the POC. Use tablet mode in the meantime. | Align the screen plane and saved camera using /setcadscreen. A visible texture alone does not establish an accurate clickable area. |
| Screen is too small or camera is wrong | Use tablet mode while the POC adjusts it. | Edit the focus camera with V in /setcadscreen; save and test again. |
| Live texture is not ready / blank screen | Wait for loading, then try /cadtextures reload and reopen CAD. | Confirm the vehicle resource is started, the configuration is valid, and texture targets match that vehicle if texture replacement is used. |
| Changes disappear after reconnect/update | Report this to the POC. | Wait for the save-success notification and preserve the customized vehicles.json during updates. |
| Website opens but civilian/unit commands fail | Select a civilian or sign into the MDC inside the in-game CAD as required. | Check community access and FiveM Integration settings. |
POCs: Configure a Vehicle
Enable PluginsConfig.Spartan3DScreen.Enabled in client/plugins/spartan_3dScreen/3d_screen_plugin_config.lua. Saved placements are in client/plugins/spartan_3dScreen/vehicles.json. Back up that file before editing or copying placements: saved changes apply to that vehicle model for your server.
Use /setcadscreen for the current setup workflow. It creates a vehicle entry if needed and opens the screen editor. The older /setcadview, /setcadfit, and /setcadhitbox calibration workflow is superseded for this setup; those commands may still be registered in older or compatibility builds. They are not player interaction steps.
- Start the vehicle resource, spawn the intended model using your server's normal vehicle tools, and sit in it while stationary.
- Run
/setcadscreen. If the model is new, wait for initialization and the editor to open. - Drag the screen plane and its edge handles to cover the usable display. Use the translation and rotation controls to match its position and angle.
- Use
Cto inspect from another view. UseVto edit the camera players get when opening CAD. Return to screen editing withC. - Press
Enterto save and exit. Wait for the success notification.Escapecancels the current editor adjustments. Creating a new entry or pasting a configuration writes that entry before the editor opens; canceling subsequent edits does not undo that initialization or paste. - Open
/cadand test clicks near all four corners and the center, text entry, scrolling, and look around. A screen that looks aligned still needs an interaction check. - Re-enter the vehicle and test again. Keep a copy of the working
vehicles.json.
Editor Controls
| Control | Use |
|---|---|
| Drag screen / edge handles | Move the plane or stretch its edges. |
T | Show translation axes. |
R | Show rotation rings. |
C | Toggle inspection freecam / return to screen editing. |
V | Enter focus-camera editing. |
Freecam: mouse, WASD, Q / E | Look, move, and move down/up. Hold Shift to move faster. |
| Mouse wheel in focus-camera mode | Adjust camera field of view. |
F | Reframe the editor camera around the screen. |
G | Try aligning to the vehicle surface under the pointer. If the model's collision cannot be hit, position it manually. |
Enter | Save the screen placement and focus camera, then exit. |
Escape | Cancel current adjustments and exit. |
Copy Between Vehicles
Run /copycadscreen while seated in a configured source vehicle. Enter the target vehicle and run /pastecadscreen. Pasting saves a configuration for the target and opens its editor for adjustment. Similar interiors may still need a different position, size, or camera; test interaction after saving.
The Demo 62charger
The working demo entry is named 062 Dodge Charger with spawn code 62charger. It uses Mode: "stream", a saved Camera, and an enabled WorldScreen with four corners. Its texture targets are 62charger and 62charger+hi, both using cf33_Display_Template.
Those names and coordinates apply to that specific vehicle asset. Renaming another car to 62charger does not give it the same display geometry. Preserve the working entry as a reference and use the editor for other models. If manually editing vehicles.json, keep it valid JSON, run /cadtextures reload, and reopen CAD.
POC Acceptance Check
Test with the same vehicle asset and current resource version your players use. Confirm opening, clicking all screen edges, typing, scrolling, Left Alt out and back, Escape, tablet preference, ALPR display if enabled, and a second player's view. Include the vehicle spawn code, resource version, saved preference, and exact failing step when requesting support. Do not include your integration key.