User Tools

Site Tools


preview

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
Next revisionBoth sides next revision
preview [2019/10/02 15:33] polymorphgamespreview [2019/12/18 18:35] – [How to Access 1.5 Preview ?] polymorphgames
Line 1: Line 1:
-====== Preview Modding Documentation for Foundation 1.======+====== Preview Modding Documentation for Foundation 1.======
  
-:!: Please do not upload mods for Foundation 1.to mod.io before the official release of those modding features, since it would make your mod visible to all players, and they won't be able to play it :!:+:!: Please do not upload mods for Foundation 1.to mod.io before the official release of those modding features, since it would make your mod visible to all players, and they won't be able to play it :!:
  
-===== How to Access 1.Preview ? ===== +===== How to Access 1.Preview ? ===== 
-Contact developer on our [[https://discord.gg/foundation|discord server]].+Switch to the Steam or GOG "preview" beta branch.
  
 ===== Generated Documentation ===== ===== Generated Documentation =====
   * [[preview:api|API]]   * [[preview:api|API]]
   * [[preview:assets|Assets]]   * [[preview:assets|Assets]]
-  * [[api:mod-functions|Mod functions]] 
  
-===== New Features ===== +===== New Features and pages ===== 
-  * [[preview:components|Setup components on FBX nodes]] +  * [[preview:components|Custom components]] 
-  * [[preview:workplaces|Create workplaces]] +  * [[preview:data-type|Data Types]]
-  * [[preview:monuments|Create monuments and bridges]] +
-  * [[preview:walls|Create walls]] +
-  * [[preview:particle-effects|Create particle effects]] +
-  * [[preview:asset-override|Game asset override]] +
-  * [[preview:building-asset-processor|Building asset processor]] +
-  * [[preview:logs|Mod individual log file]] +
-  * [[preview:example-02|New mod example: Example 02 - Mithril Factory]] +
-  * [[preview:api:mod-functions:io|IO functions]] +
-  * [[preview:dependencies|Mod Dependencies]] +
-===== Migration Notes ===== +
-==== New mod.json ==== +
-In order to only load mods when enabled, Foundation will now need a new description file for each mod. It will declare all the things Foundation would need to know about the mod without parsing the lua file.+
  
-<file json mod.json> +===== Changelog ===== 
-+See in [[changelog#Foundation 1.5.0.1218|Changelog]].
- "Name": "Simple Example Mod", +
- "Author": "Leo", +
- "Description": "A very simple mod example", +
- "Version": "2.0.0", +
- +
- "AdditionalLanguageList":+
-+
- "Name": "Klingon", +
- "Code": "tlh" +
-+
-+
-+
-</file> +
- +
-==== createMod() function is simplified ==== +
-Since the new ''mod.json'' file already contains all basic information about the mod, the ''foundation.createMod()'' function does not take any parameter anymore. +
- +
-<file lua mod.lua> +
-local myMod = foundation.createMod() +
-</file> +
- +
- +
-==== GENERAL_DATA asset type has been removed ==== +
-''GENERAL_DATA'' asset type has been removed and all its properties has been moved to ''BALANCING''+
- +
-However, modders can now partially override Foundation main balancing (''DEFAULT_BALANCING''), instead of being forced to replace all balancing propertiessee [[preview:asset-override|Asset override]] for more information.+

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki