PDA

View Full Version : [HELP]Adding skills and items


Arshen
18.03.2006, 09:46
Can someone just write which files do i have to change if i want to add new skills in and which files do i need to change if i want to add new items in .
i know that there are more then 1 but dunno which one.
Thx for ur responce^^

m4rk
18.03.2006, 09:56
skills:

SERVER SIDE:
skilldata.txt
skill_pch.txt (use the pch maker on l2script)
skill_pch2.txt (use the pch maker on l2script)
skill_pch3.txt (this one is blank I think)

CLIENT SIDE:
skillname-e.dat
skillgrp.dat


items

SERVERSIDE
itemdata.txt
item_pch.txt (use the pch maker on l2script)
item_pch2.txt

CLIENTSIDE
itemname-e.dat (to put a name to the item, be sure to put it before the 'closer' item)
armorgrp.dat if it's an armor
weapongrp.dat if it's a weapon
etcitemgrp.dat if it's a normal object
etc...

che
18.03.2006, 09:56
For Items:
itemdata.txt
item_pch.txt

For skills:
skilldata.txt
skill_pch1.txt
skill_pch2.txt

Arshen
18.03.2006, 10:03
Great,thanks

Altahlus
13.09.2006, 19:57
I've added my new skill to both skilldata.txt and skill_pch.txt and skill_pch2.txt When i try to skillset it ingame i get Not registrated.
Im quite sure i added it to them all. Like this:

In skilldata:

skill_begin skill_name=[s_gm_freeze8] skill_id=17015 level = 1 operate_type = A2 magic_level = 70 effect = {{p_block_controll};{i_save_position}} is_magic = 0 mp_consume2 = 0 cast_range = 600 effective_range = 1100 skill_hit_time = 0.0 skill_cool_time = 0.0 skill_hit_cancel_time = 0.0 reuse_delay = 0 activate_rate = 0 lv_bonus_rate = 1 basic_property = wit abnormal_time = 28800 abnormal_lv = 1 abnormal_type = attr_derangement effect_point = -100 target_type = target affect_scope = single affect_limit = {0;0} next_action = none ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight} skill_end
skill_begin skill_name=[s_gm_freeze24] skill_id=17016 level = 1 operate_type = A2 magic_level = 70 effect = {{p_block_controll};{i_save_position}} is_magic = 0 mp_consume2 = 0 cast_range = 600 effective_range = 1100 skill_hit_time = 0.0 skill_cool_time = 0.0 skill_hit_cancel_time = 0.0 reuse_delay = 0 activate_rate = 0 lv_bonus_rate = 1 basic_property = wit abnormal_time = 86400 abnormal_lv = 1 abnormal_type = attr_derangement effect_point = -100 target_type = target affect_scope = single affect_limit = {0;0} next_action = none ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight} skill_end

In skill_pch.txt

[s_gm_freeze8] = 4355586
[s_gm_freeze24] = 4355587

In skill_pch2.txt:

4355586 400 0 48 1 495 29 25 3 4 2 1 -12345
4355587 400 0 48 1 495 29 25 3 4 2 1 -12345

Why does this not work?

kin
16.09.2006, 09:49
I am trying to add Mana_Potion. There is mana in Itemdata.txt and item_pch.txt. But when I try to use it, "mana potion" (ID = 728 ) disapears but nothing happens. In old C3 I see mana_potion in skilldata, Skill_php and Skill_php2 as well. Added manually with unique IDs. Restarted the server. Nothing happends!
What is wrong?