EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Tools (https://www.eqemulator.org/forums/forumdisplay.php?f=593)
-   -   Tool to edit / modify static objects in a zone? (https://www.eqemulator.org/forums/showthread.php?t=39229)

iluvseq 01-14-2015 02:49 PM

Tool to edit / modify static objects in a zone?
 
I'm looking for a tool that would let me go through a zone like echo.s3d and move / remove objects (ie: the objects outputted by listobj)

For example, with echo.s3d, there are 611 Placeable Objects throughout the zone: rocks, plants etc. I'd like to remove these entries:

Placeable Object 234 @ ( -422.98, 874.73, -47.25 uses model 64 VSBSTOOL301_DMSPRITEDEF
Placeable Object 235 @ ( -435.67, 874.82, -47.49 uses model 64 VSBSTOOL301_DMSPRITEDEF
Placeable Object 439 @ ( -429.82, 869.49, -47.90 uses model 6 ECTABLE301_DMSPRITEDEF


To get rid of the table and stools at that location.

Is there a tool that can do this? I know they are contained in the zone.wld file from within the zone.s3d. I can, of course, use S3DSpy to extract this file, but I haven't found any tools that allow objects to be moved or deleted.

Zaela_S 01-14-2015 03:53 PM

Give me a little bit. I'm in school right now but I should have a basic GUI tool ready in a few hours. The operations required are fairly simple as far as editing WLD data goes.

iluvseq 01-14-2015 04:12 PM

That would be awesome, thank you!

Zaela_S 01-14-2015 10:18 PM

Well, turned out to be more complicated for some zones, at least for removing object placements.

For now though, a quick and dirty tool: https://dl.dropboxusercontent.com/u/...ct%20Mover.zip

Should be able to change coordinates for objects in any s3d-based zone. The remove option will be greyed out for zones where things are more complicated, for now. Haven't confirmed that edited files still work right in game but I think it should be fine. I recommend backing up any files before editing them, though.

Haven't put the code up anywhere but it's all just scripts except for the exe, which is just a shell that loads the script interpreter and gui library before handing off to them entirely.

Let me know if there's issues.

iluvseq 01-16-2015 08:28 AM

There's no 'Open' or 'Load' option. I modified loader.lua to add one to the menu, to call Loader:Open() which gives a dialog, but ultimately that simply calls Loader:Load() which simply sets Loader.path but doesn't actually load anything.

I do see S3D.open() in s3d.lua, so I might be able to figure out how to hook that in :)

Zaela_S 01-16-2015 12:49 PM

Whoops, accidentally left in my local settings file. And forgot to put Settings.SetSearchFolder in the menu.

Redownload, should be fixed.

iluvseq 01-16-2015 07:04 PM

Works perfectly, thank you very much!

Tyen05 01-16-2015 07:19 PM

Praise Zaela


All times are GMT -4. The time now is 03:07 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.