![]() |
|
|
#26 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
ok now first of all your skillgrp doesn't include the skill id "4137"
if you could send me ur skillname.txt or skillname-e.txt i don't know which file c2 uses anymore then i can find out for you which skill "Hydro Screw" is in C2 |
|
|
|
|
#27 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 177
|
Quote:
take it |
|
|
|
|
|
#28 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
Hm k try the guide again i think it should work, What actually happens if you press the "Hydro Screw" button? nothing? and does it do damage? if it does nothing be sure you did add things to your ai.obj, and changed blue_eye_a : summon_heal to blue_eye_a : summon_hydroscrew
|
|
|
|
|
#29 |
|
Архивный участник
Join Date: Feb 2005
Posts: 177
|
it does nothing at all - all it can do - just stright attack on target with it`s horn
my ai.obj part is the same like yours. |
|
|
|
|
#30 |
|
Архивный участник
Join Date: Mar 2005
Posts: 368
|
My L2NPC prints : Blue_eye_c : Doesn't have parameter DDMagic. Cannot set. But im sure it's there. Whats wrong ?
|
|
|
|
|
#31 | ||
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
Quote:
cause when i use self damage for kai, it just stop moving, but no stats change neither |
||
|
|
|
|
#32 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 177
|
Quote:
|
|
|
|
|
|
#33 |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
hamidouch .. yes it does .... i'll pm you l8r
|
|
|
|
|
#34 |
|
Архивный участник
Join Date: Feb 2005
Posts: 36
|
my -categorydata- skill_pch- -skill_pch2- are work but come error on l2npc
![]() why? [working on C3] |
|
|
|
|
#35 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
you didn't add the summon_hydroscrew class to your ai.obj 4th thing you have to do in my guide...
Quote:
|
|
|
|
|
|
#36 |
|
Архивный участник
Join Date: Feb 2005
Posts: 177
|
Hmm........ today my NPC server got this error again
NPC [blue_eye_b] doesen`t have parameter [DDmagic]. failed to set i am disappointed |
|
|
|
|
#37 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
sure you added summon_hydroscrew function?? sure you changed blue_eye_a : summon_heal - blue_eye_n : summon_heal to blue_eye_a : summon_hydroscrew - blue_eye_n : summon_hydroscrew, and make sure they all are DDMagic and not DDmagic
|
|
|
|
|
#38 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
I got that error too
09/05/2005 11:00:xx.xx8, Can't find summon_hydroscrew class, super class of blue_eye_a class. - I added all your code. I had working Unicorn Merrow - but with another skill to cast and without AI - no problem with your ai .. there is that errors.. |
|
|
|
|
#39 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
I think there must be something that you miss to write here..
maybe there are more code to ai.obj not only class summon_hydroscrew : default_npc and class blue_eye_a : summon_hydroscrew class_end .................................n |
|
|
|
|
#40 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
OK I got it to working:
put this to ai.obj instead of the another code Code:
class blue_eye_a : summon_magicalattack class_end class blue_eye_b : summon_magicalattack class_end class blue_eye_c : summon_magicalattack class_end class blue_eye_d : summon_magicalattack class_end class blue_eye_e : summon_magicalattack class_end class blue_eye_f : summon_magicalattack class_end class blue_eye_g : summon_magicalattack class_end class blue_eye_h : summon_magicalattack class_end class blue_eye_i : summon_magicalattack class_end class blue_eye_j : summon_magicalattack class_end class blue_eye_k : summon_magicalattack class_end class blue_eye_l : summon_magicalattack class_end class blue_eye_m : summon_magicalattack class_end class blue_eye_n : summon_magicalattack class_end This code u must have in ai.obj (I think u have it because its classical C1 mechanic golem AI) Code:
class summon_magicalattack : default_npc parameter_define_begin int DDMagic 1024257 parameter_define_end handler 13 // CREATED variable_begin "myself" "_choiceN" "_code" "_from_choice" variable_end shift_sp 1 push_const xx.xx0000 func_call 14 // func[AddPetDefaultDesire_Follow] shift_sp -1 shift_sp -1 handler_end handler 0 // NO_DESIRE variable_begin "myself" "_choiceN" "_code" "_from_choice" variable_end shift_sp 1 push_const xx.xx0000 func_call 14 // func[AddPetDefaultDesire_Follow] shift_sp -1 shift_sp -1 handler_end handler 32 // MENU_SELECTED variable_begin "ask" "reply" "i0" "c0" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // i0 push_const 192 add push_reg_sp fetch_i push_event // myself push_const 28 add fetch_i // master push_const 2404 add fetch_i // target_index push_const 384 add fetch_i assign shift_sp -1 push_event // i0 push_const 192 add fetch_i push_const 0 less_equal branch_false L2101 L2100 exit_handler L2101 push_event // c0 push_const 272 add push_reg_sp fetch_i shift_sp 1 push_event // i0 push_const 192 add fetch_i func_call 30 // func[GetCreatureFromIndex] shift_sp -1 assign shift_sp -1 push_event // c0 push_const 272 add fetch_i branch_false L2103 L2102 shift_sp 1 push_parameter DDMagic func_call 155 // func[Skill_GetConsumeMP] shift_sp -1 push_event // myself push_const 28 add fetch_i // sm push_const 2400 add fetch_i // mp push_const 352 add fetch_d less push_reg_sp fetch_i branch_false L2104 shift_sp 1 push_parameter DDMagic func_call 154 // func[Skill_GetConsumeHP] shift_sp -1 push_event // myself push_const 28 add fetch_i // sm push_const 2400 add fetch_i // hp push_const 344 add fetch_d less and push_reg_sp fetch_i branch_false L2104 shift_sp 1 push_parameter DDMagic func_call 160 // func[Skill_InReuseDelay] shift_sp -1 push_const 0 equal and L2104 branch_false L2106 L2105 shift_sp 1 push_event // myself push_const 28 add fetch_i // master push_const 2404 add fetch_i // target_id push_const 388 add fetch_i push_parameter DDMagic push_const 0 push_event // reply push_const 104 add fetch_i push_event // ask push_const 100 add fetch_i push_const 1000000 func_call 11 // func[AddUseSkillDesireEx] shift_sp -6 shift_sp -1 L2106 L2103 handler_end class_end |
|
|
|
|
#41 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
..but sometimes I can't see effect of that spell.. must be something about line of sight.. range of sight
|
|
|
|
|
#42 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
that one can be used as well yes
basically i you only need to add a whole new class for soulless which i am busy with now, because he uses 2 diff skills(i got kai the cat working, which i will post later on today) |
|
|
|
|
#43 | |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
Quote:
Code:
parameter_define_begin
int DDMagic 326913
parameter_define_end
|
|
|
|
|
|
#44 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
hmm that is weird.. because in mechanic golem AI is another DDMagic that hydroscrew and its still working without ANY error..
why? why if in AI is spell A, and npcdata have spell B .. its all working without problem |
|
|
|
|
#45 |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
u have in ai DDMAGIC= ....
that will replace default DDmagic from AI |
|
|
|
|
#46 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 177
|
Quote:
|
|
|
|
|
|
#47 |
|
Архивный участник
Join Date: Feb 2005
Posts: 177
|
Trouble with unicorn merrow: on off servers it is a very strong warrior - but it takes up to 90% of gained expirience... Our Unicorn takes almost nothing, players are glad to have instant killing mashine for levelup, but is it SO good? Anyone fixed this?
|
|
|
|
|
#48 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
I agree the damn unicorn is overpowered. Anyone knows how to change the ammount of XP he takes?
|
|
|
|
|
#49 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
change magic attack of the unicorn merrow.... and edit the hydro scre skill a bit
|
|
|
|
|
#50 |
|
Архивный участник
Join Date: Jul 2005
Posts: 108
|
Ok I have big problem and cant find out what the hell is wrong
![]() I have done everything the topics say: ai : class summon_hydroscrew : default_npc ... and all the: class blue_eye_a-n : summon_hydroscrew edited npc data and made sure that: all the blue_eye_a-n have: npc_ai={[blue_eye_a-n];{[DDMagic]=@s_boss_hydro_screw1}} made sure that skilldata had the correct s_boss_hydro_screw* skills skill_pch/pch2 also i also made sure the summon unicorn merrow skill actually summons the blue_eye_a-n categorydata also correct I summon the Unicorn Merrow (lvl 76) just fine and the special skill IS THE DAMN MASTER RECHARGE! How is that possible? plz someone help me! WHAT the hell am I doing wrong? :evil: :evil: |
|
|
|
|