Skip to content

Generates the ytyp item & bounding box for your object and copies it o your clipboard.

Notifications You must be signed in to change notification settings

brezedc/YTYP-Creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YTYP Creator

Ytyp Creator allows you to generate a ytyp item in seconds by dragging .ODR & . OBN files over it.

Generates the following:

  • Flags
  • Specialattributes
  • Bounding boxes
  • Embeded Collission & Model Names
Example

  <Item type="CBaseArchetypeDef">
    <lodDist value="500"/>
    <flags value="32"/>
    <specialAttribute value="0"/>
    <bbMin x="-3.42749000" y="-4.65485000" z="-1.90036200"/>
    <bbMax x="3.42749000" y="4.65484600" z="1.90036200"/>
    <bsCentre x="0.00000000" y="-0.00000190" z="0.00000000"/>
    <bsRadius value="6.08495000"/>
    <hdTextureDist value="5.00000000"/>
    <name>coolfile</name>
    <textureDictionary>coolfile</textureDictionary>
    <clipDictionary/>
    <drawableDictionary/>
    <physicsDictionary/>
    <assetType>ASSET_TYPE_DRAWABLE</assetType>
    <assetName>coolfile</assetName>
    <extensions/>
</Item>

preview.mp4

Requirements

Installation:

  1. Download the latest release from here.
  2. Right click and unzip the file.
  3. Launch the install.bat file and wait for the download to be finished.
  4. . Installation Done!

Usage:

  • Drag any .ODR / .OBN files over the DRAG_FILES_ON_ME.bat file, the console will be opened and closed and the ytyp will be copied to your clipboard.
  • Video

Customization:

You can configure the following settings in the settings.json file:

  • embeddedColission default: true
  • defaultLodDist default: 500.0
  • defaultFlag default: 32
  • textureDictionary default: false false = embedded textures, to set a specific texture dictonary, set "textureDictionary": "dictonaryName"

These are the default values that are going to be used when creating the ytyp.

Support For support, please join my discord or create a issue.

About

Generates the ytyp item & bounding box for your object and copies it o your clipboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published