![]() |
need some help whith NPC shop and summoning mobs
hi guys , i wold like some help, i wold like create a NPC shop whith any itens ( quest itens etcc..) i dont have idea how i do this.
and i have some problems when i summon any NPC , becouse its dont stay agressive ,,, just atack when are atacked ... and i need put in agressive mod... thx and sory my english ... |
warrior -> citizen
undying=0 -> undying=1 attacked = 1 -> can_be_attacked=0 |
Agrresiveness is in npcdata as err... hate_points? or something
|
I think it's a AI problem, you'd have to take out the "is in myterritory" check to let them attack outside their territory
|
omfg
just set ai to citizen, fnHi to your html and other parameters in npcdata.txt like other traders have. just copy-paste any trader and change npc_id :) |
thx guys ,, the problem is : i did : //summon karik 1 , and wait be atacked for him , but nothing happened ... se just atack if i did fist .
and abaout NPC special shop , i just summon ? becouse i looking for command to put the quest itens to sell in npc luxury or in special NPC. how ? |
Quote:
|
Quote:
|
IF you want shop with quest item, this is best way:
1. edit your multisell.txt file and paste at end this code Code:
MultiSell_begin [quest_items] 553NOW - find npc in npcdata.txt where you want sell this marks. Its good to set your gatekeeper in giran to sell this marks. So how to do it? 1. gatekepeer in giran have ID clavier in npcdata so find in npcdata name clavier. 2. on line with clavier find npc_ai= and you will see which html file clavier use (npc_ai={[clavier];{[fnHi]=[clavier001.htm]) its clavier001.htm 3. now open folder html and find file clavier001.htm and edit it. Now you will see some plain html text looks like this: Code:
<html><head><body>Best choice will be put it at end of dialog = you need to put it BEFORE </body> ok? so put it Quest</a><--- here ---></body> And what to put there? This code - which is link to multisell section 553 where we are selling mark items. <a action="bypass -h menu_select?ask=-303&reply=553">CLICK HERE AND YOU WILL SEE MARK ITEMS FOR SALE</a> You see? code command ask=-303 is link to multisell.txt and &reply=553 is link to 553 section inside multisell.txt where we set to sell quest items.. rest is basic html.. so whole gateekeeper html file will be now looks like this: Code:
<html><head><body>Gatekeeper in Giran will have new menu called "CLICK HERE AND YOU WILL SEE MARK ITEMS FOR SALE" and if anyone click, big window open and marks there will be for sale. multisell.txt is used for events and for npcs that sell items for crystal in luxury. Its the easyest way how to setup something for sell. If you want sell more thing, just add line .. but remember.. last line is without ; You can make donate shop via this way.. |
thx
Quote:
|
| All times are GMT. The time now is 15:49. |