User Tools

Site Tools


communityapi:ebf:ups_object_setup

UPS_OBJECT_SETUP

Category: Asset
Mod Dependency: Foundation EBF

Parent class: ASSET

Properties


ObjectId

Serialized

  • Type: string
  • Expected: string value

ObjectPrefab

Serialized

  • Type: PREFAB
  • Default value: nil

ObjectArea

Serialized

  • Type: vec2f
  • Default value: { 1, 1 }

EdgeCheckResoluton

Serialized

  • Type: vec2i
  • Default value: { 0, 0 }

AreaCheckMode

Serialized

  • Type: string
  • Default value: Hourglass
  • Other Accepted Modes: Cross, Combined

AreaCheckResolution

Serialized

  • Type: vec2i
  • Default value: { 0, 0 }

OnTerrain

Serialized

  • Type: boolean
  • Default value: true

OnWater

Serialized

  • Type: boolean
  • Default value: false

MinAllowedSlope

Serialized

  • Type: float
  • Default value: 80.0
  • 90 being fully flat land and 0 a sharp cliff

AllowedAngles

Serialized

  • Type: vec2f
  • Default value: { -180, 180 }

SelfExclusionRadius

Serialized

  • Type: float
  • Default value: 50.0

BuildingPartExclusionRadius

Serialized

  • Type: float
  • Default value: 10.0
  • Set to 0 to disable!
  • This is a computationally heavy check! If you are certain your pefabs won't overlap with other building parts or if overlaps are not a problem I highly recommend disabling it!

communityapi/ebf/ups_object_setup.txt · Last modified: 2022/06/26 09:07 by minotorious

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki