User Tools

Site Tools


communityapi:ebf:ups_object_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
communityapi:ebf:ups_object_setup [2022/05/15 12:53] – [BuildingPartExclusionRadius] minotoriouscommunityapi:ebf:ups_object_setup [2022/06/26 09:07] – [BuildingPartExclusionRadius] minotorious
Line 11: Line 11:
  
 ==== ObjectId ==== ==== ObjectId ====
-//Serialized//+//[[:annotations#serialized|Serialized]]//
  
   * **Type**: ''string''   * **Type**: ''string''
Line 19: Line 19:
  
 ==== ObjectPrefab ==== ==== ObjectPrefab ====
-//Serialized//+//[[:annotations#serialized|Serialized]]//
   * **Type**: ''[[api:prefab|PREFAB]]''   * **Type**: ''[[api:prefab|PREFAB]]''
   * **Default value**: ''nil''   * **Default value**: ''nil''
Line 26: Line 26:
  
 ==== ObjectArea ==== ==== ObjectArea ====
-//Serialized//+//[[:annotations#serialized|Serialized]]//
   * **Type**: ''[[api:vec2f|vec2f]]''   * **Type**: ''[[api:vec2f|vec2f]]''
   * **Default value**: ''{ 1, 1 }''   * **Default value**: ''{ 1, 1 }''
Line 33: Line 33:
  
 ==== EdgeCheckResoluton ==== ==== EdgeCheckResoluton ====
-//Serialized//+//[[:annotations#serialized|Serialized]]//
   * **Type**: ''[[api:vec2i|vec2i]]''   * **Type**: ''[[api:vec2i|vec2i]]''
   * **Default value**: ''{ 0, 0 }''   * **Default value**: ''{ 0, 0 }''
Line 40: Line 40:
  
 ==== AreaCheckMode ==== ==== AreaCheckMode ====
-//Serialized//+//[[:annotations#serialized|Serialized]]//
   * **Type**: ''string''   * **Type**: ''string''
-  * **Default value**: ''Hourglass'' -- Cross, Combined+  * **Default value**: ''Hourglass'' 
 +  * **Other Accepted Modes:** ''Cross''**,** ''Combined''
  
 ---- ----
  
 ==== AreaCheckResolution ==== ==== AreaCheckResolution ====
-//Serialized//+//[[:annotations#serialized|Serialized]]//
   * **Type**: ''[[api:vec2i|vec2i]]''   * **Type**: ''[[api:vec2i|vec2i]]''
   * **Default value**: ''{ 0, 0 }''   * **Default value**: ''{ 0, 0 }''
Line 54: Line 55:
  
 ==== OnTerrain ==== ==== OnTerrain ====
-//Serialized//+//[[:annotations#serialized|Serialized]]//
   * **Type**: ''boolean''   * **Type**: ''boolean''
   * **Default value**: ''true''   * **Default value**: ''true''
Line 61: Line 62:
  
 ==== OnWater ==== ==== OnWater ====
-//Serialized//+//[[:annotations#serialized|Serialized]]//
   * **Type**: ''boolean''   * **Type**: ''boolean''
   * **Default value**: ''false''   * **Default value**: ''false''
Line 68: Line 69:
  
 ==== MinAllowedSlope ==== ==== MinAllowedSlope ====
-//Serialized//+//[[:annotations#serialized|Serialized]]//
   * **Type**: ''float''   * **Type**: ''float''
-  * **Default value**: ''80.0'' -- 0 to 90+  * **Default value**: ''80.0'' 
 +  * **90 being fully flat land and 0 a sharp cliff**
  
 ---- ----
  
 ==== AllowedAngles ==== ==== AllowedAngles ====
-//Serialized//+//[[:annotations#serialized|Serialized]]//
   * **Type**: ''[[api:vec2f|vec2f]]''   * **Type**: ''[[api:vec2f|vec2f]]''
   * **Default value**: ''{ -180, 180 }''   * **Default value**: ''{ -180, 180 }''
Line 82: Line 84:
  
 ==== SelfExclusionRadius ==== ==== SelfExclusionRadius ====
-//Serialized//+//[[:annotations#serialized|Serialized]]//
   * **Type**: ''float''   * **Type**: ''float''
   * **Default value**: ''50.0''   * **Default value**: ''50.0''
Line 89: Line 91:
  
 ==== BuildingPartExclusionRadius ==== ==== BuildingPartExclusionRadius ====
-//Serialized//+//[[:annotations#serialized|Serialized]]//
   * **Type**: ''float''   * **Type**: ''float''
   * **Default value**: ''10.0''   * **Default value**: ''10.0''
   * **Set to 0 to disable!**   * **Set to 0 to disable!**
 +  * **This is a computationally heavy check! If you are certain your pefabs won't overlap with other buildings 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