![]() |
|
|
#1 |
|
Архивный участник
Join Date: Oct 2006
Posts: 57
|
As good u know in c5 mobs id was changed, i made little tool to change that id in ai.obj, tool will make for u knew ai with changed push_const 10xxxxx (where 10xxxxx is npcid). I found 1 bad thing, in ai.obj is one more thing which uses push_const 10xxxxx format - fstrings, so u will need to marge your new ai with old and change ids of fstring manually or add new fstring ids to fstring.txt (i made tool for that too -fstring.pl). Tool is writed in perl so u'll need perl to use that.
p.s Before u use a tool make sure that (ai.obj/fstring.txt is in ANSI encoding and in same folder with tool). I made quick test if new ai works, and server started with new ai, mobs were spawned, baium works (when takled with baium statue->wake up baium-> baium spawned) etc need more testing but have no time xD. Update: Ver 1.1 will change only npc's id so no need to worry about fstrings :P. ver 1.2 will make a log file with some info about what was changed (line in ai.obj/npcname/c5id/c4id etc). Вложения из исходного сообщения (сами файлы в копии отсутствуют): AiIdConverter.rar — 11553 байт AiIdConverter1.1.rar — 53346 байт AiIdConverter1.2.rar — 50502 байт |
|
|
|
|