• Новые темы в этом разделе публикуются автоматически при добавлении файла в менеджер ресурсов.
    Ручное создание новых тем невозможно.
Иконка ресурса

Мануал Itemdata.txt - формат и описание параметров

kick

Предвестник
Administrator
За веру и верность форуму
Отец-основатель
Сообщения
7 051
Розыгрыши
21
Решения
1
Репутация
5 926
Реакции
6 622
Баллы
2 688
Формат:
item_begin weapon 1 [small_sword] item_type=weapon slot_bit_type={rhand} armor_type=none etcitem_type=none recipe_id=0 blessed=0 weight=1600 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=1 spiritshot_count=1 reduced_soulshot={} reduced_spiritshot={} reduced_mp_consume={} immediate_effect=1 price=0 default_price=768 item_skill=[none] critical_attack_skill=[none] attack_skill=[none] magic_skill=[none] item_skill_enchanted_four=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=8 random_damage=10 weapon_type=sword can_penetrate=0 critical=8 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=40 damage_range={0;0;40;120} attack_speed=379 reuse_delay=0 mp_consume=0 magical_damage=6 durability=1 damaged=50 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 enchant_enable=0 can_equip_sex=-1 can_equip_race={} can_equip_change_class=-1 can_equip_class={} can_equip_agit=-1 can_equip_castle=-1 can_equip_castle_num={} can_equip_clan_leader=-1 can_equip_clan_level=-1 can_equip_hero=-1 can_equip_nobless=-1 can_equip_chaotic=-1 mana=0 item_end
Описание параметров:
  • item_begin - Обязательный начинающий тэг
  • weapon - The announcement goods type, altogether has the weapon/armor/asset/etcitem/questitem these kinds (тип айтема. Возможные типы: etcitem, armor, weapon, accessary, questitem, shadowitem)
  • 1 - The deciding item number, the item number for the only number, cannot duplicate by chance with other goods (уникальный ID вещи)
  • [small_sword]?--The hypothesis goods name, may from subscribe, but the writing may not and other goods names is redundant
  • item_type=weapon - The definition goods type is weapon/armor/asset/etcitem/questitem, must be same with the front announcement
  • slot_bit_type={rhand} - The goods equipment type, altogether has back (behind - cloak) /chest (body) /feet (foot) /gloves (glove) /head () /legs (leg) /lhand (left to grasp) /lrhand (double to grasp) /rhand (right to grasp) /neck (item ?) /underwear (underwear) /rfinger; Lfinger (double refers to) /rear; Lear (double ear) /onepiece (whole body) /none (non- Wu Fangchu)
  • armor_type=none - Guards against has the type, has heavy (heavy armor)/light (light armor) /magicc (law gown) /none (must to guard against has)
  • etcitem_type=none - Other goods types, have arrow (arrow) /castle_guard (to defend a city mercenary soldier) /material (raw material) /pet_collar (pet ??, flute) /potion (liquid medicines) /recipe (make reel) /scroll (reel) /none (non- other types)
  • blessed=0 - Prayed for heavenly blessing (the present use)
  • weight=1600 - Cargo weight
  • default_action=action_equip - Including selects time two goods to suppose the movement in advance, action_equip (equipment) /action_map_open (opens map) /action_skill_maintain (skill manufacture) /action_skill_reduce (skill effect) /action_soulshot (soul ball) /action_spiritshot (black magic soul ball) /action_none (not to have movement)
  • consume_type=consume_type_normal - Depositing type consume_type_asset (property - only has gold coin) /consume_type_normal (general, cannot pile folds) /consume_type_stackable (to be ordinary, may pile folds)
  • initial_count=1 - Initial computation? ? ? Unclear, all all is 1, has the arrow the value is only 20
  • maximum_count=1 - Biggest computation? ? ? Unclear, some 1/20 /,200 three kinds, but looked like 20 are the duty goods, more than 200 for copper cash duty goods
  • soulshot_count=0 - The soul ball use quantity, 0 represents cannot use
  • spiritshot_count=0 - The black magic soul but the use quantity, 0 represents cannot use
  • immediate_effect=1 - Becomes effective immediately, 0 otherwise/1 are, the hypothesis is 0 is the reel, the pet ??, needs Shi Fa, the period of revolution.
  • price=0 - The price, completely all is 0, has [ adena ] the gold coin is only 1
  • default_price=768 - Not tax selling price
  • item_skill=[none] - The goods use skill effect, for example the liquid medicines, this effect must correspond with skilldata.txt, none is the non- skill effect
  • critical_attack_skill=[none] - When uses this weapon attack, the storm strikes when attaches the skill effect, for example is cursed suddenly the bayonet, similar ? soul stone effect
  • material_type=steel - This goods material quality, for example the wooden arrow is wood
  • crystal_type=none - Crystallization type
  • crystal_count=0 - Crystallization quantity
  • is_trade=1 - Whether or not the transaction 0 otherwise/1 may
  • is_drop=1 - Whether or not discards 0 otherwise/1 to be possible
  • is_destruct=1 - May destroy 0 otherwise/1 to be possible (at present to be many for cannot destroy)
  • physical_damage=8 - Physical striking power
  • random_damage=10 - The stochastic striking power 0, 1, 5, 10, 204 kinds, the blunt instrument are many is 20, the sword, the model calligraphy, the stick, the spear is 10, the bow, the dagger, ?? are 5, ?? promises XX commemorates the qin is 1
  • weapon_type=sword - Weapon type, sword, blunt instrument, law stick, model calligraphy, ??, none (non- weapon).. And so on
  • can_penetrate=0 - may penetrate, has a pair of knife, the long handle spear halberd hypothesis is only 1, other all are 0
  • critical=8 - The fatal probability revises, ?? promises XXX commemorates the qin is 1, ??, the blunt instrument is 4, the sword, the long handle spear halberd, the double knife are 8, the bow, the dagger are 12
  • hit_modify=0 - The hit revises, the dagger, the long handle spear halberd, the bow are -3.75, the blunt instrument, ?? is -4.75, ?? promises XX commemorates the qin is -25, the novice weapon, other types are 0
  • avoid_modify=0 - Avoids the revision, the shield -8, other are 0
  • dual_fhit_rate=0 - Two strike weapon hit revises, ?? is 50, the double knife probability has 31/34/36/39/40~42/44/45/47/48/50/70
  • shield_defense=0 - Shield standard files defensive power
  • shield_defense_rate=0 - The shield standard files probability, the shield ?? is 20, other are 0
  • attack_range=40 - May carry on the attack distance, general weapon 40, spear halberd 80, bow 500
  • effective_range=48 - Actually may attack the distance, the general weapon 48, the spear halberd 96, the bow 600, take the bow as an example, marches forward to 500 may start with the object distance to attack, if attacks time the goal escapes, escapes is away from has not surpassed 600 o'clock, still is the attack to be effective.
  • damage_range={0;0;40;120} - Is the damage scope, how unclear actually should define
  • attack_speed=379 - Attack speed, long bow 227, pet weapon 277, short bow 293, spear halberd, double knife, ??, double technique stick 325, common single walking stick, sword, blunt instrument, model calligraphy 379, dagger 433
  • reuse_delay=0 - The attack must reply the time, the long bow 1,500, the short bow 1,100, the trident, the police guard spear, the minority NPC special-purpose weapon are 2
Use for skill cast reuse. Example "CP Potion" skill have 0 reuse, but item have reuse_delay=1000 for reuse only each 1 seconds

  • mp_consume=0 - When attack needs MP
  • magical_damage=6 - Black magic striking power
  • durability=95 - Durableness.. At present should useless
  • damaged=0 - Whether has damaged.. At present should useless
  • physical_defense=0 - Physical defensive power
  • magical_defense=0 - Black magic defensive power
  • mp_bonus=0 - When equipment increases the MP value (law gown to add MP the effect)
  • category={} - At present useless
  • enchanted=0 - Whether strengthened, at present all is 0
  • html=[item_default.htm] - This goods link to what htm files (manufacture reel use), default_action must be action_skill_maintain
  • equip_pet={0} - May equip again on what all sorts of kind of pets body
  • equip_pet={@ALL_PET}?equip_pet={@hatchling_of_wind;@hatchling_of_star;@hatchling_of_twilight}?equip_pet={@pet_wolf_a}?equip_pet={0} (Cannot equip)
  • magic_weapon=0 - Whether is the black magic weapon 0 otherwise/1 is
Cronicles 4 Update:

  • enchant_enable=0
  • can_equip_sex=-1
  • can_equip_race={}
can_equip_race={@RACE_HUMAN;@RACE_ELF;@RACE_DARK_ELF;@RACE_ORC;@RACE_DWARF}
Описание:
список рас, которые смогут одеть (equip) этот item. Список рас взят из manual_pch.txt

  • can_equip_change_class=-1
  • can_equip_class={}
  • can_equip_agit=-1
  • can_equip_castle=-1
  • can_equip_castle_num={}
  • can_equip_clan_leader=-1
  • can_equip_clan_level=-1
  • can_equip_hero=-1
  • can_equip_nobless=-1
  • can_equip_chaotic=-1
  • mana=0
  • item_end - обязательный завершающий тэг
 

Gracia Final Update (CT2.3):
use_condition={} - Use item condition such {uc_requiredlevel;XX}, transoformation status {uc_transmode_exclude;{tt_flying}}, pets category {uc_category;{@all_wolf_group;@sin_eater_group}}
equip_condition={} - Equip condition such Race {ec_race;{0;1;2;3;4}, Category of pets {ec_category;{@all_wolf_group}, Hero status {ec_hero;1}, Castle owners {ec_castle;1};{ec_castle_num;{6}} or {ec_castle;1};{ec_clan_leader;1}. With this option was replaced next parameters
  • can_equip_change_class=-1
  • can_equip_class={}
  • can_equip_agit=-1
  • can_equip_castle=-1
  • can_equip_castle_num={}
  • can_equip_clan_leader=-1
  • can_equip_clan_level=-1
  • can_equip_hero=-1
  • can_equip_nobless=-1
  • can_equip_chaotic=-1

Freya Update (CT2.5):
is_private_store=0 - Whether or not allow to sell item in the private shop 0 otherwise/1 to be possible
is_olympiad_can_use=1 - Whether or not allow to use item in the Olympiad stadium
 
Последнее редактирование:
damage_range = {0; 0; 40; 120}
Подскажите, что значат первые 2 ноля? 40 это минимальный, 120 максимальный рэндж для получения урона
 
damage_range = {0; 0; 40; 120}
Подскажите, что значат первые 2 ноля? 40 это минимальный, 120 максимальный рэндж для получения урона
40 и 120 это радиус и угол
attack_range связан с этим же
 
damage_range = {0; 0; 40; 120}
Подскажите, что значат первые 2 ноля? 40 это минимальный, 120 максимальный рэндж для получения урона
1) 0 - Предположительно сдвиг по оси направления скила вперед/назад (пока что не проверил).
2) 0 - Направления скилла в градусах, отсчет начинается с вашего heading, например, если вы хотите чтобы скилл бил сзади, а не спереди, ставите 180 и разворачиваете его. Данный скилл есть у Антараса, удар хвостом. Принимает как минусовые параметры так и плюсовые. Минус - поворот в право, плюс - поворот в лево.

Остальные зависят от метода собра таргета.

Если fun (конусообразная форма):
3) Угол поражения скилла.
4) Радиус поражения скилла.

Если square (квадрат), square_pb (квадрат исключающий себя из списка собранных таргетов):
3) Ширина области поражения (влево+вправо).
4) Длинна области поражения, вперед от кастующего.

Поправьте если где-то ошибся.

PS: затупил, думал про скиллы идет речь.
 
Может кто подсказать как работает dual_fhit_rate и за что отвечает can_move
 
используется только для парных оружий (кастеты, дуалы)
можно предположить, что это:

1) Либо какой то модификатор крита
2) Либо модификатор точности (hit используется как параметр точности)

методом тыка можно потестить
 
используется только для парных оружий (кастеты, дуалы)
можно предположить, что это:

1) Либо какой то модификатор крита
2) Либо модификатор точности (hit используется как параметр точности)

методом тыка можно потестить
Мне бы точную формулу, тестить это все прикольно, но за столько времени существования данного параметра, почти уверен - знатоки уже расковыряли весь код этих механизмов и знают что да как
 
а может кто-то объяснить поподробнее про разные значения для keep_type?
 
а может кто-то объяснить поподробнее про разные значения для keep_type?
Это битовая маска
Частный ВХ = 2 ^ 0 = 1
Клановый ВХ = 2 ^ 1 = 2
Почта = 2 ^ 2 = 4
Фрахт = 2 ^ 3 = 8

Просто чекаешь через битовое И флаг. Вот пример:
keep_type & 1 == 1 означает, что предмет можно положить в ВХ и т.д.

Это для ХФ актуально. Что там выше - хз.
 
Фрахт это вот это витаминная передача в аккаунте?
 
используется только для парных оружий (кастеты, дуалы)
можно предположить, что это:

1) Либо какой то модификатор крита
2) Либо модификатор точности (hit используется как параметр точности)

методом тыка можно потестить
скорее fail hit rate - шанс промаха для одного из двуручных орудий, считается скорее всего независимо для каждого каждый удар.
 
скорее fail hit rate - шанс промаха для одного из двуручных орудий, считается скорее всего независимо для каждого каждый удар.
Нет, это разделение урона по оружию, в парных пушках. Т.е например значение 60 означает, что первым меч нанесет 60% от общего урона, а второй 40%. Как правило дуалы делаются из разных по силе мечей, вот это как раз и регулирует этот момент.
 
Склад замка же, почта регулируется через is_trade
Хм. Кстати да, может быть. Я просто не помню, есть ли у замка свой ВХ или там транслируется КВХ овнера?

Склад замка же, почта регулируется через is_trade
Да, ты прав) Monokini2 Обрати внимание на обновление инфы.
Код:
enum WareHouseClass
WHC_NONE         = 0
WHC_NORMAL       = 1
WHC_PLEDGE       = 2
WHC_CASTLE       = 4
WHC_ETC          = 8
 
Назад
Сверху Снизу