/CollAddMaterial

Adding material by texture name.

Primary LanguageMAXScript

CollAddMaterial by texture name

CollAddMaterial is a script for 3Ds Max that allows you to overlay GTA SA collision materials on models.

  • Support for multi and single materials: the ability to work with multimaterials and single.
  • Mass overlay of materials: the script allows you to apply materials to several models at once.
  • Adjustable amount of materials: support for overlapping multiple materials at once (up to 4).
  • Saving settings: the statuses of materials and textures will be saved.

Installation

Download and move the "CollAddMaterial" folder to the folder "Autodesk\3ds Max 20**\scripts" and to import models with materials, you need to install KAM's GTA Scripts

How to use

  • Import the model:

Use KAM's GTA Scripts to import a model with the conversion of materials to standard ones, the texture format is not important.

image

  • Create a collision material:

Select the "Multi/Sub-Object" material. Create a "GTA COL Surface" material inside it, assign a collision material ID and a color to display in the viewport.

bandicam 2024-04-26 16-05-29-580 (online-video-cutter com)

  • Run the script:

Scripting - Run Script - CollAddMaterial.ms

image

  • Assign materials:

In the script, select the created GTA COL Surface materials and enter the names of the textures without their format. Select the objects to be overlaid with materials and click on the "Apply material" button.

bandicam 2024-04-26 16-22-34-157 (online-video-cutter com) (1)

Enjoy!