View Single Post
Old 04.05.2007, 13:48   #2
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by Ma4o View Post
[rus]
2HF
Я же тебе писал про это (про окно редактора).
ТОлько зачем писать ини, ведь ты можешь добавить редактор к себе (не универсальный)
[/rus]
I write for all, but not for one man
Universal tool - great tool, because you can do all what you want. This module can use for >10 type of scripts. No good?


Who want to do config - short tutorial.
1. open config (example skilldata)
Code:
skill_begin	skill_name=[s_power_strike11]	/* [Power Strike] */	skill_id=3	level=1	operate_type=A1	magic_level=3	effect={{i_p_attack_over_hit;25;0}}	operate_cond={{equip_weapon;{sword;blunt}}}	is_magic=0	mp_consume2=10	cast_range=40	effective_range=400	skill_hit_time=1.08	skill_cool_time=0.72	skill_hit_cancel_time=0.5	reuse_delay=13	attribute=attr_none	effect_point=-52	target_type=enemy	affect_scope=single	affect_limit={0;0}	next_action=attack	ride_state={@ride_none}	skill_end
2. split it to params
Code:
skill_begin
skill_name=[s_power_strike11]
/* [Power Strike] */
skill_id=3
level=1
operate_type=A1
magic_level=3
...
3. create config with definitions on each params. Use common commands:

[level] <- column name. Same what will be as param name (example 'level='). If param no have name (like npc name) leave w/o name - []
width=80 <- column size
list=off <- if column have list for selection.
block=off <- if this param cant edit in tool
tooltip=Npc Level <- tooltip in tool for this column
defvalue=1 <- default value if you create new line in tool
< <- list_start
citizen <- if list=on, here must be definition all items
warrior
guard
merchant
> <- list_end


4. save config
HF is offline