{"id":617,"date":"2019-02-26T13:33:21","date_gmt":"2019-02-26T13:33:21","guid":{"rendered":"https:\/\/eeldev.com\/?page_id=617"},"modified":"2020-11-13T12:15:27","modified_gmt":"2020-11-13T12:15:27","slug":"foliage-plugin","status":"publish","type":"page","link":"https:\/\/eeldev.com\/index.php\/foliage-plugin\/","title":{"rendered":"Foliage Plugin"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>What is the Foliage Plugin?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The foliage Plugin enables you to interact with Foliage Instances that are placed in your level, be it Trees, Rocks, Bushes, Vehicles, Buildings, doesn&#8217;t matter. The Foliage Plugin can convert anything into whatever you want. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Features<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Convert Instance Foliage into Actors  <\/li><li>Full Replication Support <\/li><li>Support for Tiled Landscapes, World Composition and Level Streaming <\/li><li>Saving and Loading of instances <\/li><li>Respawning and Removing Instances <\/li><li>Different Damage Types (eg, require to use an Axe to harvest trees) <\/li><li>Support for Destructible Meshes <\/li><li>Works on both Listen and Dedicated Servers <\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Demonstration Video<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-embed-youtube aligncenter wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Foliage Plugin for Unreal Engine 4\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/rSH86A4SiAA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Additional Links and Information <\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"http:\/\/eeldev.com\/foliageplugin_example\/FoliageExample_Packaged.7z\">Playable Demo (Packaged)<\/a><\/li><li><a href=\"http:\/\/eeldev.com\/foliageplugin_example\/FoliageExample_421.7z\">Example Project (UProject) (UE 4.21)<\/a> <br><strong><em>You must own the Foliage Plugin to use the Example Project<\/em> <\/strong><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Getting Started<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" aria-label=\"Getting Started (opens in a new tab)\" href=\"https:\/\/eeldev.com\/index.php\/foliage-plugin-getting-started\/\" target=\"_blank\"><strong>Getting Started<\/strong><\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\"Setting up Destructible Meshes (opens in a new tab)\" href=\"https:\/\/eeldev.com\/index.php\/foliage-plugin-destructible-meshes\/\" target=\"_blank\">Setting up Destructible Meshes<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\"Damage Types (opens in a new tab)\" href=\"https:\/\/eeldev.com\/index.php\/foliage-plugin-damage-types\/\" target=\"_blank\">Damage Types<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Tutorials<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" aria-label=\"Foliage Plugin + Survival Game KIT (SGK) (opens in a new tab)\" href=\"https:\/\/eeldev.com\/index.php\/foliage-plugin-survival-game-kit-sgt\/\" target=\"_blank\">Foliage Plugin + Survival Game KIT (SGK)<\/a><\/li><li><a href=\"https:\/\/eeldev.com\/index.php\/foliage-plugin-multiplayer-survival-game-template-msgt\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Multiplayer Survival Game Template (MSGT) (opens in a new tab)\">Multiplayer Survival Game Template (MSGT)<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Plugin Settings<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/b4d606764e95792bf403049b7adb32da.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/b4d606764e95792bf403049b7adb32da.png\" alt=\"\"\/><\/a><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Foliage<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Enable Debugging<\/strong><br>Print errors and warnings to log<\/li><li><strong>Foliage Actor<\/strong><br>This actor will replace the Foliage Instance that you interact with<\/li><li><strong>Foliage DataTable<\/strong><br>Data Table containing information on what Foliage Instances the foliage plugin will interact with<\/li><li><strong>Hidden Foliage Move Distance<\/strong><br>Hidden Foliage will be moved away on the Z axis once it&#8217;s replaced with a Foliage Actor (if respawning is enabled)<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Settings<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Foliage Respawn Rate<br><\/strong>How often we try and respawn Foliage Instances (in seconds)<\/li><li><strong>Block Foliage Despawn Radius<\/strong><br>The Foliage Plugin will perform a sphere trace determined by this radius, if any object is found within this radius it will not despawn the Foliage Actor&nbsp;(useful to prevent players from seeing Foliage popping up in front of them)<\/li><li><strong>Block Foliage Respawn Radius<\/strong><br>Same as above, but will block respawning (useful to prevent players from seeing Foliage popping up in front of them)<\/li><li><strong>Blocked Respawn Object Types<br><\/strong>Determines what object types that will block despawn \/ respawn, related to the settings above<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Saving and Loading<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Enable Persistent Data<br><\/strong>The Foliage Plugin can save your data between gaming sessions for all foliage instances that have been modified<\/li><li><strong>Auto Saving Rate<br><\/strong>How often to auto save (in seconds)<\/li><li><strong>Save Game Name<br><\/strong>Save game file name<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Replication<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Enable Replication<\/strong><br>Enable \/ Disable Replication of the Foliage Plugin<\/li><li><strong>Replicate Physics Movement<\/strong><br>Disabled by Default to save on bandwidth, replication of physics movement is something you want to avoid unless it&#8217;s gameplay important<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Foliage Plugin Data Table Settings <\/strong><\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/fcd7e04d42f4ba7bd932256d6c48f8c6.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/fcd7e04d42f4ba7bd932256d6c48f8c6.png\" alt=\"\"\/><\/a><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Settings<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Resource Name<\/strong><br>Human readable, friendly usable resource name<\/li><li><strong>Rewards on Harvest<br><\/strong>If you want to reward the player with any resources on harvest, you set this here<\/li><li><strong>Foliage Meshes<br><\/strong>For simplicity, this is an array which can contain several meshes for the same resource<\/li><li><strong>Destructible Meshes<br><\/strong>If you want to use a Destructible Mesh for your Resource, it\u2019s&nbsp;<strong>important<\/strong>&nbsp;that your Foliage Mesh has the same&nbsp;<strong>ID<\/strong>&nbsp;in the Data Table as the Destructible Mesh!<\/li><li><strong>Max Uses<br><\/strong>How many times this resource can be \u201charvested\u201d<\/li><li><strong>Foliage Actor Max Life Time<br><\/strong>The spawned foliage actor will be removed from the game world after X amount of seconds. Despawning will be renewed if any player is nearby (configurable in the&nbsp;<strong>Project Settings<\/strong>)<\/li><li><strong>Depleted Foliage Actor Life Time<br><\/strong>Once this actor has been depleted (been harvested enough), this is how long we keep the actor live<\/li><li><strong>Enable<\/strong>&nbsp;RespawningCan this foliage respawn?<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Damage<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Require Damage Type<br><\/strong>If the player is required to use a certain damage type to harvest this resource<\/li><li><strong>Damage Type<br><\/strong>You can create new damage types by creating a new blueprint class that inherits from DamageType<\/li><li><strong>Damage Amount<br><\/strong>The minimum amount of damage required to harvest this resource<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Physics<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Simulate Physics on Depletion<br><\/strong>Should the foliage actor simulate physics when depleted? Eg, a tree falling over when harvested? (<strong>Disabled if any Destructible Mesh is set<\/strong>)<\/li><li><strong>Apply Impulse on Depletion<br><\/strong>Apply a physics impulse on depletion (making trees fall over for example)<\/li><li><strong>Physics Impulse Multiplier<br><\/strong>How much force should we apply?<\/li><li><strong>Physics Collision Profile Name<br><\/strong>If set to something other than \u201cNone\u201d, the Foliage Mesh collision profile will be set to this before we start simulating physics<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>What is the Foliage Plugin? The foliage Plugin enables you to interact with Foliage Instances that are placed in your level, be it Trees, Rocks, Bushes, Vehicles, Buildings, doesn&#8217;t matter. The Foliage Plugin can convert anything into whatever you want. Features Convert Instance Foliage into Actors Full Replication Support Support for Tiled Landscapes, World Composition &#8230; <a title=\"Foliage Plugin\" class=\"read-more\" href=\"https:\/\/eeldev.com\/index.php\/foliage-plugin\/\" aria-label=\"Read more about Foliage Plugin\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-617","page","type-page","status-publish"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Foliage Plugin - eelDev<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eeldev.com\/index.php\/foliage-plugin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Foliage Plugin - eelDev\" \/>\n<meta property=\"og:description\" content=\"What is the Foliage Plugin? The foliage Plugin enables you to interact with Foliage Instances that are placed in your level, be it Trees, Rocks, Bushes, Vehicles, Buildings, doesn&#8217;t matter. The Foliage Plugin can convert anything into whatever you want. Features Convert Instance Foliage into Actors Full Replication Support Support for Tiled Landscapes, World Composition ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eeldev.com\/index.php\/foliage-plugin\/\" \/>\n<meta property=\"og:site_name\" content=\"eelDev\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-13T12:15:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/b4d606764e95792bf403049b7adb32da.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/eeldev.com\\\/index.php\\\/foliage-plugin\\\/\",\"url\":\"https:\\\/\\\/eeldev.com\\\/index.php\\\/foliage-plugin\\\/\",\"name\":\"Foliage Plugin - eelDev\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/eeldev.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/eeldev.com\\\/index.php\\\/foliage-plugin\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/eeldev.com\\\/index.php\\\/foliage-plugin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/eeldev.com\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/b4d606764e95792bf403049b7adb32da.png\",\"datePublished\":\"2019-02-26T13:33:21+00:00\",\"dateModified\":\"2020-11-13T12:15:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/eeldev.com\\\/index.php\\\/foliage-plugin\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/eeldev.com\\\/index.php\\\/foliage-plugin\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/eeldev.com\\\/index.php\\\/foliage-plugin\\\/#primaryimage\",\"url\":\"https:\\\/\\\/eeldev.com\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/b4d606764e95792bf403049b7adb32da.png\",\"contentUrl\":\"https:\\\/\\\/eeldev.com\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/b4d606764e95792bf403049b7adb32da.png\",\"width\":950,\"height\":639},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/eeldev.com\\\/index.php\\\/foliage-plugin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/eeldev.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Foliage Plugin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/eeldev.com\\\/#website\",\"url\":\"https:\\\/\\\/eeldev.com\\\/\",\"name\":\"eelDev\",\"description\":\"eelDev.com\",\"publisher\":{\"@id\":\"https:\\\/\\\/eeldev.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/eeldev.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/eeldev.com\\\/#organization\",\"name\":\"eelDev\",\"url\":\"https:\\\/\\\/eeldev.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/eeldev.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/eeldev.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/logo_new_transparent-4.png\",\"contentUrl\":\"https:\\\/\\\/eeldev.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/logo_new_transparent-4.png\",\"width\":2048,\"height\":682,\"caption\":\"eelDev\"},\"image\":{\"@id\":\"https:\\\/\\\/eeldev.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Foliage Plugin - eelDev","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eeldev.com\/index.php\/foliage-plugin\/","og_locale":"en_US","og_type":"article","og_title":"Foliage Plugin - eelDev","og_description":"What is the Foliage Plugin? The foliage Plugin enables you to interact with Foliage Instances that are placed in your level, be it Trees, Rocks, Bushes, Vehicles, Buildings, doesn&#8217;t matter. The Foliage Plugin can convert anything into whatever you want. Features Convert Instance Foliage into Actors Full Replication Support Support for Tiled Landscapes, World Composition ... Read more","og_url":"https:\/\/eeldev.com\/index.php\/foliage-plugin\/","og_site_name":"eelDev","article_modified_time":"2020-11-13T12:15:27+00:00","og_image":[{"url":"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/b4d606764e95792bf403049b7adb32da.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/eeldev.com\/index.php\/foliage-plugin\/","url":"https:\/\/eeldev.com\/index.php\/foliage-plugin\/","name":"Foliage Plugin - eelDev","isPartOf":{"@id":"https:\/\/eeldev.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/eeldev.com\/index.php\/foliage-plugin\/#primaryimage"},"image":{"@id":"https:\/\/eeldev.com\/index.php\/foliage-plugin\/#primaryimage"},"thumbnailUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/b4d606764e95792bf403049b7adb32da.png","datePublished":"2019-02-26T13:33:21+00:00","dateModified":"2020-11-13T12:15:27+00:00","breadcrumb":{"@id":"https:\/\/eeldev.com\/index.php\/foliage-plugin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eeldev.com\/index.php\/foliage-plugin\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eeldev.com\/index.php\/foliage-plugin\/#primaryimage","url":"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/b4d606764e95792bf403049b7adb32da.png","contentUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/b4d606764e95792bf403049b7adb32da.png","width":950,"height":639},{"@type":"BreadcrumbList","@id":"https:\/\/eeldev.com\/index.php\/foliage-plugin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eeldev.com\/"},{"@type":"ListItem","position":2,"name":"Foliage Plugin"}]},{"@type":"WebSite","@id":"https:\/\/eeldev.com\/#website","url":"https:\/\/eeldev.com\/","name":"eelDev","description":"eelDev.com","publisher":{"@id":"https:\/\/eeldev.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eeldev.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eeldev.com\/#organization","name":"eelDev","url":"https:\/\/eeldev.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eeldev.com\/#\/schema\/logo\/image\/","url":"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png","contentUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png","width":2048,"height":682,"caption":"eelDev"},"image":{"@id":"https:\/\/eeldev.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/pages\/617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/comments?post=617"}],"version-history":[{"count":71,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/pages\/617\/revisions"}],"predecessor-version":[{"id":3800,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/pages\/617\/revisions\/3800"}],"wp:attachment":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/media?parent=617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}