Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Area Editor (https://postpacific.loc-online.com/showthread.php?t=8026)

Tilluss 10.07.2007 08:14

Area Editor
 
Ok, first of all to get things straight, i dont have a whole lot of programming knowledge, everything i know is self taught and limited to VB and the L2 scripting. This project will only work with the knowledge of others and i understand if it doesn't go anywhere but at least i asked rather than sitting back and forgetting about it.


Now that's out of the way lets get to the point of this thread. Dont you just hate editing npcpos in the script? Trying to find each area through trial and error only to find that the point you just edited is now way off and wasn't the correct point to edit in the first place?

What im trying to get at is, wouldn't it be nice to have an editor for these points? Just to be able to click on a point and find it's exact area name, and maybe to be able to click and drag that point or to click on a point and adjust it by changing it's co-ordinates? Now all i have seen so far that is close to this is a viewer thats great, but still doesn't help the fact that you can see the name of the area's. See the viewer here: https://postpacific.loc-online.com/f...ghlight=npcpos

I wish i have the programming knowledge for this myself, but the fact is i don't. If the npcpos was completed, who's not to say that it can be expanded for things like areadata etc? Wouldn't this make everyone's life easier, rather than spending hours messing with points, just spend minuets.

Who would be interested in something like this? Maybe an open source project for the community that everyone can add their part to and correct bug's. Leave a reply here if you interested and maybe we can kick this thing off and get an editor to make everyone's life easier.

P.S Im not here to leach, im here to try and be productive and maybe learn something. Sry for the long post xD

~Marquis~ 10.07.2007 09:03

You can view the areadata simply by exchanging the areadata location and add them in the npcpos in front of territory_begin [xx] {{areada c/p}}. :P

Tilluss 10.07.2007 09:13

Quote:

Originally Posted by ~Marquis~ (Post 91417)
You can view the areadata simply by exchanging the areadata location and add them in the npcpos in front of territory_begin [xx] {{areada c/p}}. :P

Yeah i know it works the same, there are only slight differences between all of the point's area's in settings.txt areadata.txt castledata.txt npcpos.txt. There wouldn't be any major change to detect which one was which, it's only a matter of making it more "user friendly". It's not just about viewing the area's, it's about being able to edit them.

Tilluss 03.08.2007 17:48

Since noone decided to help me with this project i decided to have a go at it myself and here are the fruits of my efforts so far:

http://www.l2requiem.com/ihost/image...npcposEdit.jpg

This is a screen shot from a few days ago and it's improved quite a bit since then. All points are editable through the interface and change colour when you select them so you can see what your editing. When you click on an area listed in the list box the area that you is highlighted on the map and you are taken to it for ease of use (it's also tagged with a name). You can be shown the geodata map my a quick check of the tick box just in case you need to check the area against the geodata etc. The create new function is not yet complete and im still working on saving everything back to the npcpos.txt file, but those should be complete shortly.

Just showing what can be done with a little effort.

BRuTALHiTMAN 03.08.2007 18:07

i'd be glad to help, what can i do to help you out?

Tilluss 03.08.2007 19:01

It doesn't matter now since im close enough to completion to do it myself. I'll release a basic version of it for the community when im done and it's been tested fully. I'll do any bug fixes to the basic version but i'm gonna save the "shiny" bit's for my own use :)

~Marquis~ 03.08.2007 19:10

your work just looks great! wish you good luck at fisnishing your project :)

BRuTALHiTMAN 03.08.2007 19:24

ok well if u need anything that i can help with, just let me knw and i'l lsee what i can do! ^^ keep up the good work tho looks nice, sorry i didn't see this project sooner cause im also limited to VB only lol!

ZeniMax 03.08.2007 20:22

You must add more X, Y and Z to make areas (for example see goddard town areadata).

Tilluss 04.08.2007 02:06

Quote:

Originally Posted by ZeniMax (Post 93596)
You must add more X, Y and Z to make areas (for example see goddard town areadata).

Firstly it's not for areadata.... yet. (altho if you did a bodge job on the areadata to make it look like the npcpos format it will still read it.)


Secondly, more points? There is a drop down list just above the X,Y,Z,Z2 boxes labelled "Points:", you click that and it will allow you to select any of the points in the area (up to a maximum of 20 points). If i was to make every single point visible it would clog up the interface and become confusing.:confused2:

I should have it up for sharing in a week or 2 depending on how much free time i can find :)

Kenjiro 05.08.2007 14:15

Wow, very nice editor... if it could have zooming for fine point editing. And surely you have programming knowledge for making this :).

Tilluss 06.08.2007 07:21

Quote:

Originally Posted by Kenjiro (Post 93720)
Wow, very nice editor... if it could have zooming for fine point editing. And surely you have programming knowledge for making this :).

The base values are already in place for this :D

crazed 10.08.2007 13:03

this will go great with my project that i have been working on。I am currently working on Expanding the lineage 2 world over a big portion of the waters and giving it its own quest and what not. This is a huge project and takes alot of time. hopefully i can get some in game visuals for you all soon.


All times are GMT. The time now is 15:48.