Sollumz
2.7 (Latest)
2.7 (Latest)
  • 👋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
  • Edit the ybns
  • Create the ybn
  • Collision material

Was this helpful?

Export as PDF
  1. Tutorials
  2. Creating Interiors

Collisions

PreviousTexturingNextCreating ytyp

Last updated 1 month ago

Was this helpful?

Now we need a collision so the player can walk inside the interior without falling through the walls and floor. Let's start with opening of the building collision.

Edit the ybns

Go and show every ybn that are where there is a doorway and edit it so there is a hole inside to the interior. Remember to take the camera inside the interior to see if there is any collision that needs to be moved/deleted.

Like that we now have removed the collision so the players actually can go inside the interior.

Create the ybn

The easiest way to do it is to make a copy of the shell and then convert it to a ybn, but before you just convert then export you'll need to assign the material so the footsteps and gun shots wil behave as intended.

To make a copy of the shell just press SHIFT+D and then right click and then ALT+P move the duplicated shell out of the drawable so it can be made to a ybn.

Now that we have made a copy it needs to be converted to a Composite you do that by marking the mesh and pressing V and selecting the option convert to Composite and then the option Apply flag preset

Collision material

You are now ready to assign the material to the collision. Here you just need to find the material that is closest to what material you have chosen on the drawable, and then it's just assign them the same way as the texture.

The floor material need to be different for each room so the room ID can be set to the material

📚
ðŸ