|
You last visited: Today at 02:13
Advertisement
i need NPC type
Discussion on i need NPC type within the CO2 Private Server forum part of the Conquer Online 2 category.
05/02/2009, 05:32
|
#1
|
elite*gold: 0
Join Date: Jan 2009
Posts: 425
Received Thanks: 424
|
i need NPC type
i wanna Npc type i want make in my server
like santa npc and Christmas tree somthing like that npcs
|
|
|
05/02/2009, 06:00
|
#2
|
elite*gold: 0
Join Date: Oct 2005
Posts: 295
Received Thanks: 342
|
Look in \ini\npc.ini on the client, open it in notepad. You will see tones of entries for NPCs, like this:
[NpcType256]
Name=SantaClaus
SimpleObjID=256
StandByMotion=999256100
BlazeMotion=999256101
RestMotion=999256102
Effect=none
ASB=5
ADB=6
FixDir=0
multiply the NpcType number in the ini header by 10, in this case it would be 2560. Then add 0-7 to that number for the direction you want the NPC to face. That gives you the NPC type number, in this case Santa, also the function number for a normal NPC is 2.
|
|
|
05/02/2009, 06:02
|
#3
|
elite*gold: 0
Join Date: Jan 2009
Posts: 425
Received Thanks: 424
|
Thanks Dude i`ll test it later
Edite: can u give me chris tree number cuz i can`t get it
|
|
|
05/02/2009, 07:04
|
#4
|
elite*gold: 0
Join Date: Oct 2005
Posts: 295
Received Thanks: 342
|
it's in npc.ini
[NpcType838]
Name=ChristmasTree
SimpleObjID=9970
StandByMotion=0999997100
BlazeMotion=0999997190
RestMotion=0999997101
Effect=none
ASB=5
ADB=6
FixDir=0
So the type is 8380
|
|
|
05/02/2009, 11:04
|
#5
|
elite*gold: 0
Join Date: Sep 2007
Posts: 370
Received Thanks: 117
|
THANKS ALL!
Where can see graphic NPC? I need make npc like QONQUER free item its a nice big monster structure NPC ^^
|
|
|
05/02/2009, 14:02
|
#6
|
elite*gold: 0
Join Date: Oct 2008
Posts: 708
Received Thanks: 46
|
loft ?
|
|
|
05/02/2009, 15:10
|
#7
|
elite*gold: 0
Join Date: Mar 2008
Posts: 418
Received Thanks: 49
|
Quote:
Originally Posted by mejo33
THANKS ALL!
Where can see graphic NPC? I need make npc like QONQUER free item its a nice big monster structure NPC ^^
|
Lol Qonquer is best private server.And qo admin is written 100 safe code and unique.Maybe him ask for free items npc.
|
|
|
05/02/2009, 23:23
|
#8
|
elite*gold: 0
Join Date: Oct 2005
Posts: 295
Received Thanks: 342
|
The type number for that pumpkin head NPC is 5837 (facing forward)
The script for the NPC is probably no use to you as it is my own server script code, however it is readable and may be converted I guess. Is it true that lotf's NPCs are hard coded??
Code:
//By: Frankie[DM]
@interop limit
@security high
npcAvatar(6);
switch(option)
{
case -1:
{
if ( level()<70 || val("GOTFREEITEMS")==1)
{
npcText("You're too low level or you have already claimed free items :)");
break;
}
npcText("I can see you're new around here, i guess you need some decent items to get going, ");
npcText("Well since your level 70+ i dont mind throwing some free items your way, ");
npcText("They will be soulbound (Free) Tagged items and cannot be sold/traded/dropped.");
npcText("If your trying to drop your items and click OK they will be discarded for good");
npcOption(0,"I need some free items!");
npcOption(-1, "Nevermind, Im not greedy");
break;
}
case 0:
{
if(invSize()>32)
{
npcText("You dont have 7 slots free in your bag, please lose some items!");
break;
}
if(job()>9 && job()<16)
{
atcommand("@freeitem WarCoronet 7");
atcommand("@freeitem PlatinaNecklace 7");
atcommand("@freeitem PearlRing 7");
atcommand("@freeitem RageArmor 7");
atcommand("@freeitem SnakeskinBoots 7");
atcommand("@freeitem BronzeClub 7 2");
atcommand("@freeitem SharkSword 7 2");
}
else
if(job()>19 && job()<26)
{
atcommand("@freeitem GoldHelmet 7");
atcommand("@freeitem PlatinaNecklace 7");
atcommand("@freeitem PearlRing 7");
atcommand("@freeitem LightArmor 7");
atcommand("@freeitem SnakeskinBoots 7");
atcommand("@freeitem BronzeClub 7 2");
atcommand("@freeitem WolfShield 9");
}
else
if(job()>39 && job()<46)
{
atcommand("@freeitem HeartofOcean 7");
atcommand("@freeitem PlatinaNecklace 7");
atcommand("@freeitem PearlRing 7");
atcommand("@freeitem ApeCoat 7");
atcommand("@freeitem SnakeskinBoots 7");
atcommand("@freeitem GooseBow 7 2");
}
else
if(job()>49 && job()<56)
{
atcommand("@freeitem BloodVeil 7");
atcommand("@freeitem PlatinaNecklace 7");
atcommand("@freeitem PearlRing 7");
atcommand("@freeitem TigerVest 7");
atcommand("@freeitem SnakeskinBoots 7");
atcommand("@freeitem RainKatana 7 2");
atcommand("@freeitem RainKatana 7 2");
}
else
if(job()>99)
{
atcommand("@freeitem SharkCap 7");
atcommand("@freeitem AmbergrisBag 7");
atcommand("@freeitem BoneBracelet 7");
atcommand("@freeitem CraneVestment 7");
atcommand("@freeitem SnakeskinBoots 7");
atcommand("@freeitem GreatBacksword 7 2");
}
else
{
npcText("WTH?? Your job type is not standard, please report to a GM!");
break;
}
npcText("There you go, check in your bag for your free stuff!");
setval("GOTFREEITEMS",1);
}
}
npcShow();
|
|
|
05/03/2009, 17:18
|
#9
|
elite*gold: 0
Join Date: Sep 2007
Posts: 370
Received Thanks: 117
|
Quote:
Originally Posted by Qonquer
The type number for that pumpkin head NPC is 5837 (facing forward)
The script for the NPC is probably no use to you as it is my own server script code, however it is readable and may be converted I guess. Is it true that lotf's NPCs are hard coded??
Code:
//By: Frankie[DM]
@interop limit
@security high
npcAvatar(6);
switch(option)
{
case -1:
{
if ( level()<70 || val("GOTFREEITEMS")==1)
{
npcText("You're too low level or you have already claimed free items :)");
break;
}
npcText("I can see you're new around here, i guess you need some decent items to get going, ");
npcText("Well since your level 70+ i dont mind throwing some free items your way, ");
npcText("They will be soulbound (Free) Tagged items and cannot be sold/traded/dropped.");
npcText("If your trying to drop your items and click OK they will be discarded for good");
npcOption(0,"I need some free items!");
npcOption(-1, "Nevermind, Im not greedy");
break;
}
case 0:
{
if(invSize()>32)
{
npcText("You dont have 7 slots free in your bag, please lose some items!");
break;
}
if(job()>9 && job()<16)
{
atcommand("@freeitem WarCoronet 7");
atcommand("@freeitem PlatinaNecklace 7");
atcommand("@freeitem PearlRing 7");
atcommand("@freeitem RageArmor 7");
atcommand("@freeitem SnakeskinBoots 7");
atcommand("@freeitem BronzeClub 7 2");
atcommand("@freeitem SharkSword 7 2");
}
else
if(job()>19 && job()<26)
{
atcommand("@freeitem GoldHelmet 7");
atcommand("@freeitem PlatinaNecklace 7");
atcommand("@freeitem PearlRing 7");
atcommand("@freeitem LightArmor 7");
atcommand("@freeitem SnakeskinBoots 7");
atcommand("@freeitem BronzeClub 7 2");
atcommand("@freeitem WolfShield 9");
}
else
if(job()>39 && job()<46)
{
atcommand("@freeitem HeartofOcean 7");
atcommand("@freeitem PlatinaNecklace 7");
atcommand("@freeitem PearlRing 7");
atcommand("@freeitem ApeCoat 7");
atcommand("@freeitem SnakeskinBoots 7");
atcommand("@freeitem GooseBow 7 2");
}
else
if(job()>49 && job()<56)
{
atcommand("@freeitem BloodVeil 7");
atcommand("@freeitem PlatinaNecklace 7");
atcommand("@freeitem PearlRing 7");
atcommand("@freeitem TigerVest 7");
atcommand("@freeitem SnakeskinBoots 7");
atcommand("@freeitem RainKatana 7 2");
atcommand("@freeitem RainKatana 7 2");
}
else
if(job()>99)
{
atcommand("@freeitem SharkCap 7");
atcommand("@freeitem AmbergrisBag 7");
atcommand("@freeitem BoneBracelet 7");
atcommand("@freeitem CraneVestment 7");
atcommand("@freeitem SnakeskinBoots 7");
atcommand("@freeitem GreatBacksword 7 2");
}
else
{
npcText("WTH?? Your job type is not standard, please report to a GM!");
break;
}
npcText("There you go, check in your bag for your free stuff!");
setval("GOTFREEITEMS",1);
}
}
npcShow();
|
Hehe, thanks dude. But, sorry i need a npc TYPE ID I writen my own code thjanks for help
|
|
|
|
Similar Threads
|
[HELP] type 531
11/03/2009 - EO PServer Hosting - 2 Replies
hello, i know this maybe is a noob question but i TOTAL forgot how to change it .. (if i even know it before lol)
its about the XO boxes (19*) become's a 30* ?! :confused:
i checked Cq_action and i get this
4600650 4600651 4600653 508 0 1 0 53
4600651 4600652 0 531 0
|
[HELP]Own NPC name/type
05/22/2009 - CO2 Private Server - 2 Replies
Anyone knows how to change NPCs name or make a own type with own name?
Thx for any answers :)
|
what type
04/02/2008 - Perfect World - 3 Replies
anyone have idea for great pvp/pk/tw build for WR ? what build is better for u
Fist WR
Str min for leather / agi min. for fist and give all in CON = Good tank vs mg / ep / wf , not bad dodge for mele and much hp / cri
or
Sword WR
str for Heavy armor"90lvl uniq so 240 +/- , dex to swords and all in CON
last skill Sword can own all mages in one hit and remember i buy slow swords green , it have nice dmg ;)
i do it sure in 95 + lvl
|
Need item type and token type boot
03/18/2008 - Conquer Online 2 - 1 Replies
Hi All programers and makers of boots, Great job. Could some one make item and token type boot for patch 5118. Please
|
New type of bot
12/09/2006 - Conquer Online 2 - 1 Replies
I don't think anyones come up with the bot yet, but here goes. Anyone want to make a bot for tg. It logs back in after it disconnects and puts your character back to the spot in tg you want it to. Then there can be a bunch of settings like scatter up scatter down, night devil glitch, water elf glitch. All kinds of good stuff like that.... if theres a bot already like this im sorry for posting and could i get a link to it
|
All times are GMT +2. The time now is 02:13.
|
|