PDA

View Full Version : [Turotial] How to - Items for c5 as Retail


tpuNIsher
04.11.2006, 07:51
Well, this is my current attempt on sharing and helping the community.
This thread discusses on how to get a retail like itemdata ( as stat ).
A lot of us should already know about it, so, this thread is directed to the newcomers and to the people that doesn't know about it.

What you need to understand this thread is knowledge on client editting, understanding client files, a brain and server sided scripting knowledge as well.

Let's start with 1 single item 1st.

Itemname-e:

id name add_name description popup set_ids set_bonus_desc set_extra_id set_extra_desc unk[0] unk[1] special_enchant_amount special_enchant_desc
7880 Steel Sword -1 0 0 0


Above, we can see the name of the item and etc descriptions. That really doesn't help you much if you want to create the item scriptwise(itemdata). So, what can you do to gather the information on how to make it as retail?
You can:
1. research the web and find more info on the item which sucks cos' it's not always that the info is accurate.
OR
2. you can gather the information from the c5 retail client files ;) ( which is the best way )

We will follow the second way in this tutorial. You might have a question about how to do so..
Well, we are getting to that.

First of all, let's make the item serversided just so we have something to work on.

Itemdata:

item_begin weapon 7880 [iron_sword] item_type=weapon slot_bit_type={rhand} armor_type=none etcitem_type=none recipe_id=0 blessed=0 weight=2100 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=2 spiritshot_count=2 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=d crystal_count=139 is_trade=1 is_drop=1 is_destruct=1 physical_damage=49 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=325 reuse_delay=0 mp_consume=0 magical_damage=26 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 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 item_end


Well, you might question about where did i get the weight and other stats from..

Well, take a look at weapongrp.
Weapongrp:

tag id drop_type drop_anim_type drop_radius drop_height UNK_0 drop_meshtex[0] drop_meshtex[1] icon[0] icon[1] icon[2] icon[3] icon[4] icon[5] icon[6] icon[7] icon[8] durability weight material crystallizable projectile_? body_part handness mt_pair_cntm mt_pair_m[0] mt_pair_m[1] mt_pair_cntt mt_pair_t[0] mt_pair_t[1] mt_pair_t[2] item_sound_cnt item_sound[0] item_sound[1] item_sound[2] item_sound[3] drop_sound equip_sound effect random_damage patt matt weapon_type crystal_type critical hit_mod avoid_mod shield_pdef shield_rate speed mp_consume SS_count SPS_count curvature UNK_2 is_hero UNK_3 effA effB junk1A[0] junk1A[1] junk1A[2] junk1A[3] junk1A[4] junk1B[0] junk1B[1] junk1B[2] junk1B[3] junk1B[4] rangeA rangeB junk2A[0] junk2A[1] junk2A[2] junk2A[3] junk2A[4] junk2A[5] junk2B[0] junk2B[1] junk2B[2] junk2B[3] junk2B[4] junk2B[5]
0 7880 1 1 7 10 0 LineageWeapons.iron_sword_m00_wp LineageWeaponsTex.iron_sword_t00_wp icon.weapon_iron_sword_i00 95 2100 51 1 0 14 2 1 LineageWeapons.iron_sword_m00_wp 1 LineageWeaponsTex.iron_sword_t00_wp 4 ItemSound.sword_great_7 ItemSound.sword_great_4 ItemSound.sword_big_9 ItemSound.public_sword_shing_8 ItemSound.itemdrop_sword ItemSound.itemequip_sword 10 49 26 1 1 8 0 0 0 0 325 0 2 2 1000 0 -1 0 0.00000000 0.00000000 0.00000000 1.00000000 1.00000000 LineageWeapons.rangesample 1.60000002 0.80000001 0.80000001 xx.xx000000 0.00000000 0.00000000


What are the things that will help us get a retail like itemdata for that item?


tag id drop_meshtex[0] durability weight material crystallizable projectile_? body_part handness random_damage patt matt weapon_type crystal_type critical hit_mod avoid_mod shield_pdef shield_rate speed mp_consume SS_count SPS_count curvature UNK_2 is_hero
0 7880 LineageWeapons.iron_sword_m00_wp 95 2100 51 1 0 14 2 10 49 26 1 1 8 0 0 0 0 325 0 2 2 1000 0 -1

There, you have the: id as "7880", name as "", "durability=95", "weight=2100" "material_type=steel",
"is_destruct=1", "item_type=weapon", "slot_bit_type={rhand}", "physical_damage=49", "magical_damage=26", "weapon_type=sword", "crystal_type=d", "critical=8", "hit_modify=0", "avoid_modify=0", "shield_defense=0", "shield_defense_rate=0", "attack_speed=325", "mp_consume=0", "soulshot_count=2", "spiritshot_count=2", "can_equip_hero=-1".

How to understand which are the types? Well, compare with other items for example, small_sword. Look up the id in weapongrp (1) and check the types for material / bodypart etc. If you compare enough, you can make your own type list for each and you can get a itemdata as good as retail without having to look up the web and just from your own client files ;)


Well then, that was short wasn't it? :p
Now, go finish the rest and post them :p
My 1st version of some of the items is attached to this post. Please post if you have something to contribute or if you have questions regarding understanding the thread -.-

[i]Вложения из исходного сообщения (сами файлы в копии отсутствуют):
itemdata_c5.rar — 4976 байт

tpuNIsher
04.11.2006, 07:59
However, despite having all that info, some things can't be done.
For example:
itemname-e:

7857 Clan Oath Aketon Full body armor. -1 7857,7850,7858,7859 Increases P. Def. + 5% and Casting Spd. by 5%. 0 0 6 When a set item is enchanted by 6 or higher, P. Def. and Weight Gauge will increase.


There you see the mention of "When a set item is enchanted by 6 or higher"

You cannot do that in c4 scripts. That variable needed in c5 files probably is:
"item_skill_enchanted_six=[s_blablbla]"
One more ncsoft insanity if you ask me >.> They should've just kept it at enchanted 4 >.>

HF
04.11.2006, 08:14
good tutorial ;)

Where you get default_price value?

tpuNIsher
04.11.2006, 08:18
Well that's the only thing you have to check with other similar grade items, in the itemdata. So, i didn't mention it :P
Or, you can check up info sites for retail, most has the price listed ok :p

mcrabben7
04.11.2006, 08:43
Nice little tutorial for newbies. Good job tpuNisher!

Remolus
04.11.2006, 13:50
good and now teach the users what they are able to add :)

and that the clan lvlup itemnames changed in c5 ^^

nnightmare
05.11.2006, 00:57
pretty nice.. another extremly uber impossible thing is zariche lol ^^

mcrabben7
05.11.2006, 01:36
http://i135.photobucket.com/albums/q122/mcrabben7/L2EP/th_Shot00049.jpg (http://i135.photobucket.com/albums/q122/mcrabben7/L2EP/Shot00049.jpg)

Sure it is possible ^^ At least to get it to load and glow and everything basic. Making the Zariche world rules, however, is a tough job :P

item_begin weapon 8190 [demonic_sword_zariche] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none recipe_id=0 blessed=0 weight=1840 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=666 item_skill=[s_demon_sword_zariche] critical_attack_skill=[none] attack_skill=[s_opt_demon_sword_zariche] magic_skill=[none] item_skill_enchanted_four=[none] material_type=fine_steel crystal_type=none crystal_count=0 is_trade=0 is_drop=0 is_destruct=0 physical_damage=361 random_damage=50 weapon_type=sword can_penetrate=1 critical=1005 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=40 damage_range={0;0;44;120} attack_speed=325 reuse_delay=0 mp_consume=0 magical_damage=137 durability=0 damaged=0 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 item_end

Credit to Nevyn for itemdata kthx :P

tpuNIsher
05.11.2006, 15:53
Typos suck >.<

palace
05.11.2006, 17:07
Hi Mr tpuNIsher

I compare the retail itemdata with itemdata_c5.rar (4,9 KB, 35 views) and see that lines 7839 - 7849 but with another name are repeated. The question is I replace the lines or no.

Thanks

Nevyn
05.11.2006, 17:13
http://i135.photobucket.com/albums/q122/mcrabben7/L2EP/th_Shot00049.jpg (http://i135.photobucket.com/albums/q122/mcrabben7/L2EP/Shot00049.jpg)

Sure it is possible ^^ At least to get it to load and glow and everything basic. Making the Zariche world rules, however, is a tough job :P

item_begin weapon 8190 [demonic_sword_zariche] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none recipe_id=0 blessed=0 weight=1840 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=666 item_skill=[s_demon_sword_zariche] critical_attack_skill=[none] attack_skill=[s_opt_demon_sword_zariche] magic_skill=[none] item_skill_enchanted_four=[none] material_type=fine_steel crystal_type=none crystal_count=0 is_trade=0 is_drop=0 is_destruct=0 physical_damage=361 random_damage=50 weapon_type=sword can_penetrate=1 critical=1005 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=40 damage_range={0;0;44;120} attack_speed=325 reuse_delay=0 mp_consume=0 magical_damage=137 durability=0 damaged=0 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 item_end

Credit to Nevyn for itemdata kthx :P

zomg you're not as selfish as i am. I would just have said i wrote it myself :P

palace
05.11.2006, 18:20
Hi Mr tpuNIsher

I compare the retail itemdata with itemdata_c5.rar (4,9 KB, 35 views) and see that lines 7839 - 7849 but with another name are repeated. The question is I replace the lines or no.

Thanks

Remolus
07.11.2006, 02:05
http://i135.photobucket.com/albums/q122/mcrabben7/L2EP/th_Shot00049.jpg (http://i135.photobucket.com/albums/q122/mcrabben7/L2EP/Shot00049.jpg)

Sure it is possible ^^ At least to get it to load and glow and everything basic. Making the Zariche world rules, however, is a tough job :P

item_begin weapon 8190 [demonic_sword_zariche] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none recipe_id=0 blessed=0 weight=1840 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=666 item_skill=[s_demon_sword_zariche] critical_attack_skill=[none] attack_skill=[s_opt_demon_sword_zariche] magic_skill=[none] item_skill_enchanted_four=[none] material_type=fine_steel crystal_type=none crystal_count=0 is_trade=0 is_drop=0 is_destruct=0 physical_damage=361 random_damage=50 weapon_type=sword can_penetrate=1 critical=1005 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=40 damage_range={0;0;44;120} attack_speed=325 reuse_delay=0 mp_consume=0 magical_damage=137 durability=0 damaged=0 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 item_end

Credit to Nevyn for itemdata kthx :P

You & Nevyn are the only ones who can use the sword -.-
and somehow that screen turns me in rage :(

tpuNIsher
07.11.2006, 08:38
Hi Mr tpuNIsher

I compare the retail itemdata with itemdata_c5.rar (4,9 KB, 35 views) and see that lines 7839 - 7849 but with another name are repeated. The question is I replace the lines or no.

Thanks

in c4 they were "for taiwan" shiz..

in c5 i guess they made it event items.
well ya i guess, replace >.>
The reason to why u don't see c4 retail itemdata for those items is because i had deleted them beforehand.

ZeniMax
10.11.2006, 02:24
NIce tutorial thanks!

Remolus
10.11.2006, 02:41
:P he finished nearly all items but just gave me the item_pch :( xD

nnightmare
10.11.2006, 05:33
well any ideas on the textures of zariche?

Remolus
10.11.2006, 05:40
The sword works :) so no more ideas about the sword himself. just about the effect ^^