1. Home
  2. Forums
  3. Filebase
    1. Featured Files
  4. Gallery
    1. Albums
  5. Guides
    1. SirenSetting Calculator
  6. Discord
  7. Accurate Studio
  • Login
  • Register
  • Search
Vehicle Modifications
  • Everywhere
  • Vehicle Modifications
  • Forum
  • Gallery
  • Files
  • Guides
  • More Options
  1. Modding Forum
  2. Guides
  3. Grand Theft Auto V
  4. Creating Mods
  5. Vehicle Modifications

Glass Collisions

  • Kane104
  • March 15, 2017 at 9:01 AM
  • 11,727 Views
  • 0 Comments
This guide summarizes the most important points to set up glass collisions correctly.
Contents [hideshow]
  1. Setting up object properties
  2. Setting up the user-defined options
  3. Glass objects & layers

Setting up object properties

Collision IDs are assigned to the collision object under Properties > General > External State > ID in polygon mode.

Since ZModeler 3.1.5, collision IDs and properties and they can simply be selected with the Properties > GTA V > Options tool in polygon mode. If this tool is not available, make sure to select the correct compatibility settings as explained in the ZModeler forums.

Using this tool, set the following attributes and choose the correct window type:

CAR_GLASS_STRONG (ID 122) is used for the front windscreen, CAR_GLASS_MEDIUM (ID 121) for the rear windscreen and CAR_GLASS_WEAK (ID 120) for the side/door windows and lightbar lenses.

Setting up the user-defined options

Other than the "E" and "Mass" fields, an additional "Crash" (with no assigned value) field must be added too to the user-defined options in the object's properties.

Additionally, the "Crash" field must be added to the user-defined options of all materials assigned to that glass object.

Glass objects & layers

The game uses the L1 LOD to display broken glass, it is therefore always necessary to have at least an L0 and L1 object.

Glass should always have an outer and inner layer, the outer laying being assigned to a normal vehicle_vehglass shader and the inner being assigned to a vehicle_vehglass_inner shader. This inner layer is merely a copy of the outer layer flipped towards the inside of the model. It is recommended that you name your glass parts according to the names used on generic models. For lightbars, make use of "siren_glass1", "siren_glass2", and "siren_glass3" with their respective "siren_glass# [COL]" meshes compound under the parent.

Authors

  • Kane104

    Accurate Studio
  • Cj24

    Administrator
    Accurate Studio

Previous Guide Common Issues With Vehicle Mods and Their Solutions

Next Guide ZModeler 3 and Vehicle Mods

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login

Authors

  • Kane104

    Accurate Studio
  • Cj24

    Administrator
    Accurate Studio

Categories

  1. Grand Theft Auto V 21
  2. Installing Mods 4
  3. Creating Mods 17
  4. Texturing 4
  5. Modeling 2
  6. Vehicle Modifications 11
  7. Reset Filter
  1. Terms Of Use
  2. Privacy Policy
  3. Legal Notice
  4. Contact
Powered by WoltLab Suite™