Difference between revisions of "ProgressPacks.json"

From Halfway
Jump to: navigation, search
(Created page with "==Overview==")
 
Line 1: Line 1:
 
==Overview==
 
==Overview==
 +
 +
In this json you define the progress of the game. (Which levels are availible and what is your homebase level etc.)
 +
 +
Please note that you have to define unique level points in the [[LevelPoints.json]] first before making the progress one.
 +
 +
==Example==
 +
 +
  {
 +
    "unlockAfter" : "Dummy.hmap",
 +
    "homebase" : null,
 +
    "availableIds" : [
 +
      "level01a"
 +
    ],
 +
    "unlockIds" : [
 +
      "level01a"
 +
    ]
 +
  },
 +
  {
 +
    "unlockAfter" : "01_WakeUpCall_a.hmap",
 +
    "homebase" : null,
 +
    "availableIds" : [
 +
      "level01b"
 +
    ],
 +
    "unlockIds" : [
 +
      "level01b"
 +
    ]
 +
  },
 +
  {
 +
    "unlockAfter" : "01_WakeUpCall_b.hmap",
 +
    "homebase" : "homebaseAfterM01.hmap",
 +
    "menuMap" : "menuMap02.hmap",
 +
    "availableIds" : [
 +
      "hbEngineRoom"
 +
    ],
 +
    "unlockIds" : [
 +
      "hbEngineRoom"
 +
    ]
 +
  },
 +
 +
==Description==
 +
 +
'''"unlockAfter" : ''' UnlockAfter defines after which map the following progress defined in the parts below is set. This has always to be the real file name of the level and not the ID. (For the very first level just use: Dummy.hmap)
 +
 +
'''"homebase" :''' Define which homebase level is loaded when returning to a homebase. (Use the real file name of the level.)
 +
 +
'''Note:''' If you want to have new dialogs each time the player comes back after a mission, you need to make a copy of the homebase map and replace all the new dialoges. Then change the "homebase" tag here even if the map point is the same. If the position of the homebase is a new one, create a new level point for it in the [[LevelPoints.json]] too. If you do not have a homebase, set it to null.
 +
 +
'''"menuMap" : ''' Defines what background map gets loaded in the main menu. The first one will always be menuMap01.hmap and is selected automatically, the rest can be named as you want.
 +
 +
'''"availableIds" :''' Defines which levels are available to be played on the map. (ID are defined in the [[LevelPoints.json]])
 +
 +
'''"unlockIds" :''' Defines which levels get unlocked after you finished the level named in the beginning. (ID are defined in the [[LevelPoints.json]])

Revision as of 14:51, 19 September 2014

Overview

In this json you define the progress of the game. (Which levels are availible and what is your homebase level etc.)

Please note that you have to define unique level points in the LevelPoints.json first before making the progress one.

Example

 {
   "unlockAfter" : "Dummy.hmap",
   "homebase" : null,
   "availableIds" : [
     "level01a"
   ],
   "unlockIds" : [
     "level01a"
   ]
 },
 {
   "unlockAfter" : "01_WakeUpCall_a.hmap",
   "homebase" : null,
   "availableIds" : [
     "level01b"
   ],
   "unlockIds" : [
     "level01b"
   ]
 },
 {
   "unlockAfter" : "01_WakeUpCall_b.hmap",
   "homebase" : "homebaseAfterM01.hmap",
   "menuMap" : "menuMap02.hmap",
   "availableIds" : [
     "hbEngineRoom"
   ],
   "unlockIds" : [
     "hbEngineRoom"
   ]
 },

Description

"unlockAfter" : UnlockAfter defines after which map the following progress defined in the parts below is set. This has always to be the real file name of the level and not the ID. (For the very first level just use: Dummy.hmap)

"homebase" : Define which homebase level is loaded when returning to a homebase. (Use the real file name of the level.)

Note: If you want to have new dialogs each time the player comes back after a mission, you need to make a copy of the homebase map and replace all the new dialoges. Then change the "homebase" tag here even if the map point is the same. If the position of the homebase is a new one, create a new level point for it in the LevelPoints.json too. If you do not have a homebase, set it to null.

"menuMap" : Defines what background map gets loaded in the main menu. The first one will always be menuMap01.hmap and is selected automatically, the rest can be named as you want.

"availableIds" : Defines which levels are available to be played on the map. (ID are defined in the LevelPoints.json)

"unlockIds" : Defines which levels get unlocked after you finished the level named in the beginning. (ID are defined in the LevelPoints.json)