Game export – Ylands

From Bohemia Interactive Community
Revision as of 16:20, 11 September 2019 by Rudy.cz (talk | contribs)
Jump to navigation Jump to search

Overview

In order to publish and play Genesys projects (games made in Editor), they have to be exported from Editor and uploaded to Workshop. Workshop is the primary way how to distribute custom games, both single player and multiplayer, among other players. Its is also possible to export and play games locally, but this is primary intended for testing purposes.

To export a game see Export Game in editor menu

  • Workshop export → optimize the game and create workshop version of Genesys project
  • Optimise → it is also possible to optimise the game in advance, so that the export will take less time
  • Show Workshop files → opens folder with exported games

PC vs Universal games

It is possible to determine target platform of a game. This is specified in Game settings / Common settings

  • PC only → when checked, the game could be run without limitations but only on PC
  • Universal → universal games can be run on both PC and mobile devices, but their play areas is limited by maximum terrain size of 3x3x3 chunks
    • Universal games do not support Dynamic terrain

Publishing to workshop

  • When workshop export is used, a single *.yca file is generated. This file can be then uploaded to ylands workshop (https://workshop.ylands.com)
  • It is possible to label the game as protected
    • Protected games cannot be downloaded from Workshop by other users, played locally or copied
    • Games containing custom monetization are automatically protected
    • Unprotected games can be downloaded from workshop and played locally, their files can be freely copied

Important note

  • The author of *.yca file and user logged onto Wokrshop has to be same person -> meaning that their game account and workshop account has to be linked

Local export (power user only)

  • It is possible to use /exportlocal command via console (chat - press enter)
  • The game template (actual game file) is created → new *.ygt file will appear.
  • The game is optimized and "support data" are created → new *.ysd file will appear.
    • If "Dynamic terrain" option is disabled in "Game settings", static terrain will get compiled and stored as "support data" which increases game performance rapidly.
    • This process can take a while, depending on size of static terrain.

Note:

  • When restoring saved game, corresponding version of .ysd file needs to be present to successfully load the world. (.ygt is nor required to restore game from save.)

Local export

  • Game template and support data are generated (*.ysd + *.ygt).
  • Show in folder button can be used to view "local files".

Workshop export

  • Game template and support data are generated (*.ysd + *.ygt).
  • Both files are packed in to one *.yca file which can be uploaded to Workshop.
  • Show in folder button can be used to view "workshop files".



Template:Ylands scripting navbox