PDA

View Full Version : New Skills and Spell Effects


Sakumi
22.04.2005, 17:35
Hey all,

I recently made a new buff for the Elven Elders; to help balance them :D. Everything works great server side, client side i can see the icons, text, and correct character animation; but no sound/spell effect. I edited all skill*.txt files in the system folder, as you normaly would when adding a c2 skill. Here is my line from skillsoundgrp.txt:

skillsound_begin skill_id = 7050 skill_level = 1 spelleffect_sound = [SkillSound.might_cast] spelleffect_sound_vol = 250 spelleffect_sound_rad = 50 shoteffect_sound = [SkillSound.might_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 = [chrsound.m_hmagician_sub] mmagic_magic = [chrsound.m_hmagician_notarget] fmagic_cast = [chrsound.f_hmagician_sub] fmagic_magic = [chrsound.f_hmagician_notarget] melf_cast = [chrsound.m_elf_sub] melf_magic = [chrsound.m_elf_notarget] felf_cast = [chrsound.f_elf_sub] felf_magic = [chrsound.f_elf_notarget] mdarkelf_cast = [chrsound.m_darkelf_sub] mdarkelf_magic = [chrsound.m_darkelf_notarget] fdarkelf_cast = [chrsound.f_darkelf_sub] fdarkelf_magic = [chrsound.f_darkelf_notarget] 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

skillgrp and skillname-e were also update accordingly.

Any way to add the same spell effect as Might? Also any way to get the sound working properly?

Thanx in advance all you forumers,

Sakumi ~ L2Utopia Administrator

Sakumi
23.04.2005, 22:09
hate to do this.. =/

bump?

:roll:

nbpib
23.04.2005, 23:24
looking for it too

Riane
24.04.2005, 01:07
no clue so dont flame me, id just take the data from might and change the ID, but i guess thats what u done
ever tryed with another sound?

hamidouch
24.04.2005, 01:53
wont work without most of files like lineageeffeft.u, core.u,editor.u, and all the main ones from c3 i think
simply adding skill with the correct c3 id isnt enough :/
i dont think we lack something server side ...
its new packets or crapp like that ( they modified many s grade weapons names, many npc skill many anim effects etc ....causing crashes/glich in c3 just by modifying class files)

Riane
24.04.2005, 03:26
she (?) is adding a custom skill, and just having problems with the sound
im just not sure if you knew it when you wrote your post, cant see a connection

Michelle
24.04.2005, 07:55
Its so strange that u failed in making it Sakumi. I made a new spell for SpellSinger ( uhm, Lighting xxx - dont really remember >.< ), and just change in .txt like u, and it work perfectly :) ( sound, animation, effect ... ). May i be lucky, huh :) ? However, i will check ur work again to find an wrong :D

nbpib
24.04.2005, 09:12
i got the same problem with a warlord attack and with the mortal blow/deadly blow with fist (i want assassin with claws on my server)
with the warlord skill, the charac move but there is only a part of the sounds and there is no light effect (you know the yellow blue red light all over the char)
for the assassin+fist, they just dont do anything, the claw light up but the char dont move and he seem to be lock in a position until we move him (i think there is a problem between animid= 3 and the fist because all the animid ive seen for the fist is 9)

eviljolly
24.04.2005, 12:39
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
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
[s_super_manaregen] = 268040
skill_pch2.txt
268040 -1 0 14 0 0 29 45 4 4 2 1 -12345

Client side
skillname-e.txt
skill_begin skill_id = 6666 skill_level = 1 name = [Super Mana Regen] desc = [Increases mana regeneration speed.] skill_end
skillgrp.txt
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
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

flakka
24.04.2005, 18:03
Maybe you three could work together on it so everyone is one the same page? :P

Sakumi
24.04.2005, 18:12
Me and EvilJolly communcate ~14hours a day. We're currently working on the same project ><

As for that dude, im scared of anyone who would want fist weapons on an assasin....

flakka
24.04.2005, 18:37
ROFL! Did I say three? Oh yeah I did.

Nevermind me. Carry on, hahaha.

Oh, and good luck guys! :)

Sakumi
24.04.2005, 18:39
hahaha :)

Michelle
25.04.2005, 13:48
No idea... Sorry i cant help, cuz i cant find anything wrong in ur work....