User Tools

Site Tools


crpl:docs:setterrainoverride

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
crpl:docs:setterrainoverride [2013/10/26 04:00] – added Mass Driver to the warning Grayzzurcrpl:docs:setterrainoverride [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~ 
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#terrain_and_wall_commands|Terrain and Wall Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#terrain_and_wall_commands|Terrain and Wall Commands]]
 =====  SetTerrainOverride  ===== =====  SetTerrainOverride  =====
Line 9: Line 8:
 === Description === === Description ===
 Sets the override height of the terrain cell at X,Y. Unlike [[crpl:docs:SetTerrain]], the override height of the terrain can be set above 10. This can be used to contain large amounts of creeper and prevent it from overflowing. This is how the creeper is contained in the Credits mission. Sets the override height of the terrain cell at X,Y. Unlike [[crpl:docs:SetTerrain]], the override height of the terrain can be set above 10. This can be used to contain large amounts of creeper and prevent it from overflowing. This is how the creeper is contained in the Credits mission.
 +
 +Setting the override value to -1 returns the cell to normal behavior with the actual terrain height.
 +
 +Terrain levels start at one, but terrain override levels start at zero. Zero is the same as the lowest terrain level.
  
 <color red>Terraforming with Terps and Mass Drivers will not change the override value of the cell.</color> Recommend not allowing Terps (player unit) or using Mass Drivers (Artifact of Odin) on maps when using this feature. <color red>Terraforming with Terps and Mass Drivers will not change the override value of the cell.</color> Recommend not allowing Terps (player unit) or using Mass Drivers (Artifact of Odin) on maps when using this feature.
 +
 +WARNING: Do not resize a map after applying terrain overrides. If you resize a map that contains terrain overrides it will cause a game breaking bug where you cannot save, load, or bring up the main menu. Since maps automatically save upon resizing, this glitch will permanently break your map if you did not back it up.
  
 === Examples === === Examples ===
crpl/docs/setterrainoverride.1382760028.txt.gz · Last modified: 2025/02/14 14:56 (external edit)