Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 08.08.2005, 04:24   #1
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default privates @ some npcs..

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
How to make that class empty without that Privates error?
Or can anybody post ai.obj with your monsters? its about the new ricenseo, trives, kurikups...etc

thanks
rodier is offline  
Old 08.08.2005, 06:11   #2
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

put npc_ai karik
demon is offline  
Old 08.08.2005, 09:56   #3
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

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
RmzVoid is offline  
Old 11.08.2005, 20:42   #4
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

ok thanks I try it
rodier is offline  
Old 11.08.2005, 21:08   #5
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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?
rodier is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:43.