![]() |
|
|
#1 |
|
Архивный участник
Join Date: Mar 2006
Posts: 53
|
Hello,
Im so sorry for asking, but i cant find post about it. I made new npc in npcdata, npc pos in npcpos, but when i run summon npc i got big rabbit Anyone can help me and say how i can see good npc ![]() Thank you Sorry for my english |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Feb 2006
Posts: 87
|
You need to modify the client side files to add your NPC to client. The big rabbit is what shows when theres no mesh and texture for the npc.
|
|
|
|
|
#3 | |
|
Архивный участник
Join Date: Mar 2006
Posts: 160
|
Quote:
|
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2006
Posts: 53
|
Thank you guys
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2006
Posts: 53
|
WHere is a problem, when i added this in npcgrp i got ALL npc rabbits ;D
Code:
npc_begin npc_id=10290 npc_name=[] npc_speed=1 class_name=[LineageNPC.a_traderB_FHuman] mesh_name=[LineageNPCs.a_traderB_FHuman_m00] texture_name={[LineageNPCsTex.a_traderB_FHuman_m00_t00_b00];[LineageNPCsTex.a_traderB_FHuman_m00_t00_b01];[LineageNPCsTex.a_traderB_FHuman_m00_t00_f];[LineageNPCsTex.a_traderB_FHuman_m00_t00_h]} texture_name_second={[]} collision_radius=N/A collision_height=N/A attack_sound1={[ItemSound.fist_1];[ItemSound.fist_2];[ItemSound.fist_3]} defense_sound1={[ItemSound.armor_leather_1];[ItemSound.armor_leather_2];[ItemSound.armor_leather_5];[ItemSound.armor_leather_7];[ItemSound.armor_leather_8]} damage_sound={[ChrSound.FNpc_Lady_Dmg_1];[ChrSound.FNpc_Lady_Dmg_2];[ChrSound.FNpc_Lady_Dmg_3]} sound_vol=250 sound_radius=50 sound_random=70 attack_effect=[LineageEffect.p_u002_a] quest_be=0 level_limit={0;0} class_limit={} silhouette={[]} property_list={0} social=1 c3attr=0 npc_end
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Sep 2005
Posts: 41
|
using same id like in server ?
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Mar 2006
Posts: 53
|
Yes, i fix it, now trying understand about html
cant find galladuci ask=-9 and reply=1 where is it....
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
I think you should look in AI.obj
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Mar 2006
Posts: 53
|
yes i found it, and now, creating new class, but i have little problem, dont know how to delete item...
Code:
class merchant_for_token_enchant : default_npc
{
parameter:
string fnHi = "enchant_token001.htm"; //001
string fnNotEnoughCrystal= "enchant_token100.htm";
handler:
EventHandler TALKED(talker)
{
ShowPage(talker, fnHi);
}
EventHandler MENU_SELECTED(talker, ask ,reply, i0, i1, i2, i3)
{
if(ask == -999)
{
i3 = 0;
select(reply)
{
case 1 :
{
if (OwnItemCount(talker,@token_enchant_wep_d) >= 1){
i0 = 1 ;
i1 = @scrl_of_ench_wp_d ;
}
else i3 = 1;
break;
}
case 2 :
{
if (OwnItemCount(talker,@token_enchant_wep_c) >= 1 ){
i0 = 1 ;
i1 = @scrl_of_ench_wp_c ;
}
else i3 = 1;
break;
}
case 3 :
{
if (OwnItemCount(talker,@token_enchant_wep_b) >= 1 ){
i0 = 1 ;
i1 = @scrl_of_ench_wp_b ;
}
else i3 = 1;
break;
}
case 4 :
{
if (OwnItemCount(talker,@token_enchant_wep_a) >= 1 ){
i0 = 1 ;
i1 = @scrl_of_ench_wp_a ;
}
else i3 = 1;
break;
}
case 5 :
{
if (OwnItemCount(talker,@token_enchant_arm_a) >= 1 ){
i0 = 1 ;
i1 = @scrl_of_ench_am_a ;
}
else i3 = 1;
break;
}
case 6 :
{
if (OwnItemCount(talker,@token_enchant_arm_b) >= 1 ){
i0 = 1 ;
i1 = @scrl_of_ench_am_b ;
}
else i3 = 1;
break;
}
case 7 :
{
if (OwnItemCount(talker,@token_enchant_arm_c) >= 1 ){
i0 = 1 ;
i1 = @scrl_of_ench_am_c ;
}
else i3 = 1;
break;
}
case 8 :
{
if (OwnItemCount(talker,@token_enchant_arm_d) >= 1 ){
i0 = 1 ;
i1 = @scrl_of_ench_am_d ;
}
else i3 = 1;
break;
}
// enchantai i tokenus keitimas
case 9 :
{
if (OwnItemCount(talker,@scrl_of_ench_wp_d) >= 1 ){
i0 = 1 ;
i1 = @token_enchant_wep_d ;
}
else i3 = 1;
break;
}
case 10 :
{
if (OwnItemCount(talker,@scrl_of_ench_wp_c) >= 1 ){
i0 = 1 ;
i1 = @token_enchant_wep_c ;
}
else i3 = 1;
break;
}
case 11 :
{
if (OwnItemCount(talker,@scrl_of_ench_wp_b) >= 1 ){
i0 = 1 ;
i1 = @token_enchant_wep_b ;
}
else i3 = 1;
break;
}
case 12 :
{
if (OwnItemCount(talker,@scrl_of_ench_wp_a) >= 1 ){
i0 = 1 ;
i1 = @token_enchant_wep_a ;
}
else i3 = 1;
break;
}
case 13 :
{
if (OwnItemCount(talker,@scrl_of_ench_am_d) >= 1 ){
i0 = 1 ;
i1 = @token_enchant_arm_d ;
}
else i3 = 1;
break;
}
case 14 :
{
if (OwnItemCount(talker,@scrl_of_ench_am_c) >= 1 ){
i0 = 1 ;
i1 = @token_enchant_arm_c ;
}
else i3 = 1;
break;
}
case 15 :
{
if (OwnItemCount(talker,@scrl_of_ench_am_b) >= 1 ){
i0 = 1 ;
i1 = @token_enchant_arm_b ;
}
else i3 = 1;
break;
}
case 16 :
{
if (OwnItemCount(talker,@scrl_of_ench_am_a) >= 1 ){
i0 = 1 ;
i1 = @token_enchant_arm_a ;
}
else i3 = 1;
break;
}
}
}
}
}
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Oct 2005
Posts: 115
|
use search here is a nice topic on AI and their commands..
func_call 80 // func[DeleteItem1] |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Mar 2006
Posts: 53
|
U dont understand me, i know all commands and i can wrote AI, but i CANT ENCODE it...
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Aug 2005
Posts: 428
|
Encode... AI... LOL?
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|