[WIP] KF-DD-TavernSiege

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
Oct 21, 2013
68
3
8
Ered Luin
Norsupaastainen;n2280945 said:
Hello, I noticed you talked something about custom materials on landscape in another converastion. Did you get custom materials work on landscape? or at all?

I found a fix to my problem in general for Landscape. You can either use landscape with TWI textures or don't use it at all. I've been troubleshooting for weeks and even some months going on and had no clue what was breaking my map. The Landscape with custom textures applied literally breaks your map entirely if you have a map 100% that uses custom materials. It'll nullify the map and cause everything to have default texture no matter the cause. Unless you use the derive MICs method to apply your textures. I couldn't do this though due to the complexity of my custom materials as i'm porting maps from Dungeon Defenders. These are just one of the few things you come across with Map porting from another game.

So you can either use landscape with TWI materials, use Terrain as an alternative, or convert your Terrain to a static Mesh and manually recreate/paint the textures back to the mesh. For the Static Mesh conversion, you'll need to split it in pieces to bypass the vertices limit. This will require some 3ds max export/import/knowledge with your 3d program. I'll either post a How-To convert terrain to Static Mesh formally in a guide/tutorial or Kill Master here might help out on that with a guide of his own. Been working together with him so will post something soon accordingly!
 
Last edited:
  • Like
Reactions: Norsupaastainen

Norsupaastainen

FNG / Fresh Meat
Dec 7, 2016
3
0
0
28
domingothegamer;n2281091 said:
I found a fix to my problem in general for Landscape. You can either use landscape with TWI textures or don't use it at all. I've been troubleshooting for weeks and even some months going on and had no clue what was breaking my map. The Landscape with custom textures applied literally breaks your map entirely if you have a map 100% that uses custom materials. It'll nullify the map and cause everything to have default texture no matter the cause. Unless you use the derive MICs method to apply your textures. I couldn't do this though due to the complexity of my custom materials as i'm porting maps from Dungeon Defenders. These are just one of the few things you come across with Map porting from another game.

So you can either use landscape with TWI materials, use Terrain as an alternative, or convert your Terrain to a static Mesh and manually recreate/paint the textures back to the mesh. For the Static Mesh conversion, you'll need to split it in pieces to bypass the vertices limit. This will require some 3ds max export/import/knowledge with your 3d program. I'll either post a How-To convert terrain to Static Mesh formally in a guide/tutorial or Kill Master here might help out on that with a guide of his own. Been working together with him so will post something soon accordingly!

Thank you, that's helpful! I still got some issues.

I made a map and only used MIC with Tripwire parent materials. Everything works but landscape has some issues. No matter if I use Tripwires own textures or my own textures I only see two components of my landscape with textures.

Some pictures
With my textures:
http://i1373.photobucket.com/albums/ag361/Norsupaastainen/saharatesti2_zpsbehgvvif.jpg

With Tripwire textures:
http://i1373.photobucket.com/albums/ag361/Norsupaastainen/saharatesti3_zps7vxdafwi.jpg

Results are similar. And in editor how it should be.
http://i1373.photobucket.com/albums/ag361/Norsupaastainen/saharatesti1_zpsgpma7nvd.jpg

Then again I also have this test map with only skybox, couple trees and huge landscape with completely custom textures and it works fine.
http://i1373.photobucket.com/albums/ag361/Norsupaastainen/testi10_zpsxxlspd2d.jpg

I have no idea what is going on but I look into it and will post here if I get anything.
 

Norsupaastainen

FNG / Fresh Meat
Dec 7, 2016
3
0
0
28
Got the textures working on landscape I think.
Landscape contains different components. Every component on landscape must contain every texture from base landscape material, grass,dirt,rock and leaves.
My own imported textures works fine on landscape.
 
Oct 21, 2013
68
3
8
Ered Luin
Norsupaastainen;n2281398 said:
Got the textures working on landscape I think.
Landscape contains different components. Every component on landscape must contain every texture from base landscape material, grass,dirt,rock and leaves.
My own imported textures works fine on landscape.

I can't see your pictures as they have errors for some odd reason.

EDIT: Nvm I can see it. Looks nice!

Have you cooked the map to see the result of custom landscape mats? Because custom materials with the landscape doesn't work. It'll nullify all your custom materials in the map after it's cooked. It may appear fine in Editor and such but make sure it works. You have to remove Localshadercache that gets generated with the map in the Published Folder. It has to be just the KFM file in order to be a fully functional map.
 
Last edited: