User Tools

Site Tools


crpl:docs:setimage

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
crpl:docs:setimage [2018/09/21 15:11]
Grabz image limit expand
crpl:docs:setimage [2020/05/30 11:57] (current)
Sanian
Line 8: Line 8:
  
 === Description === === Description ===
-Sets the unit image for the specified slot of the CRPL Core.  +Sets the unit image for the specified slot of the CRPL Core. Slot is an arbitrary name used to identify which image to set. The slot named "​main"​ refers to the primary unit image (the one that can be set in the editor).  
-Slot is an arbitrary name used to identify which image to set.  +The image name must refer to one of the image names that can be set on a unit. Valid strings include "​Default",​ "​None",​ "​CustomEmitter",​ "​CustomSporeTower",​ "​CustomRunnerNest"​ and any of the other Custom images you added yourself, the full list of which can be found in the combo box in the editor for setting the primary unit image. ​Using "​None"​ will remove ​a unit'​s ​image.
-The slot named "​main"​ refers to the primary unit image (the one that can be set in the editor).  +
-The image name must refer to one of the image names that can be set on a unit.  +
-The combo box in the editor for setting the primary unit image contains a list of valid strings. +
-To remove ​an image, use the image name "​NONE"​.+
  
 A single CRPL Core has a maximum limit of the number of images that can be used, which is set at **1024 images**. However, you are only allowed to add 1023 images before functionality start to break. Adding a 1024th image will lock up your ability to add or remove further images from the core, so make sure not to reach this limit. Note that if you're creating an overlay and opt to display it using multiple cores in chunks to surpass this limitation, a 32x32 grid of images (exactly 1024) is already too large. A single CRPL Core has a maximum limit of the number of images that can be used, which is set at **1024 images**. However, you are only allowed to add 1023 images before functionality start to break. Adding a 1024th image will lock up your ability to add or remove further images from the core, so make sure not to reach this limit. Note that if you're creating an overlay and opt to display it using multiple cores in chunks to surpass this limitation, a 32x32 grid of images (exactly 1024) is already too large.
crpl/docs/setimage.txt · Last modified: 2020/05/30 11:57 by Sanian