View Single Post
Old 24.04.2005, 12:39   #9
eviljolly
Архивный участник
 
Join Date: Apr 2005
Posts: 5
Default

I'm working on the same project as Sakumi. I also tried to make a test skill and had the same problem. Character animation plays fine, but no spell effect or sound. Here is all of my code. Are spell sounds/effects assigned statically by skill number or something?
Server side
skilldata.txt
Code:
skill_begin	skill_name = [s_super_manaregen]	/* [???] */	skill_id = 6666	level = 1	operate_type = A2	magic_level = 52	effect = {{p_mp_regen;{all};50;diff}}	is_magic = 1	mp_consume1 = 10	mp_consume2 = 4	cast_range = 400	effective_range = 600	skill_hit_time = 4	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 6	activate_rate = -1	lv_bonus_rate = 0	basic_property = none	abnormal_time = 1200	abnormal_lv = 3	abnormal_type = none	attribute = attr_none	effect_point = 495	target_type = target	affect_scope = single	next_action = none	skill_end
skill_pch.txt
Code:
[s_super_manaregen]	=	268040
skill_pch2.txt
Code:
268040 -1 0 14 0 0 29 45 4 4 2 1 -12345
Client side
skillname-e.txt
Code:
skill_begin	skill_id = 6666	skill_level = 1	name = [Super Mana Regen]	desc = [Increases mana regeneration speed.]	skill_end
skillgrp.txt
Code:
skill_begin	skill_id = 6666	skill_level = 1	icon = [icon.skill1047]	operate_type = 1	is_magic = 1	mp_consume = 14	hp_consume = 0	consume_item_id = 0	consume_item_count = 0	cast_range = -1	skill_time = 4	reuse_delay = 6	abnormal_time = 1200	abnormal_id = 1	hit_time = 4	animation = [D]	cast_style = 1	bar_level_main = 1	bar_level_sub_max = 1	skill_end
skillsoundgrp.txt
Code:
skillsound_begin	skill_id = 6666	skill_level = 1	spelleffect_sound = [SkillSound.regeneration_cast]	spelleffect_sound_vol = 250	spelleffect_sound_rad = 50	shoteffect_sound = [SkillSound.regeneration_shot]	shoteffect_sound_vol = 250	shoteffect_sound_rad = 100	expeffect_sound = [none]	expeffect_sound_vol = 0	expeffect_sound_rad = 0	mfighter_cast = [none]	mfighter_magic = [none]	ffighter_cast = [none]	ffighter_magic = [none]	mmagic_cast = [none]	mmagic_magic = [none]	fmagic_cast = [none]	fmagic_magic = [none]	melf_cast = [chrsound.m_elf_white]	melf_magic = [chrsound.m_elf_notarget]	felf_cast = [chrsound.f_elf_white]	felf_magic = [chrsound.f_elf_notarget]	mdarkelf_cast = [none]	mdarkelf_magic = [none]	fdarkelf_cast = [none]	fdarkelf_magic = [none]	mdwarf_cast = [none]	mdwarf_magic = [none]	fdwarf_cast = [none]	fdwarf_magic = [none]	morc_cast = [none]	morc_magic = [none]	forc_cast = [none]	forc_magic = [none]	mshaman_cast = [none]	mshaman_magic = [none]	fshaman_cast = [none]	fshaman_magic = [none]	cast_volume = 250	cast_rad = 50	skillsound_end
eviljolly is offline