![]() |
|
|
#1 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
when npcpos loading Im getting error about few npcs..
npc ... doesn't have parameter [Privates]. Failed to set. I tried to make it like this.. but that dont help Code:
class lost_cat_the_cat_a : warrior_passive parameter_define_begin string Privates "orc:party_private:1:20sec" parameter_define_end handler 13 // CREATED variable_begin "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // myself push_const 28 add fetch_i // sm push_const 2400 add fetch_i // weight_point push_const 1624 add push_reg_sp fetch_i push_const 10 assign shift_sp -1 shift_sp 1 push_parameter Privates func_call 165 // func[CreatePrivates] shift_sp -1 shift_sp -1 call_super handler_end class_end Or can anybody post ai.obj with your monsters? its about the new ricenseo, trives, kurikups...etc thanks |
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
put npc_ai karik
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Apr 2005
Posts: 357
|
karik sux
you need look in ai.obj for "class party_leader" and find proper class for mob. class lost_cat_the_cat_a : party_leader class_end you can also look to dread_avenger_kraven ai |
|
|
|
|
#4 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
ok thanks I try it
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
hmm when I set party_leader no more privates error .. but if I not delete from npcdata ai section casting s_ hold magic 6 .. I get error with can't set holdmagic parameter..
Please can anybody here post full working ricenseo and trives npcdata +ai.obj data? I want full working npc casting hold magic ;-( .. even fi I paste from clean C1 npcdata .. im getting in C3 this error..I think c3 .exe need more code about hold magic to that class in ai.obj? |
|
|
|
|