Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Worldbox Wiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Maps
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Upload file
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Map json== The data of a map.wbox file is stored as a zlib compressed json string, while the map.wbax (autosave) file is stored uncompressed. With the proper knowledge you can edit this to have normally inaccessible tiles such as border_water and border_pit, stack traits, non square map sizes etc. Look to the right to expand an example of what a map.json file looks like. <div class="mw-collapsible mw-collapsed"> <syntaxhighlight lang="javascript"> saveVersion: int width: int height: int mapStats: { name: str description: str worldTime: float era_id: int era_next_id: str era_month_next: float era_month_start: float deaths: int deaths_age: int deaths_hunger: int deaths_eaten: int deaths_other: int housesDestroyed: int population: int id_unit: int id_building: int id_kingdom: int id_city: int id_culture: int id_clan: int id_alliance: int id_war: int id_plot: int } worldLaws: { list[{ name: str booVal: bool }] } tileMap: [int] tileArray: [[int]] tileAmounts: [[int]] fire: [int] conwayEater: [int] conwayCreator: [int] frozen_tiles: [int] tiles: [int] cities[{ pop_points: [?] storage: { savedResources: {[ id: str amount: int ]} items_weapons: [{ year: int by: str from: str name: str id: str material: str modifiers: [str] }] items_helmets: [{same as items_weapons}] items_armor: [{same as items_weapons}] items_rings: [{same as items_weapons}] items_amulets: [{same as items_weapons}] } kingdomID: str e.g. k_0 leaderID: str e.g. u_0 zones: [{ x: int y: int }] culture: str e.g c_0 race: str e.g. orc deaths: int born: int timer_supply: float timestamp_kingdom: float id: str e.g c_0 name: str created_time: float }] actors_data: [{ items: [{same as items_weapons}] cityID: int e.g. c_0 x: int y: int favoriteFood: str mood: str gender: int skin: int skin_set: int culture: str e.g. c_0 clan: str e.g. f_0 asset_id: str e.g. orc profession: int kills: int age_overgrowth: int had_child_timeout: float children: int hunger: int level: int experience: int diplomacy: int intelligence: int stewardship: int warfare: int traits: [str] health: int id: str e.g. u_0 name: str created_time: float custom_data_int: {influence: int} }] buildings: [{ state: int mainX: int mainY: int asset_id: str cityID: str e.g. c_0 frameID: int health: int id: str created_time: float custom_data_flags: ['under_construction'] }] kingdoms: [{ cultureID: str e.g. c_0 timestamp_alliance: float timestamp_last_war: float timestamp_new_conquest: float timestamp_king_rule: float royal_clan_id: str motto: str timer_settle_target: float timer_new_king: float deaths: int born: int kingID: str e.g. u_0 capitalID: str e.g. c_0 raceID: str e.g orc colorID: int banner_background_id: int banner_icon_id: int id: str e.g. k_0 name: str created_time: float }] clans: [{ motto: str race_id: str e.g. orc dead: int chief_id: str e.g. u_0 members: [str] e.g. ['u_0', 'u_1'] color_id: int banner_background_id: int banner_icon_id: int level: int experience: int founder_name: str founder_kingdom: str founder_home: str id: str e.g. f_0 name: str created_time: float ]} alliances: [{ color_id: int banner_background_id: int banner_icon_id: int kingdoms: [str] e.g. ['k_0', 'k_1'] founder_name_1: str founder_kingdom_1: str level: int experience: int timestamp_member_joined: float id: str e.g. c_0 name: str created_time: float }] wars:[( main_attacker: str e.g..k_0 main_defender: str e.g. k_1 list_attackers: [str] e.g. ['k_0', 'k_3'] list_defenders: [str] e.g. ['k_1', 'k_2'] started_by_king: str started_by_kingdom: str war_type: str id: str e.g. c_0 name: str created_time: float }] plots: [{ plot_type_id: str founder_name: str supporters_ids: [str] e.g. ['u_0', 'u_1'] id_initiator_actor: str e.g. u_0 id_initiator_city: str e.g. c_0 id_initiator_kingdom: str e.g. k_0 id: str e.g. p_0 name: str created_time: float ]} relations: {[ kingdom1_id: str e.g. c_0 kingdom2_id: str e.g. c_1 timestamp_last_war_ended: float id: str e.g. c_0_c_1 created_time: float ]} cultures: [{ color_id: int banner_decor_id: int banner_element_id: int village_origin: str village_origin_color: str race: str e.g. orc skin_citizen_male: str e.g. unit_male_1 skin_citizen_female: str e.g. unit_female_1 skin_warrior: str e.g. unit_warrior_1 list_zone_ids: [int] list_tech_ids: [str] researching_tech: str id: str name: str created_time: float }] </syntaxhighlight><blockquote></blockquote> </div> * * [[Category:Technical Help]] [[Category:World]] [[es:Mapas]]
Summary:
Please note that all contributions to Worldbox Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Worldbox Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width