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

    • 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.
      · 1 reply
    • 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...