View Single Post
Old 19.07.2005, 05:59   #1
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default My story about adding Raid Boss...

Just for testing my possibility to add anything to server I decide to add Giant Tiger. I got npcdata of this monster as is.

find location of this monster on off server. add strings to npcpos:
Code:
territory_begin	[xypy_t22_24_006]	{{76031;211572;-3648;-3649};{77484;210161;-3648;-3649};{79282;211659;-3648;-3649};{78081;212433;-3648;-3649}}	territory_end
npcmaker_begin	[xypy_t22_24_006]	initial_spawn=all	maximum_npc=6
npc_begin	[giant_tiger]	pos={123794;153472;-3568;-3569}	total=1	respawn=5hour respawn_rand=2hour	Privates=[white_horse:white_horse:1:1min;white_horse:white_horse:1:1min;white_horse:white_horse:1:1min;white_horse:white_horse:1:1min;black_leo:black_leo:1:1min] npc_end
npcmaker_end
I dont know where are from all peoples get names such as 'xypy_t22_24_006', and I just remove all monsters from this territory and add my giant tiger with his Privates to it. Npcdata for white_horse and black_leo I also have.

Cut from my Npcdata:
Code:
npc_begin	warrior	10205	[giant_tiger] ....cutted.... 	collision_height=87	category={}	clan={}	clan_help_range=1300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[giant_tiger]}	corpse_time=7	no_sleep_mode=0	npc_end
npc_begin	warrior	10206	[black_leo] ....cutted....	collision_height=43	category={}	clan={@door_clan;@aden_siege_clan}	clan_help_range=1200	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[black_leo]}	corpse_time=7	no_sleep_mode=0	npc_end
npc_begin	warrior	10207	[white_horse] ....cutted....	collision_height=30	category={}	clan={@door_clan;@aden_siege_clan}	clan_help_range=1200	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[white_horse]}	corpse_time=7	no_sleep_mode=0	npc_end
appropriate ai.obj classes:
Code:
class giant_tiger : party_leader_ag_physicalspecial
class_end

class white_horse : party_private
class_end

class black_leo : party_private
class_end
is is just copied and renamed Dread Avenger Kraven ai.
Looks all fine.

Start server, goes to location with Giant Tiger.... And I see ONLY Giant Tiger, without White Horse and Black Leo...
NPC server write one error after loading all NPCs:
invalid npc name [white_horse] at file [NPC.cpp], line [4462]
RmzVoid is offline