Jump to content
The Dark Mod Forums

(Requests) Import-Multiple / Random-Scatter / Random-Rotate


Recommended Posts

In working on things like debris, junk/litter and all kinds of organic scenes with rocks and bushes, I think it would be great and save a lot of time to have some tool that can import a number of something at once, randomly "scatter" and randomly rotate (with axis-restriction) large collections of mapobjects.
For example, a mapper would load in a bunch of such objects in one spot (even overlapping) with one operation, select the multiple objects, then perform the operations separately.

 

"Import #" ('import multiple') would be an extra feature of "Choose Model" dialog, I imagine to the left of Cancel/OK a field where the mapper can input the number of these objects to bring in at once.
"Scatter" would have a value that represents extent of area, so say the mapper types in "512", it would relocate/redistribute the group of objects in a 1024x1024 unit area. ...(if this could be done while also snapping to whatever geometry is connected below it, that would be a huge plus, but also much extra coding work, I imagine.)
"Rotate" (or 'randomize-rotation', for disambiguation) would take a simple X/Y/Z option and rotate everything at random (uniquely) by that axis only.

At the end, creating such random mess for organic scenes and dirty/destroyed urban scenes would be much quicker, and hopefully these tools wouldn't be difficult to implement. What do mappers think of these ideas? If you agree they are worthy requests (or not) please chime in.

Edited by LDAsh
  • Like 3
Link to comment
Share on other sites

I just played around a bit with SEED and have to say, it needs some getting used to. Also, I found amistake in the help text of DR: For the Density spawnarg it says "Only used if 'max_entities' is > 0, then it is used as a factor to influence the entity count. Higher values => more entities, smaller than 1 => less entities. Try 0.2 .. 3 as a starting point.". However, it should be "Only used if 'max_entities' is = 0". I also found a discussion about entities only working with specific surface types, that I did not see on the Wiki, which is why it also first did not work for me. The instructions are a bit lacking here, but it is generally a very nice system, that not only can avoid manually placing each entity, but also saves recources, when LOD models are used.

Link to comment
Share on other sites

That's really awesome. I had read about it briefly before but obviously not carefully enough. :P I thought it was more for bunches of LOD'd objects that already existed in a map.

 

After playing around with it a little, it seems like this performs its magic at the DMAP stage, so my question/request now becomes:-

Is it possible to force this into unique entities (entries) into the actual map file so that seed can be initially used but then objects can be manually manipulated afterward? It would also allow these objects to be exported into something like Blender for extra tricks and then imported back into Radiant via OBJ format. I realise this defeats the purpose of the density settings, etc., but I still think it would be handy to have complete control over every object individually.

Edited by LDAsh
Link to comment
Share on other sites

Another idea that came to mind was to convert the PROC file to something that can be imported back, and I swear there was a way to do that, but I can't remember if it keeps the material headers and UVs enough in tact or not. Probably not. Never really needed to do this before, but I do remember it was possible as I compared how PROC files are carved up compared to idTech3 BSPs.

__________________________

 

(edit): I believe "Noesis" was what I had used to do it:-

http://richwhitehouse.com/index.php?content=inc_projects.php&showproject=91

__________________________

 

(edit): Ah yes, Noesis can convert PROC files to OBJ and keeps all material headers and UVs in tact. It separates by materials and Blender can easily separate further by "loose parts". Lovely.

Edited by LDAsh
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

    • Ansome

      Well then, it's been about a week since I released my first FM and I must say that I was very pleasantly surprised by its reception. I had expected half as much interest in my short little FM as I received and even less when it came to positive feedback, but I am glad that the aspects of my mission that I put the most heart into were often the most appreciated. It was also delightful to read plenty of honest criticism and helpful feedback, as I've already been given plenty of useful pointers on improving my brushwork, level design, and gameplay difficulty.
      I've gotten back into the groove of chipping away at my reading and game list, as well as the endless FM catalogue here, but I may very well try my hand at the 15th anniversary contest should it materialize. That is assuming my eyes are ready for a few more months of Dark Radiant's bright interface while burning the midnight oil, of course!
      · 1 reply
    • The Black Arrow

      Any of you heard Age of Wonders 4's OST?
      https://www.youtube.com/watch?v=Q0TcoMGq4iA
      I love how after all these years, Michiel van den Bos still conserves his "Melodic" spirit.
      · 0 replies
    • nbohr1more

      Moddb article is up:  https://www.moddb.com/mods/the-dark-mod/news/the-dark-mod-212-is-here
      · 3 replies
    • Petike the Taffer

      I've been gone for a while, but now I'm back, have a new desktop and I want to get back to making missions and playing missions. And doing other contributions. Waiting for my reset password for the wiki, but I'll take a look at it soon. Hello, all.
      · 4 replies
    • snatcher

      TDM Modpack 4.0 for The Dark Mod 2.12 released!
      · 1 reply
×
×
  • Create New...