Sollumz
2.6
2.6
  • 👋Welcome
  • 📋Features
  • 📗Getting Started
    • ðŸ“ĨInstallation
    • 🍀Creating Your First Asset
  • ðŸ”ĻSupport
    • ❔FAQ
    • 💎Getting Help
    • ⚠ïļFiles not supported by Sollumz
  • 📚Tutorials
    • 🌐Creating Static Meshes
    • ðŸ’ĨCreating Static Collisions
    • 🏠Creating Interiors
      • 🏠Picking a building
      • Importing from CodeWalker
      • Planning
      • 🏠📐 Modelling
      • Texturing
      • Collisions
      • Creating ytyp
      • Export from Blender
      • Creating ymap
    • ðŸŽļCreating Props
      • âšŦSetting Up Sollumz Shaders
      • 🌐Converting To Drawable
      • ⚩Creating the Archetype (.ytyp)
    • 🚙Creating Vehicles
      • 📑Setting Up the Model and Materials
      • ðŸĶīPositioning Bones
      • ðŸšĶVertex Groups, Hierarchy, and Armature
      • ðŸĒLOD Assignment
      • ðŸ“ĪExporting
    • ðŸ”ŦCreating Weapons [TODO]
    • 🎎Basic Animation Editing [TODO]
    • 👕Basic Clothes Editing
  • 📄Documentation
    • 🌐Drawables (.ydr)
      • Level of Detail (LODs) Editing
      • Rigging
    • 🚙Fragments (.yft)
      • Bone Physics
      • Collision Physics
      • Prop Setup
      • Vehicle Setup
        • Import Settings
        • Vehicle Windows
        • Light IDs
        • Paint Colors
        • Wheels
        • Export Settings
      • Vehicle Shaders
    • 🗂ïļDrawable Dictionary (.ydd)
    • ðŸ’ĨCollisions (.ybn)
    • 🎎Clip Dictionary (.ycd) [TODO]
    • 📇Archetype Definition (.ytyp)
      • Archetype Flags
      • Archetype Extensions
    • 🗚ïļMap Data (.ymap)
    • ðŸ’ĄLighting (.ydr)
      • Light Flags
      • Flashiness Values
Powered by GitBook
On this page
  • File Layout
  • Blender Hierarchy
  • Limitation
  • Archetype Definition

Was this helpful?

Export as PDF
  1. Documentation

Drawable Dictionary (.ydd)

PreviousVehicle ShadersNextCollisions (.ybn)

Was this helpful?

The Drawable Dictionary is a container that holds a collection of drawables. Its primary use is for storing LOD models, ped components, ped props, mesh minimaps and instanced props.

It is recommended that you read the Drawable documentation page before creating a Drawable Dictionary, as it consists of drawables.

File Layout

Drawable Dictionary
    Drawable#1
        ShaderGroup
        Skeleton (sometimes, mostly seen on ped components)
        DrawableModelsHigh
        DrawableModelsMed
        â€Ķ
    Drawable#2
    Drawable#3
    Drawable#4
    Drawable#5
    â€Ķ

For the hierarchy, several drawables exist as regular game-ready assets, but all of them share one parent drawable dictionary object.

Blender Hierarchy

In Blender, Drawable Dictionaries comprises a parent object and one or more drawable objects in its hierarchy.

Limitation

Some features of Drawable objects cannot be inherited by Drawable Dictionaries. For example, the embedded collision cannot function when the drawable is in a drawable dictionary.

Furthermore, CodeWalker cannot identify the real name of a drawable in drawable dictionaries unless a nametable with resolved names is loaded. Thus, it is recommended to create a nametable whenever utilizing a drawable dictionary in your project to facilitate your own and others' modding processes.

Archetype Definition

A Drawable Dictionary does not have its own archetype definition.

When creating the archetype definition for a drawable in a drawable dictionary, it is necessary to fill the correct name of your drawable dictionary in the "Drawable Dictionary" blank to ensure it workds within the game.

For instance, if we have the drawable dictionary my_ydd and the drawable my_ydr in the scene. Then you should fill in "Drawable Dictionary" in the archetype as shown in the picture below:

If you use the "Auto-Create From Selected" function, the "Drawable Dictionary" will be filled in automatically.

📄
🗂ïļ
https://github.com/Sollumz/wiki/blob/main/documentation/drawables.ydr
Example Drawable Dictionay object
Fill the "Drawable Dictionary" with the name of your drawable dictionary