User Tools

Site Tools


mod-management-functions

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
mod-management-functions [2025/04/30 19:06] polymorphgamesmod-management-functions [2026/02/23 17:02] (current) – [registerClass] polymorphgames
Line 1: Line 1:
-====== Mod management functions ======+====== Mod Management Functions ======
  
 All these functions are available on your mod object All these functions are available on your mod object
Line 128: Line 128:
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''classInfo''// | ''table'' | a table containing all info about the new type |+| //''[[:class-info|classInfo]]''// | ''table'' | a table containing all info about the new type |
  
 ==== Example ==== ==== Example ====
Line 279: Line 279:
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''oldTexturePath''// | ''string'' | the path to the old core game texture | +| //''oldTexturePath''// | ''string'' | the path to the old core game texture
-| //''newTexturePath''// | ''string'' | the path to the texture to use as replacement. Can be a texture from the mod, or the name of a core game texture. |+| //''newTexturePath''// | ''string'' | the path to the texture to use as replacement.\\ Can be a texture from the mod, or the name of a core game texture. |
 | //''blendMode''// | ''string'' | <WRAP> | //''blendMode''// | ''string'' | <WRAP>
 an option on how the new texture is used. Can be: an option on how the new texture is used. Can be:
-  * ''REPLACE'': fully replace the old texture with the new one +  * ''REPLACE'': fully replace the old texture with the new one. 
-  * ''ALPHA_BLEND'': draw the new texture "on top" of the old one +  * ''ALPHA_BLEND'': draw the new texture "on top" of the old one. 
-  * ''ADDITIVE'': blend the new texture "on top" of the old one with additive blending +  * ''ADDITIVE'': blend the new texture "on top" of the old one with additive blending. 
-  * ''SUBTRACTIVE'': blend the new texture "on top" of the old one with subtractive blending+  * ''SUBTRACTIVE'': blend the new texture "on top" of the old one with subtractive blending.
 </WRAP> | </WRAP> |
  
mod-management-functions.1746054375.txt.gz · Last modified: 2025/04/30 19:06 by polymorphgames

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki