Jump to content

Property

The Property files are a special type of Script file that defines informations about the objects that are contained inside a Map.
A property file MUST start with YPRT (and next line), this is the magic check that a property file does.
The next line of the property MUST BE the CRC32 of the object file name (which will be used to build a CRC32 map that will get loaded by AreaData files.
The remaining lines are parsed as a Script file, there are different lines.
Between all the Property files that metin2 can load, there are two options (apart from the magic and the crc32) that are always present in any property file.

Common options
Name Description Possible values
PropertyName Defines the name of this property A string
PropertyType Defines the type of this property A string that must contain a valid property type

The property type also affects the extension that the file MUST have, each property supports extra options (except for None property).

Here is a list of all supported properties:

Supported properties
Name Extension Description
None .pr This seems to be an empty property without anything extra.
Tree .ptr A tree object that will be rendered with SpeedTree.
Building .prb An object found in maps.
Effect .pte ?
Ambience .pra ?
DungeonBlock .prd Blocks used to rapresent the area of a dungeon.

 

Building

building options
Name Description Possible values
buildingfile Defines the GR2 of the model that will be loaded for the building. A string
shadowflag We suppose that this flag was intended to be used for disabling shadows in objects, and despite the game contains reference of it, it doesn't seem to affect the building in any way. A boolean (1 = true, 0 or undefined = false)

 

Dungeon block

dungeon block options
Name Description Possible values
dungenblockfile Defines the GR2 of the model that will be loaded as a block. A string

  Report Doc

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.