Table of Contents

Calculating Door Dimensions

Portals are created by reading the coordinates of your door frame in 3ds max using the vertex option. All portal coordinates must have 8 placement points after the decimal. In order to see these coordinates you must have selection mode activated in 3ds max.

Ie. 5.00000000

Coordinates follow a counter-clockwise pattern. Here's a reference.

Bottom right, top right, top left, bottom left

Manual BBMin & BBMax (Bounding Box)

If you want a simple way to figure this out in 3Ds Max. You use the green arrow to determine your most northern point. BBMin && BBMax is basically a cuboid. You get two points. Lower most bottom left. Upper most top right.

Sometimes bbmin and bbmax must be higher then the realistic count it only happens in/near sandy shores.

The Decimal Rule

The decimal rule from portals applies here. You must have the correct amount of trailing zeros for this to work.

If your decimal point is 0.0000000 it will not work. It must have the correct amount of trailing decimals which is 0.00000000.

Here's an example image:

YTYP Generator

Download Skylumz's YTYP Generator, where you simply can calculate the BB's by importing your models:

https://www.gta5-mods.com/tools/ytyp-generator-using-odrs

Instructions

  1. Extract the folder

  2. Open CreateYtyp.exe

  3. Click on "Ytyp Creator"

  1. Click on "Odr Browser" => "Open"

  1. Another window is popping up => Click "Open"

  1. Search for your Odr and double click on it

  1. Now you will see a lot of stuff in there

  1. Calculate BB's

  1. Close the window and click on Odr Browser => Import BB's

  1. Modify Flags, HD Texture Dist and LOD Dist

  1. If you use embedded collsisions, click on "Embedded Collision"

  2. If you use an external Texture Dictionary, click on "Using External Texture Dictionary" and insert the name

  3. If you are using a custom drawable dictionary, click on "Using Custom Drawable Dictionary"

  4. Click "Add Item"

  1. Click on "Create"

  2. Done, Click on "View Created Ytyp"

Result

results matching ""

    No results matching ""