Craft The World

Craft The World

Không đủ lượt đánh giá
Mod Craft The World - Game Editor Complete Guide
Bởi nandur93
Everything about Craft The World Game Editor for Mods.
Update every week.
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Reasons For Mods
As you know, the Craft Wars mod has been officially released and has a considerable influence on the appearance and gameplay of the game.
I personally like this game, I want to try something new when I have played it for hundreds of hours. Like a typical look with real conditions and with a real culture so playing games will feel more exciting.
How to access Craft The World Game Editor
There are 2 ways to access or launch CTWGE:
  1. Through STEAM
    By logging into STEAM then go to the Library section and click Craft the World. When a pop up appears, click "Launch Game Editor".

  2. Through the steam game folder
    "F:\SteamLibrary\steamapps\common\CraftTheWorld\Editor.exe" where "F:..." is the root of my drive letter folder to install my steam game. Maybe each computer will have a different root folder, so all you have to do is find the folder "...\SteamLibrary\...".
But it is recommended that you launch it through STEAM.
Main Windows And Menu
This is the main window that will open after we launch it.
[pictures]
There are a number of menus and submenus that I will explain in detail and maybe there are also some parts that I don't know. Therefore, I will openly accept anyone who wants to be a contributor to this guide.
Tools Menu
In the tools menu, there are 7 submenus consisting of:
  1. Items Editor...
    To add, remove, clone and change item properties.

  2. Rooms Editor...
    This can also be called a map editor.
    To create an ancient room or treasure room guarded by monsters and zombies.

  3. TechTree Editor...
    An editor for the technology tree.
    This section regulates the running of the gameplay from basic technology to advanced technology.
    ------------------------------------------------------------
  4. Animation / Sound / Tech / Other Editor ...
    Is a collection editor that regulates animations, sounds, technologies, removed items and initial equipments
    ------------------------------------------------------------

    The menus below will open an xml file, it is recommended to install Notepad ++ to make it easier to modify.

  5. Edit mod info xml...
    To edit mod information to the users.
    It can also be modified through the main menu Mods > Properties...

  6. Edit creatures.xml...
    This menu is to change the appearance of our dwarves skin.

  7. Edit templates.xml...
    To change all game structures based on planets like humidity, fauna, creatures and monsters.
Notes:
Be careful when changing xml files.
There is no gui editor yet at some points, so it must be changed manually.
Mods Menu
In the mods menu, there are 3 main submenus and 1 or more additional submenus:
  1. New...
    To make new mods.

  2. Properties...
    To change information for users such as icon, preview image, name, description, author and version.

  3. Upload...
    To upload your mods to the Workshop.
    Make sure you agree with the workshop terms of service.
  • -----------------------
  • [ Game ] I suggest not changing this section or first backing up the original folder if you want to try changing this section. So always check the mods menu when you are modifying. Make sure it's your mods that you are modifying.
  • -----------------------
  • Your mods listed here
Localization Menu
This section is for adding game language translations to local languages if they don't already exist.
In the Localization menu section, there are 2 submenus:
  1. Import (UTF-8)...
    Import CSV files such as items, technologies, others, beastiary, tutorials, quests and ui.

  2. Export...
    Export CSV files such as items, technologies, others, beastiary, tutorials, quests and ui.

About CSV Files:
In computing, a comma-separated values file is a delimited text file that uses a comma to separate values. A CSV file stores tabular data in plain text. Each line of the file is a data record. Each record consists of one or more fields, separated by commas. Can be mod using normal Notepad or Notepad++
Help Menu
In the Help menu, there is 1 submenu:
  1. Show Item Templates...
    Will open the folder location at F:\SteamLibrary\steamapps\common\CraftTheWorld\Doc\Templates
    Where F is my SteamLibrary drive letter.

    In the folder there are 3 other folders like:
    1. Blocks
      Contains references such as block_template, bridge_template, column_template, ladder_template and roof_template.

    2. Equpments
      Contains references such as axle template, backpack_template, big_gun_template, boot_template, bow_template, cuirass_template, gun_template, helmet_template, picke_template, shield_template, spear_template, staff_template, sword_template and weapon_template.

    3. Skins
      Contains references such as female_dwarf_body_template and male_dwarf_body_template.

    Note: Everything in this folder can be modified using Photoshop.
Login Status: online Menu
This is just an indicator of whether you use an internet connection or not when making a game mod.
Or if you launch it via the folder "F:\SteamLibrary\steamapps\common\CraftTheWorld\Editor.exe", it will be detected offline even if you are online.
Items Editor
  1. File menu
    • Save (Ctrl+S)
      To save mods results.
    • Load (Ctrl+O)
      To load mods results.

  2. Filter column
    Do filtering or search here.
    For example, "wood", "axe" etc, then items will be automatically filtered.

  3. New Item button
    To add "New Item" then fill with an id item name (It is recommended to use the lowercase without spaces and use the underscore for separators). For example "bowls_ceramic", "flags_indo" etc. Then click OK to continue.
    Note: Make sure when creating a new item, click on the tab you want to add the item first.

  4. Tabs category
    • Mining
      All mining stuffs.
    • Halfstuff
      Half of finished stuff that can be combined with other stuff to produce new advanced items.
    • Equip
      Items that can be equipped by dwarves.
    • Block
      Items that can be placed in the shelter.
    • Furniture
      Items that can add comfort in the shelter.
    • Food
      Items that can be eaten by dwarves.
Animation/Sound/Tech/Other Editor (Collection Editor)
  1. Animations
    All animations are stored here and make sure the file has the extension .json (spine file)

  2. Sounds
    All sounds are stored here and make sure the file has the extension .ogg

  3. Technologies
    All technologies are stored here. If in [ Game ] mode, there will be a list of technologies from the game, and if in mod mode, the technology list will be empty or only filled with your technology list, but at TechTree, your tech list will be combined with the default technology list from the game.

  4. Removed Items
    All things that do not want to appear in the game.

  5. Initial Equipments
    All the initial things you want to get when new dwarf populations increase. For example Totems.
Animations
Animation is the cutest thing in the game, so here you will set all the animations on your mod.

To access Animations, click on the "Tools Menu > Animation/Sound/Tech/Other Editor..."
Then click on the "Animations" tab
  1. Spines: New button
    Give it a unique id name then press enter to apply. If you want to change it, right-click then select the rename menu, delete or revert changes to restore to the last saved condition.

  2. animation:
    Your current seletcted animation file name.

  3. Open... buton
    Load and setup your own animation here and make sure the extension is .json (spine file).

  4. scale slider
    Scale set based on the grid, this will show how big the size will be when it appears in the game.

  5. mirror checklist
    Display images in flips.

  6. preview: zoom slider
    Set the preview scale to see smaller image or image details. This is different from scale.

  7. show grid checklist
    Show the grid on or off.

  8. animations:
    List of animations from .json file.

  9. skins:
    List of skin/texture/theme you set for different event or world.

  10. events:
    Trigger when animation must begin.

  11. slots:
    List of your image textures that converted by .json file

  12. Save button
    For saving the changes at Collection Editor.

  13. Close button
    For close the Collection Editor.
Sounds
It doesn't feel good if the game is without sound.
Here all your voice mods are set.

To access Sounds, click on the "Tools Menu > Animation/Sound/Tech/Other Editor..."
Then click on the "Sounds" tab
  1. Sounds: New button
    Give it a unique id name then press enter to apply. If you want to change it, right-click then select the rename menu, delete or revert changes to restore to the last saved condition.

  2. sound:
    Name of selected sound.

  3. sound files(uses randomly):
    Load and setup your own sound here and make sure the extension is .ogg.

  4. Remove button
    To remove current sound in column, not sound in list. To remove sound in list, right-click the list at left side then select the delete menu.

  5. Add button
    To add sound column, not sound in list. To add sound in list, click New button on top of left list.

  6. distance slider
    The range of the sound with a gradual decrease volume. A value of 0.5 approximately sets the range from the center to the edge of screen.

  7. volume slider
    Sets the volume. 1.00 is 100%.

  8. max sources count [-][+]button
    Maximun number of sound sources.

  9. loop checklist
    Trigger when animation must begin.

  10. delay checklist
    Sets delay before playback.

  11. stop other sources checklist
    At the beginning of playback, all other sources of this sound fade out.

  12. ambient checklist
    Sets sound as ambient.

  13. Play button
    Play all the sounds in the column at random if more than one.

  14. Save button
    For saving the changes at Collection Editor.

  15. Close button
    For close the Collection Editor.
Technologies
Technology is the level of making basic technology in order to make other technologies.

To access Technologies, click on the "Tools Menu > Animation/Sound/Tech/Other Editor..."
Then click on the "Technologies" tab.
  1. Technologies: New button
    Create your own technology here.
    For example if you want to make a smartphone technology, then you have to make basic technology such as making the technology of the cell phone combined with advanced operating system technology. and before you can make cellphone technology, you need to be able to make screen, battery, cable and network technology.
    To make cables, you need some materials such as copper ore and coal ore, then made with smithy tools.

  2. key column
    A unique name given to a technology and it is recommended to use the lowercase and separate using the underscore. The key name cannot be duplicated.

  3. title column
    The name of the technology that we provide so that we can easily understand and this name will appear on TechTree.

  4. Save button
    For saving the changes at Collection Editor.

  5. Close button
    For close the Collection Editor.
Removed Items
To access Removed Items, click on the "Tools Menu > Animation/Sound/Tech/Other Editor..."
Then click on the "Removed Items" tab
  1. Remove Items: New button
    Add items that do not want to appear in the game.

  2. Icon
    The icon of the resources.

  3. item
    Unique id name of the resources.

  4. title
    Name of the resources.

  5. remove... button
    To remove current item and make it appear again in game.

  6. Save button
    For saving the changes at Collection Editor.

  7. Close button
    For close the Collection Editor.
Initial Equipments
To access Initial Equipments, click on the "Tools Menu > Animation/Sound/Tech/Other Editor..."
Then click on the "Initial Equipments" tab
  1. Initial Equipments: New button
    Add items that will be obtained when entering a certain level.

  2. Icon
    The icon of the resources.

  3. item
    Unique id name of the resources.

  4. remove... button
    To remove current item and make it appear again in game.

  5. slot
    I dont know yet.

  6. count
    The total number of items to be obtained.

  7. levels
    Determine what level the item is obtained.

  8. include planets
    Which planets meet the criteria for obtaining these items.

  9. exclude planets
    Planet that can't get the item.

  10. recipe
    Whether the item has a recipe or not.

  11. count
    I dont know yet.

  12. Save button
    For saving the changes at Collection Editor.

  13. Close button
    For close the Collection Editor.
Change Logs
First Release [15-03-2019]
  • Basic Guide Added
  • Menu Overview
  • Items Editor Overview
  • Animation/Sound/Tech/Other Editor (Collection Editor) Overview
    1. Animations
    2. Sounds
    3. Technologies
    4. Removed Items
    5. Initial Equipments
Author Notes
I hope this guide is useful for those of you who want to start moding this game.
Please comment, feedback, rate, favorite and share. Don't forget to bookmark this guide so that it can be accessed easily in the future.
If something needs to be added, please write in the comment session below or ask me to make you a contributor so that this guide can contain as much information as possible.
Sorry for the bad English, translated by Google Translate.
Thank You - nandur93
6 bình luận
Alpha-Echo 35 24 Thg12, 2023 @ 3:15pm 
What program will generate or edit the animation template and json file? Or at least what is used commonly?
thecapitankaty 4 Thg06, 2023 @ 4:21pm 
my mods dont work when i make then note i did enablr them but i dont see 'em
revelati00 17 Thg06, 2021 @ 4:13am 
"Package" options are relevant/useful?
revelati00 17 Thg06, 2021 @ 4:12am 
Editor seems to be bugged. Clicking "Mod properties" or "upload" gives no effect. How to resovle this?
Joe78man 17 Thg04, 2021 @ 3:35pm 
Good guide. I'm trying to change the spawn rate of cave goblins, do you know how to do this? I currently have a cave with 24 of them and they spawn very rapidly so it's like fighting 30 instead. Impossible
Apokoliptic 8 Thg01, 2020 @ 5:43am 
Good guide, I managed to get most things to work by fumbling around blind and testing it in-game, I believe "slot" is just an internal sorting thing, anything that's not slot 0 can show up in store/inventory unless you check the box to remove it from those menus (i've gone as high as 9 and it didn't seem to make a difference, putting too many things in slot 1 for example seemed to crash my game on accessing the inventory after world generation about 70-90% of the time). Also might want to make a note that some things cannot be edited at all in the game editor and must be done by editing the XML file (like tower/catapult range, and tesla tower damage must be done by hand in the XML file).