Randomizer (for peds, vehicles & weapons) - user-grinch/ModelExtras GitHub Wiki

🎲 Overview

This feature adds random variations to models by selecting different child nodes during gameplay.

⚙️ How It Works

1️⃣ Create randomizer nodes:

  • Name them x_randomizer, x_randomizer2, x_randomizer3, etc.
  • Each node represents a point where a random variation can occur.

2️⃣ Add child variants under each randomizer node.

  • ModelExtras will randomly pick one variant per randomizer node at runtime.

🎮 Example: Vehicle Customization

📌 Suppose you have a car model with different color & wheel options:

├── x_randomizer  (Body Colors)
│   ├── Variant_1 (Red)
│   ├── Variant_2 (Blue)
│   ├── Variant_3 (Green)
├── x_randomizer2  (Wheel Types)
│   ├── Variant_A (Alloy Wheels)
│   ├── Variant_B (Steel Wheels)
│   ├── Variant_C (Chrome Wheels)

Result: Each car spawns with a random color and random wheel type, making gameplay more dynamic! 🚗💨