Jump to content
The Dark Mod Forums

Recommended Posts

Posted

I have a very long wall, and I would like to "fit" one texture on it vertically, but then just have the texture repeat at that scale horizontally. Is there a way to "fit" in only one direction? If not, I would like this feature :)

shadowdark50.gif keep50.gif
Posted

You can use a pattern brush: build your wall as normal. Then build a separate brush, aligned properly with the wall and texture it appropriately (e.g. it would be 128 on a side or whatever dimensions you want, aligned 1x1). Now just copy that alignment to the wall (MMB followed by ctrl-alt-MMB), and you'll have 1xn alignment.

post-58-1241703014_thumb.jpg

Posted

Or fit the texture 1 time vertically (any number Y times horizontally) and copy the scale value in the Surface Inspector from the vertical scale entry over the horizontal one.

Posted

Okay, I can see how either of those approached would work :)

 

(would be nice to have it direct though)

shadowdark50.gif keep50.gif
Posted
(would be nice to have it direct though)

Yeah, I know, but my DarkRadiant time is very limited right now. I'd like to do more algorithms like this with Python scripts, which can be developed in a much shorter time than C++ code, but the script support is not ready yet to create texture algorithms.

Posted
FTR, I use the pattern brush technique all the time for aligning patches to brushes, so it's actually a very useful thing.

 

Ah, that DOES sound very useful, should go into some wiki pages for people to learn this good technique!

shadowdark50.gif keep50.gif
Posted
I have a very long wall, and I would like to "fit" one texture on it vertically, but then just have the texture repeat at that scale horizontally. Is there a way to "fit" in only one direction? If not, I would like this feature :)

 

I don't get what your asking really. But cant you just use the fit ratios? (When you fit the default it 1 and 1 change to 1 and 2 or w/e)

Posted

but I don't know exactly how long the wall is or whatever. So maybe the wall is 12 tall but 328 or whatever long, I don't feel like doing the math to divide that, and have to adjust the wall length to be a multiple of 12, etc.

shadowdark50.gif keep50.gif

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      TDM is now in the Top 100 for Mod of the Year! Please vote again: https://www.moddb.com/mods/the-dark-mod
      · 1 reply
    • snatcher

      Author of the Visible Player Hands mod: please come forth and collect a round of applause!
      · 2 replies
    • nbohr1more

      Holiday TDM Moddb article is now up: https://www.moddb.com/mods/the-dark-mod/news/happy-holidays-from-the-dark-mod
      · 0 replies
    • nbohr1more

      Cool thing: Thanksgiving break means I don't have to get my son up before dawn

      Not cool thing: My son stays up all night on my PC so I don't get much TDM time...
      · 3 replies
    • datiswous

      Does anyone know if the mission/map in this video posted by @Springheel can still be found somewhere and played? Looks like fun.
       
      · 2 replies
×
×
  • Create New...