Jump to content
The Dark Mod Forums

Skybox Trees?


jaredmitchell

Recommended Posts

Hey there, guys.

 

I'm currently trying to finish up my map, and the last thing I need to do is decorate my 3D skybox to look like a convincing forest. Since I had prior experience using these in the Hammer editor, I didn't think that what was available to use for this feature would be radically different in Radiant.

 

The biggest issue I'm running into right now is a lack of models that are intended for use in the 3D skybox, trees being the most pressing need. I just wanted to double-check: are there any models made for this purpose that I'm not seeing in the directory? And if not, has anyone else found a good solution for this problem? I'm currently using patches to make miniature trees, but they look almost exactly like something a kindergartener would draw.

 

Thank you very much!

  • Like 1
Link to comment
Share on other sites

You could try normal tree models, and scale them down by 16 using this spawnarg on each of them:

 

"rotation" "0.0625 0 0 0 0.0625 0 0 0 0.0625"

 

Once you've done that, you can use the normal DR rotation tools to vary the look.

 

If you have lights in your skybox, you might want to turn off shadows ("noshadows" "1") on each tree.

  • Like 1
Link to comment
Share on other sites

A few remarks on the subject of forest skyboxes:

 

Try what it looks like when there's no ambient light reaching the skybox, you'll get black silhouettes of the trees against the background of the sky. I found that to be much more immersive.

 

You can fill any gaps between trees with easily self-made bushels as per Sotha's Outdoors Recipe.

 

Performance is a factor with this kind of skybox, so it'd be worth trying out the envshot command to turn the complete assembly of forest models into a texture. But I'd only suggest attempting this if you're already comfortable with setting up custom textures in TDM.

 

Otherwise, while downscaling with the rotation spawnarg is viable, it comes with the performance downside that you can't use SEED to merge identical models - SEED would really pay off in a forest skybox. Ideally you'd downscale via a modelling program.(Also note that the rotation hack breaks the collisionmesh and shadowmesh: you can get around this by creating brushes textured with nodrawsolid and shadow as a replacement, if either is needed).

 

Thanks for the reminder, especially since I have a rotating light for a lighthouse at the other end.

Interesting, does your mission have a maritime theme then?

  • Like 2
Link to comment
Share on other sites

Lots of good advice, Dragofer, thank you. That forum post you linked does seem helpful, especially because I found out a method I used to merge levels and 3D skyboxes in Hammer won't work with idTech's skybox camera.

 

Because of the lighthouse, though, a lot of it isn't really applicable, I'm afraid. I've got a rotating light in the skybox, so the player would be able to tell if it was all just a texture. I'm using noshadows on all of these models, as well, so fortunately I don't need to worry about the shadowmesh issue.

 

In terms of performance I actually seem to be doing just as well as before, maybe an average of 2-3 fps lower? I've had the skybox implemented for a while now with a rough terrain patch, so maybe that's why.

 

 

Interesting, does your mission have a maritime theme then?

 

Yes, kinda. The level takes place in a coastal manor that used to be a Hammer church. With the mountainous terrain and pine trees, it's starting to feel really Scandinavian, which I am more than fine with!

  • Like 3
Link to comment
Share on other sites

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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 2 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...