The ScriptFile is a special type of text file used to declare several information, you can think of this format as the JSON of Metin2.
The format is a simple Dictionary with the ability to contain Group and Lists.
Each key and value is divided by a TAB (/t), do note that the "4 spaces" does not work in replacement of a tab.
Comments are done with either * or //
Example:
ScriptType Test
Usage:
Key(TAB)Value1(TAB or SPACE)Value2(TAB or SPACE)
Commas
commas are used to let the client parse multiple values into one.
Example:
TestKey(TAB)TestNode TestNode2
In this case TestNode and TestNode2 would be readed as two different values.
TestKey(TAB)"TestNode TestNode2"
In this case TestNode and TestNode2 would be part of the same value.
Groups
Usage:
Group (name) {}
The groups are containers of keyvalue and are divided by the {} the key group MUST EXIST or the group is not considered valid
Example:
Group Foo { Test "1" Group2 33 }
List
Usage:
List (name) {}
Example:
List Foo { 32, 55, 49, "bar" }
Used in
- This specification is use for the following formats:
- .msm (Metin2 Script Mesh)
- .txt (various text files, see below)
- .mss (Metin2 Script Sound)
- .prt (Object Property)
- .mse (Metin2 Script Effect)
- .msf (Metin2 Script ?)
- .msa (Metin2 Script animation)
- .sub (Subimage)
- .msenv (Metin2 Script Environment)
Text files (root/locale)
- atlasinfo.txt
- npclist.txt
- item_list.txt
- item_scale.txt
- loading_tip_list.txt
- grkblk.txt
- monster_card.txt
- monster_card_achiev.txt
- partymatch_info.txt
- race_height.txt
- skilltable.txt
- user_situation.txt
- locale/map/point txt files
- locale/shungmahee tower
- guildbuildinglist.txt
- itemdesc.txt
- locale_string.txt
- locale_quest.txt
- locale_quiz.txt
- locale_interface.txt
- locale_game.txt
- loading_tip_vnum.txt
- pet_skill.txt
- shop_deco.txt
- skilldesc.txt
- web_linked_banner.txt
Maps
Report Doc