Sollumz
2.5
2.5
  • 👋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 [TODO]
    • ðŸŽļ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

Was this helpful?

Export as PDF
  1. Documentation
  2. Fragments (.yft)
  3. Vehicle Setup

Vehicle Windows

PreviousImport SettingsNextLight IDs

Was this helpful?

Vehicle windows are defined in the physics properties of the window collision. See window_lf.col in adder.yft for example.

Enabling Is Glass Window will cause the window properties to appear. The only property you should have to change here is the Window Material. This is the material that the corresponding window mesh uses. Looking at the window_lf mesh materials, we see that it uses two vehicle_generic_glasswindows2 materials.

This is because one material represents the inner glass and the other represents the outer glass. Go into Edit Mode and select the vertices of each material to see which one represents the outer glass. In this case, it's the material without the ".001" so that's the one that the glass window should reference.

That's all that is needed for working vehicle windows!

Shattermaps

You will notice that all vanilla vehicles have "shattermaps", which is an image that defines the border of the glass-breaking pattern. These aren't 100% necessary for working vehicle windows but will result in better-looking glass shatter patterns.

In Sollumz, shattermaps are represented as planes with a single texture. For example, adder.yft has an object called windscreen_shattermap which is parented to windscreen.col.

These are always low-res bitmap greyscale textures. Currently, Sollumz has no tools for creating shattermaps, so your best bet is to copy shattermaps from vanilla files and work off of those.

📄
🚙
window_lf.col | Object Properties > Physics
window_lf | Materials
Determining which material is the outer glass material
windscreen_shattermap