hermitbox Posted June 8, 2017 Report Posted June 8, 2017 I'm playing around with DarkRadiant and can't seem to import a new texture. It doesn't display in the media browser. I'm using Gimp and it's plugins for all the processing.=Texture creation=- create Diffusemap from image at 1024x1024-- save as 'wall_01.tga'-- save as DDS (Compression DXT1, Mipmaps yes/no?)- create Normalmap from image-- save as 'wall_01_local.tga' (uncompressed)- create editor image-- save as 'wall_01_ed.jpg'=Texture locations=For Diffusemap:/DarkMod/maps/mymod/dds/textures/darkmod/plaster/wall_01.dds--(can I add the original TGA texture here instead? Wiki is not clear)For Normalmap and editor image:/DarkMod/maps/mymod/textures/darkmod/plaster/wall_01_local.tga/DarkMod/maps/mymod/textures/darkmod/plaster/wall_01_ed.jpgAlso?/DarkMod/textures/darkmod/plaster/wall_01_local.tga/DarkMod/textures/darkmod/plaster/wall_01_ed.jpg--(wiki mentions this is for 'mapping' but it's not clear if it's required?)=Material File= textures/darkmod/plaster/wall_01 { stone qer_editorimage textures/darkmod/plaster/wall_01_ed diffusemap textures/darkmod/plaster/wall_01 bumpmap textures/darkmod/plaster/wall_01_local } + ambient info and map location (textures/darkmod/plaster/wall_01) Is this the correct process? Am I missing something obvious? Quote
freyk Posted June 8, 2017 Report Posted June 8, 2017 Have you read the wiki? http://wiki.thedarkmod.com/index.php?title=Textures Quote Info: My portfolio and darkmod graphical installer Amnesty for Bikerdude!
hermitbox Posted June 8, 2017 Author Report Posted June 8, 2017 Yes, I've compiled this info from multiple articles on the wiki. I think I'm doing everything correctly and yet it's still not working, thanks. Quote
Obsttorte Posted June 8, 2017 Report Posted June 8, 2017 To be able to see the material in the editor you have to set the editor path correctly. Missions belong in the fms folder. So instead of placing them in maps/mymod, place them in fms/mymod Quote FM's: Builder Roads, Old Habits, Old Habits Rebuild Mapping and Scripting: Apples and Peaches Sculptris Models and Tutorials: Obsttortes Models My wiki articles: Obstipedia Texture Blending in DR: DR ASE Blend Exporter
HMart Posted June 8, 2017 Report Posted June 8, 2017 The path in the material looks strange to me, you made a folder inside the textures folder called darkmod and put all textures there? also i don't think is really required but try to put the.jpg extension in the editor image like so - qer_editorimage textures/darkmod/plaster/wall_01_ed.jpg Btw never use .jpg for any other textures but the editor textures, using .jpg for normal textures will sometimes crash the engine. Yes you can use tga directly just put .tga at the end of all textures path like so, also is custom to use _d (for diffuse) on idtech 4 materials i don't think is required tho: textures/darkmod/plaster/wall_01 { stone qer_editorimage textures/darkmod/plaster/wall_01_ed.jpg diffusemap textures/darkmod/plaster/wall_01_d.tga bumpmap textures/darkmod/plaster/wall_01_local.tga } If you don't use any file extension the engine will automatically search in the textures folder for the right texture, if i'm not mistaken it will first search for tga, if it doesn't find a tga then it will search for DDS, but i'm not sure has i never used DDS my self. BTW TDM engine (idtech 4) supports RLE compressed .tga's but only for textures without a alpha channel (transparency). See here for more info if you have not. https://modwiki.xnet.fi/Texturing#material-shaders or here: https://www.iddevnet.com/doom3/materials.php Yes is for Doom 3 but TDM is based on Doom 3 engine. Quote
stumpy Posted June 9, 2017 Report Posted June 9, 2017 if you want to make it easy then just create textures and materials directories in the directory where thedarkmod.exe and the pk4 game files are. and place the textures in thetextures/darkmod/plaster/directory. then you can usetextures/darkmod/plaster/wall_01 { stone qer_editorimage textures/darkmod/plaster/wallplaster_ed diffusemap textures/darkmod/plaster/wallplaster_diffuse bumpmap textures/darkmod/plaster/wallplaster_bumpmap } and then you'll find your textures in darkradiant in the darkmod/plaster texture browser. Quote
hermitbox Posted June 9, 2017 Author Report Posted June 9, 2017 Thanks for all the suggestions. I worked through them one by one and stumpy's solution solved the problem. One cause of confusion was that I copied a texture from a fan mission to my map directory with the exact same path and it displayed correctly. There must be something that happens when the map is packaged that changes the paths from absolute to relative?The information about where to locate custom textures for fan missions is in the wiki but I found it difficult to parse. For anyone with wiki editing rights, you may want to make it a bit clearer. Maybe something like:'How to add Textures to The Dark Mod' page (http://wiki.thedarkmod.com/index.php?title=How_to_add_Textures_to_The_Dark_Mod) - 'Move the Texture to the right Location' section-- 'Things to remember' box* Custom texture folders for fan missions must be in the Darkmod root folder while mapping.* Custom texture folders for fan missions must be in the pk4 folder for release.Thanks again for the help. Quote
peter_spy Posted June 9, 2017 Report Posted June 9, 2017 This might help you: Custom textures have to go to fms/yourfmname/textures (for tga) or dds (for compressed dds textures). Pk4s in root TDM folder are core mod assets, not mission-specific stuff. Quote Artstation stuff
kingsal Posted June 9, 2017 Report Posted June 9, 2017 Have you created your own fms folder inside darkmod/fms? Its wise to get your fms package all set-up from the start. http://forums.thedarkmod.com/topic/15152-new-dr-folder-settings-for-tdm-20/ Grab the starterpack here: http://wiki.thedarkmod.com/index.php?title=Startpack_Mappers%27_GuideThere are several important files you need in there so be sure to read the start guide closely. Everything you create from then on should go inside your fms folder and will mimic the darkmod root structure. An important step is to add your fms directory to darkradiant. This might be why your textures arent showing up in DR?file>select gamemod(fs_game) = fms/yourfms Hope this helps. Quote Volta Missions: Volta and the Stone / Volta II: Cauldron of the Gods / Volta III: Gemcutter Standalones: Snowed Inn / Hazard Pay / Moongate Ruckus
NeonsStyle Posted June 10, 2017 Report Posted June 10, 2017 Yeh usually it's because you've put ur map in darkmod/maps instead of darkmod/fms/your_mission Quote I have an eclectic YouTube channel making videos on a variety of games. Come and have look here:https://www.youtube.com/c/NeonsStyleHD Dark Mod Missions: Briarwood Manor - available here or in gamehttp://forums.thedarkmod.com/topic/18980-fan-mission-briarwood-manor-by-neonsstyle-first-mission-6082017-update-16/
NeonsStyle Posted June 14, 2017 Report Posted June 14, 2017 Also this really should be in the TDM Editors forum Quote I have an eclectic YouTube channel making videos on a variety of games. Come and have look here:https://www.youtube.com/c/NeonsStyleHD Dark Mod Missions: Briarwood Manor - available here or in gamehttp://forums.thedarkmod.com/topic/18980-fan-mission-briarwood-manor-by-neonsstyle-first-mission-6082017-update-16/
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.