![]() |
|
|
#1 |
|
Архивный участник
Join Date: Dec 2005
Posts: 4
|
Hiya,
First of all, my english is not so good, sorry about that. I thank you all for the great package of the c2 project. Now, I have some problems with this package. Everything runs smooth. But there are some things that are weird and I need to fix those. Im kinda new with this so I need your help! Ok, here we go; First I'd like to have an custom shop in gludin. Where you can buy every recepy you need. In that shop quest items need to be putten there too, for an price ( The class change ones ). Some potions need to be added too, like greater healing pots. Also Id like to know how to change rates. And to remove some skills ( Like the water seeds, and blizzard etc ). And some animations are missing, the one of berzerker spirit. Could you guys help me out an little? ( You don't have to make me all, maybe just an beginning and explain me how to do it. Then I can make the rest myself, cause afterall, I need to learn ^^ ) Thanks in advance. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
Open AI.obj and look at it.
Format for shops is {itemid; taxrate } If you're smart enough you should easily figure it out by yourself. |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Dec 2005
Posts: 4
|
I have opened AI.obj in wordpad.
Im trying to search for what you said, but i cant seem to find any. |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Sep 2005
Posts: 408
|
Don't use wordpad. Find and download an advanced text editor which will allow you to save as unicode.
Try searching for the NPC's name in the ai.obj, then you will see what you need.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Dec 2005
Posts: 4
|
Which text editor do you suggest?
[edit] Also, what to do when I edit the AI.obj do i need to save it as unicode? How do I change the coordinates? Do i gotta edit the htm file of the merchant which I would like to edit? |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
fyi, wordpad and notepad save in unicode
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Dec 2005
Posts: 4
|
Ok, but where do I change the coordinates?
I have the file npcpos.txt : Code:
territory_begin [24_18_NPC_031201_04] {{146764;28908;-2356;-2156};{146964;28908;-2356;-2156};{146964;29108;-2356;-2156};{146764;29108;-2356;-2156}} territory_end
npcmaker_begin [24_18_NPC_031201_04] initial_spawn = all maximum_npc = 1
npc_begin [trader_alexis] pos = {146893;28982;-2250;32768} total = 1 respawn = 1min npc_end
npcmaker_end
But the old alexis still needs to stay, how do I create it? Do I also gotta change the trader_alexis.htm files for the new trader? In AI.obj how do I gotta do that with the code? Can i add another trader alexis? Code:
class trader_alexis : merchant
property_define_begin
buyselllist_begin SellList0
{907; 20 }
{908; 20 }
{114; 20 }
{115; 20 }
{845; 20 }
{876; 20 }
{877; 20 }
buyselllist_end
property_define_end
class_end
class trader_alexis : merchant
property_define_begin
buyselllist_begin SellList0
{907; 20 }
{908; 20 }
{114; 20 }
{115; 20 }
{845; 20 }
{876; 20 }
{877; 20 }
buyselllist_end
property_define_end
class_end
Please help me, thank you ^^ |
|
|
|
|
#8 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
make a copy of the npcdata and ai entry and replace the name alexis with uhm Stef
![]() to change the position you should edit the "pos" entry in npcdata ![]() alternatively to ai you can use multiselllist.txt as far as i know. however you can find ALL needed info using the search... there was a pretty good tutorial on how to create a custom trader i think... |
|
|
|
|