Skip to content

Random Remap (for Ped, Weapon & Vehicle)

Grinch_ edited this page Jan 26, 2024 · 12 revisions

Overview

This feature enables you to add some variation to your model's appearance by applying a random texture from a set of options. For example, you can have a chainsaw model that can have different colors or patterns each time you spawn it in the game. Additionally, both the default texture and remap variations can have blood overlays applied when the weapon is used to kill pedestrians.

Requirements

To use this updated feature, you need to have the following:

  • A model (.dff file) that you want to apply the randomized texture feature to.
  • A default texture (.txd file) that will be applied to your model by default.
  • One or more variation textures (.txd files) that will be randomly chosen from when you spawn your model in the game. Variation textures should be named the same as the default texture but with suffixes _remap1, _remap2, _remap3, etc. For example, if your default texture is named ChainSaw, your variation textures should be named ChainSaw_remap1, ChainSaw_remap2, ChainSaw_remap3, etc.
  • Blood overlay textures for both default and remap variations. Blood overlay textures should have the same name as the default or remap texture but with the suffix _b. For example, if your default texture is named ChainSaw, your blood overlay texture should be named ChainSaw_b. For remap variations, use the same naming convention, such as ChainSaw_remap1_b, ChainSaw_remap2_b, ChainSaw_remap3_b, etc.

Steps

To use the updated randomized texture feature, follow these steps:

  1. Apply the default texture to your model using any modeling software, such as 3ds Max, Blender, or ZModeler.
  2. Add the variation textures (_remap1, _remap2, _remap3, etc.) to your model's .txd file using any texture editing software, such as TXD Workshop, Magic.TXD, or GIMP.
  3. Add blood overlay textures (_b) for both the default and remap variations to your model's .txd file using the same texture editing software.
  4. Save your model's .dff and .txd files and place them in the appropriate folder in your game directory.
  5. Enjoy the randomized texture feature when you spawn your model in the game, and observe the blood overlay when using the weapon to kill pedestrians.

Example

Here is an example of how the updated randomized texture feature works:

  • Suppose you have a chainsaw model with a default texture named ChainSaw, which is a plain red color.
  • You add three variation textures to your model's .txd file, named ChainSaw_remap1, ChainSaw_remap2, and ChainSaw_remap3, which are green, blue, and yellow colors, respectively.
  • You add blood overlay textures named ChainSaw_b, ChainSaw_remap1_b, ChainSaw_remap2_b, and ChainSaw_remap3_b for when the weapon kills pedestrians.
  • You save your model's .dff and .txd files and place them in the appropriate folder in your game directory.
  • When you spawn your chainsaw model in the game, it will have a random texture from the three options: red, green, blue, or yellow. Each time you spawn it, it will have a different texture. Additionally, when you use the weapon to kill pedestrians, a blood overlay will be applied to both the default and remap textures.

Clone this wiki locally