Build to DNF T3D Map converter
#1 Posted 06 June 2022 - 07:59 AM
Notes:
Any sectors that relied on overlapping sectors, were sectors existed in the same 3D space, will need to be fixed. There's no way for an exporter to fix that.
https://github.com/j...leases/tag/1.01
How to:
1) Extract the map file and tables.dat into the same folder as the executable.
2) DukeMapT3D.exe MapFile
3) Open DukeED and do file -> import and click on the T3D file that's generated.
To fix the bad UV's.
1) Right click on any face and select "select all faces".
2) Right click on any face click on align selected then click planar.
This post has been edited by icecoldduke: 06 June 2022 - 08:01 AM
#2 Posted 06 June 2022 - 10:15 AM
#3 Posted 06 June 2022 - 12:25 PM
Automatic Texture Assignment now works. So you can export a build map to duke nukem forever and textures will automatically be assigned to each brush.
https://github.com/j...leases/tag/1.02
How to:
EDIT:
!!If you are loading a mod you need to extract all of the mod art files as well!!!
1) Extract the map file and tables.dat and palette.dat and all .art files into the same folder as the executable.
2) DukeMapT3D.exe MapFile
3) BEFORE importing the T3D file, you need to import all the textures and SAVE out the Duke Texture Package. Generated textures are in a new folder that has the same name as you map.
4) OPEN THE PACKAGE FILE WITH THE TEXTURE BROWSER OR SOMETIMES THE ENGINE WONT LOAD ALL THE TEXTURES.
5) Open DukeED and do file -> import and click on the T3D file that's generated.
To fix the bad UV's.
1) Right click on any face and select "select all faces".
2) Right click on any face click on align selected then click planar.
This post has been edited by icecoldduke: 06 June 2022 - 01:20 PM
#4 Posted 06 June 2022 - 01:16 PM
Kristian Joensen, on 06 June 2022 - 10:15 AM, said:
It can definetely be modified to output to whatever format but unreal 1-3 to my knowledge is the only engines that support t3d.
#6 Posted 06 June 2022 - 02:45 PM
This post has been edited by vini1264: 06 June 2022 - 02:47 PM
#7 Posted 06 June 2022 - 03:00 PM
This post has been edited by icecoldduke: 06 June 2022 - 03:09 PM
#10 Posted 06 June 2022 - 03:17 PM
vini1264, on 06 June 2022 - 03:08 PM, said:
I did a fresh import of E1L2 and on my end it works.
#11 Posted 06 June 2022 - 03:19 PM
icecoldduke, on 06 June 2022 - 03:17 PM, said:
Are you using some different version of DukeED? I'm using the one that comes from the original leak + the MegaPatch
This post has been edited by vini1264: 06 June 2022 - 03:20 PM
#12 Posted 06 June 2022 - 03:24 PM
vini1264, on 06 June 2022 - 03:19 PM, said:
So the issue is somehow in your version the periods got changed to commas. I dont know how that would have happened. So its either some really weird on your end or somehow it got manually changed, but I don't think this is a issue directly related to the tool.
This post has been edited by icecoldduke: 06 June 2022 - 03:27 PM
#13 Posted 06 June 2022 - 03:27 PM
icecoldduke, on 06 June 2022 - 03:24 PM, said:
Could this be related to my system language? I'm Brazilian so the language in my PC is portuguese.
#14 Posted 06 June 2022 - 03:28 PM
vini1264, on 06 June 2022 - 03:27 PM, said:
It could be, if so then it is then its an issue with .NET. You can try switching your language to english.
#15 Posted 06 June 2022 - 03:55 PM
Anyway, impressive work on the tool, Icecoldduke! I can see this being useful, even if the SOS geometry gets messed up.
#16 Posted 06 June 2022 - 04:33 PM
icecoldduke, on 06 June 2022 - 03:28 PM, said:
Just confirmed, it was indeed my system language, just changed it to english and the map now imports just fine
#17 Posted 06 June 2022 - 08:29 PM
#18 Posted 07 June 2022 - 12:29 AM
Aleks, on 06 June 2022 - 03:55 PM, said:
Anyway, impressive work on the tool, Icecoldduke! I can see this being useful, even if the SOS geometry gets messed up.
It helps, thanks for all,
#19 Posted 07 June 2022 - 01:15 AM
icecoldduke, on 06 June 2022 - 01:16 PM, said:
Do you know if there are any converters, similar to this, from t3d to the formats of other engines?
#21 Posted 13 June 2022 - 06:58 PM
Kristian Joensen, on 07 June 2022 - 01:15 AM, said:
In my latest I changed the code to export to a custom interm format that you can use to import to into other software.
Plane E1L1_1 { xyz 4403.2 -1433.6 -51.2 normal 0 0 -0.9999999 xyz 4454.4 -1356.8 -51.2 normal 0 0 -0.9999999 xyz 4460.8 -1363.2 -51.2 normal 0 0 -0.9999999 xyz 4761.6 -1356.8 -51.2 normal 0 0 -0.9999999 xyz 4460.8 -1363.2 -51.2 normal 0 0 -0.9999999 xyz 4454.4 -1356.8 -51.2 normal 0 0 -0.9999999 xyz 4492.8 -1363.2 -51.2 normal 0 0 -1 xyz 4460.8 -1363.2 -51.2 normal 0 0 -1 xyz 4761.6 -1356.8 -51.2 normal 0 0 -1 xyz 4716.8 -1363.2 -51.2 normal 0 0 -1 xyz 4492.8 -1363.2 -51.2 normal 0 0 -1 xyz 4761.6 -1356.8 -51.2 normal 0 0 -1 xyz 4755.2 -1363.2 -51.2 normal 0 0 -1 xyz 4716.8 -1363.2 -51.2 normal 0 0 -1 xyz 4761.6 -1356.8 -51.2 normal 0 0 -1 xyz 4812.8 -1433.6 -51.2 normal 0 0 -1 xyz 4755.2 -1363.2 -51.2 normal 0 0 -1 xyz 4761.6 -1356.8 -51.2 normal 0 0 -1 }
#22 Posted 14 June 2022 - 05:15 PM
I get this errors when I try to run this. Did I miss a step or what am I doing wrong here?