Page 18 of 27

Re: Automap (indoor & dungeon) implementation

Posted: Tue Sep 13, 2016 8:32 am
by Nystul
ok thanks for this detailed info! I would like to finish the current iteration on the ReflectionsMod (1-2 weeks) and then I would love to jump into this. Sounds like a challanging topic ;)

Re: Automap (indoor & dungeon) implementation

Posted: Mon Oct 03, 2016 12:33 pm
by Nystul
I have started to work on the exterior automap. Lets see how involved it will get ;)

as soon as I can show some progress I will create a dedicated exterior automap thread

edit: would it be possible to get a copy of the source files for Daggerfall Imaging 2 (edit2: Daggerfall Modeling of course) - especially the part that creates the layout of locations? the link on dfworkshop.net to the zip file no longer works for me

Re: Automap (indoor & dungeon) implementation

Posted: Mon Oct 03, 2016 10:34 pm
by Interkarma
Nystul wrote:I have started to work on the exterior automap. Lets see how involved it will get ;)

as soon as I can show some progress I will create a dedicated exterior automap thread

edit: would it be possible to get a copy of the source files for Daggerfall Imaging 2 - especially the part that creates the layout of locations? the link on dfworkshop.net to the zip file no longer works for me
Full source for Daggerfall Modelling is below (edit: brain fart this morning, posted Imaging code in error).

https://github.com/Interkarma/daggerfal ... lModelling

It heavily uses the following, which you'll recognise as an older version of the DFTFU API.

https://github.com/Interkarma/daggerfal ... er/Library

I've got to run for work, seriously late this morning. Will put together some more detail for you this evening. :)

Update: The code that draws the exterior automap image can be found in CreateExteriorMap() at line 733 in following file:

https://github.com/Interkarma/daggerfal ... MapView.cs

It's just rendering the images returned by blocksFile.GetBlockAutoMap() to an image then converting to a GDI+ Bitmap. Same basic process in Unity, just different target formats.

If you have any troubles at all, I'm more than happy to write a working skeleton of the process in Unity for you to build on. Just let me know! :)

Re: Automap (indoor & dungeon) implementation

Posted: Tue Oct 04, 2016 12:57 pm
by Nystul
thx, this will help me a lot :)
I think I should be able to pull something off starting from this.

Re: Automap (indoor & dungeon) implementation

Posted: Wed Oct 10, 2018 1:52 am
by Jay_H
For a few builds now, the green exit marker hasn't been appearing.

Re: Automap (indoor & dungeon) implementation

Posted: Wed Oct 10, 2018 7:44 am
by Hazelnut
I have noticed that as well, but it only seems to be on Linux for me. On windows PC it appears fine. Not sure if it's the os or some other unseen difference. I also have not checked without Archs mod installed.

Re: Automap (indoor & dungeon) implementation

Posted: Sat Oct 13, 2018 8:00 am
by Interkarma
Jay_H wrote: Wed Oct 10, 2018 1:52 am For a few builds now, the green exit marker hasn't been appearing.
I can confirm this one in Windows as well. Had someone on reddit asking about it earlier too. I'll see if I can chase it down soon if Nystul doesn't have time. Hopefully will be something simple.

Re: Automap (indoor & dungeon) implementation

Posted: Sat Oct 13, 2018 5:07 pm
by Nystul
Could this be related to the change of player capsule collider maybe? Not sure since the code of the automap discovery/markers has not been touched in ages, so this must be a regression issue

Re: Automap (indoor & dungeon) implementation

Posted: Sat Oct 13, 2018 10:14 pm
by pango
I wanted to help by git bisection, but oldest version supporting Unity 2018.1.2f7 (5b2fb28) has already lost the green marker.
Using released versions... Well, I didn't keep all the ones I had, and web.archive.org doesn't have all the links, there's a huge gap between March and June.
So all I can say is that the Linux build lost green marker between build #98 (2018-02-15) and build #120 (2018-06-08). Probably not very helpful...

Re: Automap (indoor & dungeon) implementation

Posted: Sat Oct 13, 2018 11:08 pm
by Interkarma
Thank you pango. I still have old builds in cloud. I'll start from Feb and move forwards.