File information
Created by
Zilav - brought to you by KKthebeastUploaded by
kkthebeastVirus scan
THIS IS A MODDERS RESOURCE
All AVIF Research by the great Robboten! With out his work we wouldn't know what half of these fields do ;)
Another epic time saving plugin for xEdit by the Master Zilav
This will auto generate the Proper AVIF data, in part to allow most pieces to overlap in build mode,
it reads the object bounds finds the total difference between bounds and sets them to 1/4 of the total difference between axis
It may be too aggressive for somethings and not perfect for others, but it is a good start and saves a ton of time :)
Example OBND
X1 -128
Y1 -64
Z1 0
X2 128
Y2 64
Z2 256
WorkshopOverrideXBoundMin -64
WorkshopOverrideXBoundMax 64
WorkshopOverrideYBoundMin -32
WorkshopOverrideYBoundMax 32
WorkshopOverrideZBoundMin 64
WorkshopOverrideZBoundMax 192
The constant fBoundOffset = 0.25; (1/4) can be change to your liking in the code, just open with your favorite text/code editor, change and save.
Planning on adding in some static variables soon to make it all in one, (I am currently using another script to filling the missing extra AVIF data)