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

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 1 reply
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...