Implementing Custom .dds Files for Cliff Textures

Phasmatus

New Member
Reaction score
0
Hey all,

I am fairly new on the SC2 modding/mapping scene, and I've learned a lot so far from various online resources. However, one particular subject I've had no luck finding much info on is cliffs. I've noticed that they are a bit different in nature compared to other terrain features in regards to how the editor handles them. Anyway, here is what I need some help with:

I am attempting to make a custom cliff type based upon an existing cliff, but with a few aesthetic changes, particularly in the 'diffuse' .dds file. I've exported and modified the .dds file to my liking, and have imported it into the editor. However, I can't seem to find how to actually make use of it in the editor. I've duplicated the Cliff type that I based mine off of, thinking that I could just change some of the texture file paths like you can with regular terrain textures. But there seems to be no fields or other input to change the different .dds files associated with a cliff. So, how do I implement custom .dds files into a new cliff type?

Thanks for the help!
 

Kyuft

Member
Reaction score
11
Do you wish to change the texture only? Or would you like to change the shape of the cliffs (model) also?

-Kyuft:cool:
 

Kyuft

Member
Reaction score
11
Wow, you are right, there is no such thing mentioned on the internet, and its not even mentioned in the data editor. I will continuously search for it in the data table. What are the names of the textures that you exported?

-Kyuft:cool:
 

Phasmatus

New Member
Reaction score
0
Thanks for the assistance Kyuft! The texture I exported for modification is lab_cliff1_diffuse.dds.
 

Phasmatus

New Member
Reaction score
0
Also, I've noticed that in the Data Editor under the Terrain Cliffs tab, I can access the different cliff types, and the first value listed when a cliff type is selected is "CliffMaterial". That value points to a .m3 (model) file, and when viewed in Detail View mode, it shows a cube with the different textures applied. Is it possible that the model file itself contains all the data for which textures to use for the model?
 

Kyuft

Member
Reaction score
11
Maybe, I'll take a look at that, but where did you find the lab_cliff1_diffuse.dds?

EDIT: I am 99% sure that it defines the shape of the cliffs, because there is no color in the "texture" other than black, making me think that it is not a texture, but rather matter in the model.

-Kyuft:cool:
 

Phasmatus

New Member
Reaction score
0
I found the texture file in Swarm.SC2mod\Base.SC2Assets. It looks black in the vewier, however if loaded in Photoshop/GIMP, it shows up as a full texture.
 

Dave312

Censored for your safe viewing
Reaction score
269
There are two data type related to Cliffs, Terrain Cliffs and Terrain Cliff Meshes. The Terrain Cliff Meshes data type defines the shape (model) of the Cliff. The Terrain Cliffs data type defines the texture laid over the cliff (this is indeed the Cliff Material property). In order the re-texture a cliff, you need to reskin this model with your new texture. While this can be done using the data editor for units and doodads, unfortunately there is no support for Cliffs. You will need to export the model and use a modelling program.
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
I think Dave is probably correct. If it was possible, I think the correct way to do it would be to use Texture Select By ID(http://www.sc2mapster.com/forums/re...ta-actor-events-message-texture-select-by-id/)

However, since I don't think you can mess with a cliff's actor, I'm not sure of how to do it.

Edit: I had an idea and I followed through with it, unfortunately I got stuck.

So I was thinking, cliffs must have doodads as well, right? So I took a look at the actor cheats(http://us.battle.net/sc2/en/game/maps-and-mods/tutorials/actor/) and started messing around in an empty map with a single cliff.

Two interesting actors I found were "Terrain Mgr" and "SYSTEM_Scene". I wasn't able to select them with actor cheats for some reason, but when I was writing this reply, I thought of searching for them in the data editor. Turns out they exist in the data editor. If you want something to try, try using texture select by id on one of those actors. It probably wont work, but who knows.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    that sucks i bet they are expensive
  • Varine Varine:
    Not really
  • Varine Varine:
    The entire hot end is like 20 dollars, I just can't get anymore until next week
  • Varine Varine:
    I ordered like five blocks for 15 dollars. They're just little aluminum blocks with holes drilled into them
  • Varine Varine:
    They are pretty much disposable. I have shitty nozzles though, and I don't think these were designed for how hot I've run them
  • Varine Varine:
    I tried to extract it but the thing is pretty stuck. Idk what else I can use this for
  • Varine Varine:
    I'll throw it into my scrap stuff box, I'm sure can be used for something
  • Varine Varine:
    I have spare parts for like, everything BUT that block lol. Oh well, I'll print this shit next week I guess. Hopefully it fits
  • Varine Varine:
    I see that, despite your insistence to the contrary, we are becoming a recipe website
  • Varine Varine:
    Which is unique I guess.
  • The Helper The Helper:
    Actually I was just playing with having some kind of mention of the food forum and recipes on the main page to test and see if it would engage some of those people to post something. It is just weird to get so much traffic and no engagement
  • The Helper The Helper:
    So what it really is me trying to implement some kind of better site navigation not change the whole theme of the site
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top