Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Adding custom items into game (https://postpacific.loc-online.com/showthread.php?t=1670)

CJAK215 31.08.2005 03:09

Adding custom items into game
 
Weapongrp.dat
Code:

item_begin        object_id=8071        object_name=[]        body_part={lrhand}        animation=3        drop_type=1        drop_anim_type=1        drop_radius=6        drop_height=1        projectile=[none]        curvature=1000        drop_mesh={[LineageWeapons.angel_slayer_m00_wp];[LineageWeapons.angel_slayer_m00_wp]}        drop_texture={[LineageWeaponsTex.angel_slayer_t00_wp];[LineageWeaponsTex.angel_slayer_t00_wp]}        icon={[icon.weapon_dual_sword_i00];[icon.weapon_angel_slayer_i00];[icon.weapon_angel_slayer_i00]}        mesh={[LineageWeapons.angel_slayer_m00_wp];[LineageWeapons.angel_slayer_m00_wp]}        texture={[LineageWeaponsTex.angel_slayer_t00_wp];[LineageWeaponsTex.angel_slayer_t00_wp]}        crystallizable=1        item_sound={[ItemSound.public_sword_shing_8];[ItemSound.sword_great_4];[ItemSound.sword_mid_2];[ItemSound.public_sword_shing_4]}        drop_sound=[ItemSound.itemdrop_dualsword]        equip_sound=[ItemSound.itemequip_dualsword]        weight=0        soulshot_count=1        spiritshot_count=1        material_type=bone        crystal_type=s        physical_damage=50000        random_damage=999        weapon_type=dual        critical=999        hit_modify=0        avoid_modify=0        shield_defense=0        shield_defense_rate=0        attack_speed=425        mp_consume=0        magical_damage=50000        durability=9999        effect_c={[LineageEffect.c_u004]}        effect_c_s={[LineageEffect.c_u004]}        c3_attr1=0        c3_attr2=0.00        c3_attr3=0.00        c3_attr4=0.00        c3_attr5=0.00        range_s={[]}        c3_attr6=0.00        c3_attr7=1.20        c3_attr8=1.20        c3_attr9=1.00        c3_attr10=1.00        range2_s={[LineageWeapons.rangesample];[LineageWeapons.rangesample]}        range2_arg={1.40;0.80;0.80;1.40;0.80;0.80;xx.xx;0.00;0.00;xx.xx;0.00;0.00}        item_end
Itemname-e.dat
Code:

item_name_begin        id=8071        name=[Dual Angel Slayers]        additionalname=[GM Weapon]        popup=-1        description=[]        item_name_end
Itemdata
Code:

item_begin        weapon        8071        [GM_Dual_Angel_Slayer]        item_type=weapon        slot_bit_type={lrhand}        armor_type=none        etcitem_type=none        blessed=0        weight=2580        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=1        spiritshot_count=1        immediate_effect=1        price=0        default_price=283100000        item_skill=[none]        critical_attack_skill=[none]        material_type=Blood_steel        crystal_type=s        crystal_count=3846        is_trade=1        is_drop=1        is_destruct=1        physical_damage=50000        random_damage=999        weapon_type=dual        can_penetrate=1        critical=999        hit_modify=0        avoid_modify=0        dual_fhit_rate=50        shield_defense=0        shield_defense_rate=0        attack_range=40        effective_range=48        damage_range={0;0;44;120}        attack_speed=1000        reuse_delay=0        mp_consume=0        magical_damage=999        durability=95        damaged=0        physical_defense=0        magical_defense=0        mp_bonus=0        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        item_end
what am i doing wrong my item shows up in the game but displays noitemname

OnlyOne 31.08.2005 09:05

object_name=[] :lol: add your object name maybie?

toolpunk 31.08.2005 09:13

dun think so.
i had this prob 1ce.
so i just did the same mod again. then it worked.
u better just copy and paste lines and edit em instead of writin new stuff.
it messes things up sumtimes if u rnt careful enough...


All times are GMT. The time now is 16:03.