Dynamic Third Person

Dynamic Third Person 1.4.1

Sign in to download
Allows players to go 3d person when performing certain actions
This plugin automatically puts players in 3rd person when they mount vehicles and returns them to 1st person when they dismount. You can also set it so they're always in 3rd person by default, only going to 1st person when aiming their weapon, similar to games like PUBG and Fortnite.

Note: This doesn't apply to admins because implementing it for them introduces some complications.

Permissions

  • dynamicthirdperson.use - Players without this permission can't be switched to 3rd person.

Commands

  • /3rd - Allows players to toggle between first-person and third-person. This command can be customized in the config.

Configuration

JSON:
{
  "Version": "1.4.0",
  "Third Person Mode": "AlwaysThirdPerson",
  "Chat Command To Toggle Third Person": "3rd",
  "Default Camera": {
    "Offset": "0.0, 1.0, 0.0",
    "Field Of View": "106.1227",
    "Distance": "2"
  },
  "Vehicle Short Prefab Names": {
    "1module_cockpit": {
      "Offset": "0.0, 1.0, 0.0",
      "Field Of View": "106.1227",
      "Distance": "2"
    },
    "1module_cockpit_armored": {
      "Offset": "0.0, 1.0, 0.0",
      "Field Of View": "106.1227",
      "Distance": "2"
    },
    "1module_cockpit_with_engine": {
      "Offset": "0.0, 1.0, 0.0",
      "Field Of View": "106.1227",
      "Distance": "2"
    },
    "motorbike": {
      "Offset": "0.0, 1.0, 0.0",
      "Field Of View": "106.1227",
      "Distance": "2"
    },
    "motorbike_sidecar": {
      "Offset": "0.0, 1.0, 0.0",
      "Field Of View": "106.1227",
      "Distance": "2"
    },
    "pedalbike": {
      "Offset": "0.0, 1.0, 0.0",
      "Field Of View": "106.1227",
      "Distance": "2"
    },
    "rhib": {
      "Offset": "0.0, 1.0, 0.0",
      "Field Of View": "106.1227",
      "Distance": "2"
    },
    "rowboat": {
      "Offset": "0.0, 1.0, 0.0",
      "Field Of View": "106.1227",
      "Distance": "2"
    }
  }
}
  • Third Person Mode- Determines when third-person view is activated. Available modes are:
    • AlwaysThirdPerson - Players are always in third-person by default, switching to first-person only when they aim their weapon.
    • VehicleOnly - Players automatically switch to third-person when mounting specified vehicles and revert to first-person when dismounting.
    • CommandOnly - Players manually toggle between first-person and third-person using the chat command.
  • Vehicle Short Prefab Names - Specifies the vehicles that trigger the automatic switch to third-person upon mounting.
  • Chat Command To Toggle Third Person - Defines the chat command players can use to toggle between first-person and third-person.
  • Camera- Settings for third-person camera.
    • Offset - Defines the camera's position relative to the player. Acceptable values are in the format x, y, z.
    • Field Of View - Sets the camera's field of view. Acceptable values are float numbers representing degrees.
    • Distance - Specifies the distance of the camera from the player. Acceptable values are float numbers.

Localization

JSON:
{
  "NoPermission": "You do not have permission to use this command.",
  "ToggleSuccess": "You have switched to {0} view.",
  "AdminToggleDenied": "You cannot use this command as an admin.",
  "CommandSyntaxError": "Syntax error. Correct usage: {0}.",
  "ThirdPersonCommandDisabled": "You cannot use this command in the current mode."
}
Author
VisEntities
Downloads
95
First release
Last update

Ratings

5.00 star(s) 1 reviews

Also by VisEntities

Latest updates

  1. 1.4.1

    Fixed an issue where 3rd person view was incorrectly applied using default camera settings for...
  2. 1.4.0

    Due to breaking changes in the config structure, you must reset your config file! Introduced...
  3. 1.3.0

    Restructured to be based on the selected mode. Available modes are: AlwaysThirdPerson...

Latest reviews

Es muy divertido en servidores PVE, mis jugadores lo aman.
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Make sure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart