Re: sNPCedit - simple NPC editor
Can you export the list to a text file or something so that sNPCedit just has to read the textfile? It would mean though that you would have to add to the txt file manually when add a new item to the elements.
Re: sNPCedit - simple NPC editor
Quote:
Originally Posted by
ronny1982
I expected you think of elements.data, but this added 30 MB to the software, while the extracted data of npc and mob id is only ~1MB.
Also it requires to port the complete EL engine from sELedit into sNPCedit.
Not to mention about all the PM's i'll get: "Why does my elements.data not work with sNPCedit" ...
This will revive memories of sELedit's first release, which was originally designed to support only 1.3.6 and 1.4.2... :/:
Here is how I'd implement it:
-do not integrate the el.data to the software, rather look for it in the same folder or in parent folder of the npcgen.data opened (because this is where it is located on server).
-only parse the 1.3.6 server version (eventually client) of it since npcgen is a server-sided file and therefore any npc you add to it will need to be in a 1.3.6 elements.data. In addition, since the npc list is placed before the dialogue list only read the element up to it and then close it (saves porting the complex dialogue list mechanic).
In case the el.data is not found or does not match the correct version, do not display names (aka keep current display).
This way it would let people have the names that match their elements.data used on their server as an extra feature without adding too much to the software.
Anyway this is just a theory, you do whatever you want with it, glad to have the tool as it is already :D:
Re: sNPCedit - simple NPC editor
Quote:
Originally Posted by
Souris
Here is how I'd implement it:
-do not integrate the el.data to the software, rather look for it in the same folder or in parent folder of the npcgen.data opened (because this is where it is located on server).
-only parse the 1.3.6 server version (eventually client) of it since npcgen is a server-sided file and therefore any npc you add to it will need to be in a 1.3.6 elements.data. In addition, since the npc list is placed before the dialogue list only read the element up to it and then close it (saves porting the complex dialogue list mechanic).
In case the el.data is not found or does not match the correct version, do not display names (aka keep current display).
This way it would let people have the names that match their elements.data used on their server as an extra feature without adding too much to the software.
Anyway this is just a theory, you do whatever you want with it, glad to have the tool as it is already :D:
npc names was added in the latest svn build...
it uses an own database file that can be exported with the latest sELedit svn build...
Re: sNPCedit - simple NPC editor
Re: sNPCedit - simple NPC editor
Quote:
Originally Posted by
ronny1982
npc names was added in the latest svn build...
it uses an own database file that can be exported with the latest sELedit svn build...
Which of course is way simpler then what that guy said to do :lol:
2 Attachment(s)
Re: sNPCedit - simple NPC editor
Hi,
First of all, I would like to thank Ronny for his easy to use tools :)
I added a feature to sNPCedit : the Coordinates Catcher. The Source code is of course available with the binary in the attachment.
The coord catcher only works with 1.3.6 exe client at this time.
I think it can be improved, since c++/CLI is not my favorite language :)
Merry Christmas !
Re: sNPCedit - simple NPC editor
Quote:
Originally Posted by
freya421
Hi,
First of all, I would like to thank Ronny for his easy to use tools :)
I added a feature to sNPCedit : the Coordinates Catcher. The Source code is of course available with the binary in the attachment.
The coord catcher only works with 1.3.6 exe client at this time.
I think it can be improved, since c++/CLI is not my favorite language :)
Merry Christmas !
nice you made it, thank to both of you:thumbup1:
btw anyone can teach me/us about NPC rotation, i'am stuck to make my own NPC at tideborn area with their rotation, if i give -2458 for X <<< what this mean? where it will rotate if i give "-" and where it rotate if i give "+" :blink:
Re: sNPCedit - simple NPC editor
Not "X" !!! It's "Rotate X" ! And the value can be only between -1 and 1
It looks like -180° and 180° to me if we translate the -1 and 1.
Maybe but not sure:
-0.0 = face to the south
0.0 = face to the north
Re: sNPCedit - simple NPC editor
Quote:
Originally Posted by
Romulan
Not "X" !!! It's "Rotate X" ! And the value can be only between -1 and 1
It looks like -180° and 180° to me if we translate the -1 and 1.
Maybe but not sure:
-0.0 = face to the south
0.0 = face to the north
yess this is what i mean, but still hard to looking where the right rotation for NPC >.< i must turn off world map many times to see it >.<:(:
Re: sNPCedit - simple NPC editor
I think there is no other way....
Re: sNPCedit - simple NPC editor
info: the npc orientation is defined by a simple direction vector (xyz) and not by angles
this was known a long time ago, sorry for the misleading labels in sNPCedit but i was to busy to change the labels...
sNPCedit v0.9d is out
Features:
- due to the high demand i've added the coordinate catcher from freya421
- coordinate catcher now works with PWI 1.4.2 v456 (to add the tideborn npc & mobs :cool:)
- coordinate catcher was extended to catch the direction
- corrected the labels from "Rotation" to "Direction"
HowTo Catch Position + Direction:
- launch pwi elementclient.exe
- now select a target i.e. your own character, a npc, or a monster
- switch to sNPCedit
- select the row where you wanna insert the position + direction
- click the "get coordinates" button to transfer the coordinates from your ingame target to the slected row
Re: sNPCedit - simple NPC editor
Quote:
Originally Posted by
ronny1982
info: the npc orientation is defined by a simple direction vector (xyz) and not by angles
this was known a long time ago, sorry for the misleading labels in sNPCedit but i was to busy to change the labels...
sNPCedit v0.9d is out
Features:
- due to the high demand i've added the coordinate catcher from freya421
- coordinate catcher now works with PWI 1.4.2 v456 (to add the tideborn npc & mobs :cool:)
- coordinate catcher was extended to catch the direction
- corrected the labels from "Rotation" to "Direction"
HowTo Catch Position + Direction:
- launch pwi elementclient.exe
- now select a target i.e. your own character, a npc, or a monster
- switch to sNPCedit
- select the row where you wanna insert the position + direction
- click the "get coordinates" button to transfer the coordinates from your ingame target to the slected row
Don't forget to run it as admin under Vista/7 or you'll get an access denied exception...
Re: sNPCedit - simple NPC editor
when downlouding snpcedit the newest one, does anyone get a FileDownload.aspx instead of the program itself?
Image of Download
Re: sNPCedit - simple NPC editor
Quote:
Originally Posted by
ronny1982
info: the npc orientation is defined by a simple direction vector (xyz) and not by angles
this was known a long time ago, sorry for the misleading labels in sNPCedit but i was to busy to change the labels...
sNPCedit v0.9d is out
Features:
- due to the high demand i've added the coordinate catcher from freya421
- coordinate catcher now works with PWI 1.4.2 v456 (to add the tideborn npc & mobs :cool:)
- coordinate catcher was extended to catch the direction
- corrected the labels from "Rotation" to "Direction"
HowTo Catch Position + Direction:
- launch pwi elementclient.exe
- now select a target i.e. your own character, a npc, or a monster
- switch to sNPCedit
- select the row where you wanna insert the position + direction
- click the "get coordinates" button to transfer the coordinates from your ingame target to the slected row
very very nice!
Re: sNPCedit - simple NPC editor
@angel2108 - no its normal download > Recommended Download > sNPCedit v0.9d.zip