Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 04.12.2005, 09:15   #1
Stef
Архивный участник
 
Join Date: Dec 2005
Posts: 4
Default Need help about making shops

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.
Stef is offline  
Old 04.12.2005, 09:54   #2
Truffe
Архивный участник
 
Join Date: May 2005
Posts: 944
Default

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.
Truffe is offline  
Old 04.12.2005, 10:29   #3
Stef
Архивный участник
 
Join Date: Dec 2005
Posts: 4
Default

I have opened AI.obj in wordpad.

Im trying to search for what you said, but i cant seem to find any.
Stef is offline  
Old 04.12.2005, 11:14   #4
bwgreen
Архивный участник
 
Join Date: Sep 2005
Posts: 408
Default

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.
bwgreen is offline  
Old 04.12.2005, 11:41   #5
Stef
Архивный участник
 
Join Date: Dec 2005
Posts: 4
Default

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?
Stef is offline  
Old 04.12.2005, 12:00   #6
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

fyi, wordpad and notepad save in unicode
Mirror is offline  
Old 04.12.2005, 15:47   #7
Stef
Архивный участник
 
Join Date: Dec 2005
Posts: 4
Default

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
Im going to use Alexis,
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
like this?
Please help me, thank you ^^
Stef is offline  
Old 04.12.2005, 19:51   #8
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

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...
toolpunk is offline  
 


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 17:45.