Lux Posted May 24, 2013 Report Share Posted May 24, 2013 (edited) Hey, I'm just getting in to the DR editor so these question may seem obvious to you so please pardon me for being daft As to .ASE creation, directory tree placement, import and export, etc. I was looking for this information in a wiki or something but can't locate it so I'm guessing it has to be gleaned from experimentation? Is there a link somewhere that has this information? I've found this and this, though there aren't really any specifics as to .ASE import/export process other than very general information. I have some questions on this process: 1) Do you have to select the geometry and then "Scripts > Convert to ASE" prior to "Scripts > Export ASE"? If not, what is "Convert to ASE" because at least in the editor it doesn't seem to change the model or do anything though I'm sure it does which is why I'm asking. 2) Can the geometry selected for ASE export be anywhere on your current map or does it need translated to the origin (corner bottom, center, etc) prior to export?Reason I ask this is because it was mentioned that you should create a map or a series of maps that contain different types of architecture. Do you need to keep the Origin area clear for "new module" creationand then after the model is exported, translate the particular model away from the origin OR does the option under "Scripts > Export ASE > just check the box for "center objects at 0,0,0 origin" take care of that sothe model can be anywhere on your map and that will give it a center origin on export? (I realize this should not be done for models that rotate or have a rotational point/axis) 3) How do you "Import ASE"? There is no option in any of the menus for this so I'm guessing this is done through the normal "right-click > create model" process? If this is the case then when we export ASE models and it asks the directory path where we want to export it, we have to pick one of the .pk4s like "tdm_models01.pk4 > models > darkmod > <yourfoldernameforyourASEstuff>"? I don't see any way to point the model viewer at other relevant directories so the ASE have to be in this .pk4? 4) How do we export ASE models to a directory that is in .pk4 compressed archive? Are all of the .pk4s in our Doom3/darkmod directory supposed to be unpacked in to their directory structure? Will the model viewer know where to find stuff then or are we just suppose to create the directory outside of the .pk4 in the darkmod directory? 5) Is there a way to do this WITH lighting or entities in place in the module? I realize the light vertex may have to be moved to correct rotational errors but can this be done? Will prefab work for this if not ASE? (I realize you don't want the same rooms with the same entities all over the place in your level however if the objects can all be placed at once, some deleted, rotated, translated, etc, some added in after import, this can still save large chunks of time) Kinda thinking along the lines of "kitchen_ensemble" or "bedroom_ensemble" SETS of entities/models where you have typical bedroom stuff, 1 or 2 beds, nightstand, desk, rug, candles, speakers, lights, etc. and they're in a packed group, maybe a single 8grid row/column apart, all at origin 0 for the floor of the room -- and you can just import the SET and then move/rotate/delete or add other pieces to add uniqueness. Like doing a group import of a kitchen package one time and then situating stuff where you want it and then adding in some individual flavor. Is this possible? Thanks. EDIT: I answered #3 & #4, I created a directory "Doom3 > darkmod > models > darkmod > <yourmodelfoldername>" BUT I had to restart DarkRadiant before the directory would show up in the model editor. After restart my directory structure now appears in DR and I can export to and import from that folder so I've answered the fourth question there. Edited May 25, 2013 by Lux Quote Link to comment Share on other sites More sharing options...
Lux Posted May 24, 2013 Report Share Posted May 24, 2013 (edited) <snip>Please delete. Forum lag post, sorry. Edited May 24, 2013 by Lux Quote Link to comment Share on other sites More sharing options...
Obsttorte Posted May 24, 2013 Report Share Posted May 24, 2013 BUT I had to restart DarkRadiant before the directory would show up in the model editor.Or you use File -> reload models 2.) Yes, it can be anywhere. The script takes the center of the highlighted object as origin.5.) Use prefabs for this purpose. Quote FM's: Builder Roads, Old Habits, Old Habits Rebuild Mapping and Scripting: Apples and Peaches Sculptris Models and Tutorials: Obsttortes Models My wiki articles: Obstipedia Texture Blending in DR: DR ASE Blend Exporter Link to comment Share on other sites More sharing options...
Lux Posted May 24, 2013 Report Share Posted May 24, 2013 The script takes the center of the highlighted object as origin. Only when you check the box right? This isn't default behavior is it? 5.) Use prefabs for this purpose. Thank you. Quote Link to comment Share on other sites More sharing options...
Obsttorte Posted May 24, 2013 Report Share Posted May 24, 2013 Yep, check the box. If you are using linux you can use my updated version of the script. You can find it on bugs.thedarkmod.com. It provides the option to keep the origin of a func_static if only one is exported. Quote FM's: Builder Roads, Old Habits, Old Habits Rebuild Mapping and Scripting: Apples and Peaches Sculptris Models and Tutorials: Obsttortes Models My wiki articles: Obstipedia Texture Blending in DR: DR ASE Blend Exporter Link to comment Share on other sites More sharing options...
Capela Posted May 24, 2013 Report Share Posted May 24, 2013 @ Capela: Here is an example of the Modular Building Technique What I've done is create a corridor with some detailed arches inside it. I new I would need another corridor later on in my map so I cloned it. In theory I now have two corridors for the time and effort of one. To avoid bland repetition I have given each corridor different textures, furnishings and decorations. This only took a few minutes. As you can see all the furniture and decorations are just copy and paste jobs. I have also tried to keep all modules the same size so they fit together perfectly eg 150x150. However in the examples shown the modules are rectangular. So all I did was double the length so it is now 300x150. Ok i see what you mean. Sometimes i like to ge way from the map im working and do something like a bulding or some facades that will decide later if i use it or not, and thats work that others can use if they wanted ofcourse. If the community embrasse this kinda a project, we need some kind of rules i think, as you mention the 150x150 size grid for example, a comon site for people put their work so others could download it..etc....So what is your opinion about this.!!! Quote Link to comment Share on other sites More sharing options...
DeTeEff Posted May 24, 2013 Report Share Posted May 24, 2013 It's not necessary to restrict oneself to just one grid size. Different architecture erquires different sizes. But as the mappers release their work, you will be able to collect all modules in one big repository Quote Link to comment Share on other sites More sharing options...
Sir Taffsalot Posted May 25, 2013 Report Share Posted May 25, 2013 I've kept to the 150x150 grid size very loosely. Some rooms are smaller and some are larger. A gap in between modules? No problem. Time for a narrow corridor to join the two. Modules overlapping? Just delete part of the overlapping module. I find this gives my museum a more organic feel and makes it feel less blocky. So while sticking to a grid size does make life easier, I see no reason to stick to it religiously. Quote "I believe that what doesn't kill you simply makes you... stranger" The Joker Link to comment Share on other sites More sharing options...
Popular Post Sotha Posted June 18, 2013 Author Popular Post Report Share Posted June 18, 2013 Had a few hours to spare today. Why not build modules from a reference? It is difficult to invent cool-looking architecture if you are not a trained architect. That's why mappers need to shamelessly steal ide... ehm.. be inspired by real locations. The finnish national museum would be a nice place to do some taffing. Looks Bridgeporte-y enough at least for me. Google street view is handy for collecting close up reference images. I recommend it to mappers. Just click yourself to your favourite medieval street or otherwise interesting location and map away. Building 128x128x128 facade modules according to the reference: This took a few hours to do. I could already speed-build something simple with these pieces, but need some modules... Few pieces more and I could recreate the whole facade of the museum in TDM. I get the grime modules for the same trouble as usual. Fun thing with working with reference images is that I could just create similar kind of grime as in the reference pics. My idea here is to show mappers to see how there really are repetetive features in buildings. You only need spot these features and build one of each of them, and you could create the whole building with the modules in very short time by simply cloning pieces around.Here is how I think about taking this building apart:The tower is also easy to break apart. A lazy mapper could replace some unique features with something they built already: like the doorway under the stairs could be replaced with a window module in the first floor, or the arch just at the base of the tower could be replaced with second floor arches seen just below the bay window. As you can see, there isn't that much work if you build with a clever work flow. Recreating this completely by hand would be very time-consuming. 6 Quote Clipper-The mapper's best friend. Link to comment Share on other sites More sharing options...
Sir Taffsalot Posted June 19, 2013 Report Share Posted June 19, 2013 That's what I did with my cathedral in the city area of VFAT1. It's only made up of three parts. The entrance, the main body of the cathedral and a tower for the corners. You save lots of time and see pleasing results in a just a few hours. Easy. And yes, Google street view is the mappers best friend. However, if you have the time and money I recommend going to a nice historical city for a weekend break. Not only is this fun but nothing can beat seeing a nice old building in person and taking your own personal pictures. Quote "I believe that what doesn't kill you simply makes you... stranger" The Joker Link to comment Share on other sites More sharing options...
Byrgius Posted June 27, 2013 Report Share Posted June 27, 2013 I have two questions. 1. How do you actually scale the built-in models? I've tried with 'Rotate and scale...' but the scale options are disabled when selecting a model. 2. How do you make 1D surfaces for decals? I tried with thinnest possible cube (0.125) but it leaves odd edges around. Quote Link to comment Share on other sites More sharing options...
Sotha Posted June 27, 2013 Author Report Share Posted June 27, 2013 1) You do not scale the models. You choose a grid size 128 or something else and stick with it. I mean, the modules are 128 units wide, for example. 2) You use patches for decals. Quote Clipper-The mapper's best friend. Link to comment Share on other sites More sharing options...
Byrgius Posted June 27, 2013 Report Share Posted June 27, 2013 1) You do not scale the models. You choose a grid size 128 or something else and stick with it. I mean, the modules are 128 units wide, for example. I used a standard model of doorframe and tried all mansion door models that fit the color of the frame, but none of them fits the frame, so how do I fix that? Quote Link to comment Share on other sites More sharing options...
Sotha Posted June 27, 2013 Author Report Share Posted June 27, 2013 Make your own doorframe? It is a nice and quick mapper excercise. Quote Clipper-The mapper's best friend. Link to comment Share on other sites More sharing options...
grayman Posted June 27, 2013 Report Share Posted June 27, 2013 1 - You can scale the included models using the "rotation" spawnarg. For example "rotation" "0.5 0 0 0 0.5 0 0 0 0.5" scales the model to half size in the xyz directions. You have to be careful with it, though, since the shadow mesh doesn't get scaled, and the renderer might think the scaled model isn't visible on the screen, so it disappears. Quote Link to comment Share on other sites More sharing options...
Bastoc Posted December 8, 2013 Report Share Posted December 8, 2013 Great stuff! Other noobies might want to have a look, maybe add to important editing list? Now I am wondering, where should I look learn how to convert from func_static to .ase? And then to make skins? On the wiki I found articles about modelling and skins, but with Blender. Is it possible to make everything from DR (provided it is simple geometry, you don't need Blender)? Thanks. 1 Quote Jared, is that you ?Must be rats... Link to comment Share on other sites More sharing options...
Sotha Posted December 8, 2013 Author Report Share Posted December 8, 2013 DR has an ase exporter.It as easy as 1) make model in DR.2) choose your new model3) scripts/export ase4) choose location to save it5) file/reload models6) insert model and find you new ase model. To make skin, you basically make a skins folder in you darkmod foldermake a filename.skinThe contents of the file should be like this: skin hammer_invisible { model models/darkmod/weapons/hammer.lwo models/weapons/hammer textures/common/nodraw models/weapons/hammerhead textures/common/nodraw } This a skin called hammer_invisible.It works for model called models/darkmod/weapons/hammer.lwo It replaces the following materials with texture/common/nodraw:models/weapons/hammermodels/weapons/hammerhead You could easily do a golden hammer, but replacing the texture/common/nodraw with textures/darkmod/metal/flat/gold01 You could explore the lich_queens_demise.pk4 for examples of AI skinning (the lich queen and the invisible ghosts) or module skinning (window modules with dark or lit windows.) 2 Quote Clipper-The mapper's best friend. Link to comment Share on other sites More sharing options...
Springheel Posted December 8, 2013 Report Share Posted December 8, 2013 Is there a trick to making modular prefabs that mix models and brushwork? I'm trying to make some modular buildings that mix the two, but then I can't seem to rotate them without the models getting out of place. Quote TDM Missions: A Score to Settle * A Reputation to Uphold * A New Job * A Matter of Hours Video Series: Springheel's Modules * Speedbuild Challenge * New Mappers Workshop * Building Traps Link to comment Share on other sites More sharing options...
Sotha Posted December 8, 2013 Author Report Share Posted December 8, 2013 Not that I know of. Why make a mix of models and brushwork? Either make modular .ase models or just func_statics, that capture a feature of the house, like shown inhttp://forums.thedar...post__p__313678 Then mash them together. func_statics allow you to adjust the pieces later, but you lose the memory benefits of models, and you are prone to object corruption if that bug still exists. I would stick to .ase models, then build the majority of the house with those. Later, you can hide defects or add a layer of hand-crafted func_static pieces, or even better, more ase models. The whole idea of modular building is to save effort: every single piece you build, you design so that you can simply clone it for more, and you save time and effort, once you begin to have a comprehensive collection of good modules. The downside of the technique is that one needs more discipline, must learn how to design good modules and how to hide or avoid defects like texture seams and overlapping modules (z-fighting). Quote Clipper-The mapper's best friend. Link to comment Share on other sites More sharing options...
Springheel Posted December 8, 2013 Report Share Posted December 8, 2013 Well, brushwork has the benefit of being extremely easy to modify with different textures, whereas making uvmaps and alternate skins for models is far more time-consuming. What I'm trying to do is make a series of mix and match modules for tudor buildings, where each floor is modular, so I can quickly construct a cityscape by stacking different modules. At the moment, I have one model version of the bottom floor for decorative buildings, and a model/brush version that can be used for buildings that can be entered (it has a working door, frex). The layers above that are currently a mix of brushwork (walls/beams&windows) and models (brackets and supports). But when I load up one of the mid-levels and then rotate it, the support beams underneath get all shifted around. How would you recommend handling something like that? Quote TDM Missions: A Score to Settle * A Reputation to Uphold * A New Job * A Matter of Hours Video Series: Springheel's Modules * Speedbuild Challenge * New Mappers Workshop * Building Traps Link to comment Share on other sites More sharing options...
Sotha Posted December 8, 2013 Author Report Share Posted December 8, 2013 I would recommend not making floors modular, but making FACADES modular. That way you could build a building of any shape. The support beams could be a module sized attachment. By this I mean, making a single facade module, let's say 128x128 units. Then make a beam module that fits this particular module and can just be placed on it. Look here, a quick mockup128x128 facade pieces with plaster texture. The support beam module is the one with wood texture.Caulk denotes a corner module, that makes the facade modules fit together. Hopefully this makes sense. I have not made exterior modules, only interior, but it should work in principle. You just need to think about the module design. Quote Clipper-The mapper's best friend. Link to comment Share on other sites More sharing options...
RJFerret Posted December 8, 2013 Report Share Posted December 8, 2013 But when I load up one of the mid-levels and then rotate it, the support beams underneath get all shifted around. This was the first pain point I learned, the usual design method of copy/modify can't be done here. The first prefab I loaded into DR essentially exploded in all different directions when I turned it. As crippling as it sounds, until such time as DR gains the ability to rotate around a common axis, it seems faster to build everything uniquely, then to spend time trying to build an element, then have to rebuild the element (and hopefully not miss a piece that got misplaced) every time you try to use it. Quote "The measure of a man's character is what he would do if he knew he never would be found out."- Baron Thomas Babington Macauley Link to comment Share on other sites More sharing options...
Obsttorte Posted December 8, 2013 Report Share Posted December 8, 2013 I used a standard model of doorframe and tried all mansion door models that fit the color of the frame, but none of them fits the frame, so how do I fix that?There is a door prefab fitting into the default doorframes (96x48). Use the skin spawnarg to swap the texture. Quote FM's: Builder Roads, Old Habits, Old Habits Rebuild Mapping and Scripting: Apples and Peaches Sculptris Models and Tutorials: Obsttortes Models My wiki articles: Obstipedia Texture Blending in DR: DR ASE Blend Exporter Link to comment Share on other sites More sharing options...
SteveL Posted January 3, 2014 Report Share Posted January 3, 2014 (edited) DR has an ase exporter.It as easy as 1) make model in DR.2) choose your new model3) scripts/export ase4) choose location to save it5) file/reload models6) insert model and find you new ase model. I'm having trouble getting this to work. I can export an ase but how do I do step 6 (find your ase model)? When I right-click->Create Model I don't get a file browser, I get the DR entity explorer which is organised by def files. My saved .ase hasn't magically appeared yet no matter where I try to save it. Sure I must be missing something basic... EDIT: Also, my .ase file is 6x the size of the map I exported it from! Does it embed the textures too? If so, how to avoid ballooning a map with multiple copies of textures used in several .ases? EDIT2: I see my first question was answered on the first post on this page. Missed that last night, I'll go try it again. Edited January 4, 2014 by SteveL Quote Link to comment Share on other sites More sharing options...
Popular Post Springheel Posted December 21, 2014 Popular Post Report Share Posted December 21, 2014 I would recommend not making floors modular, but making FACADES modular. I went back to experimenting with this, and using strictly model facades instead of trying to make an entire map 'block'. The results have been a lot more impressive. I've created a series of facades--regular walls, corners, dead ends, doors, etc--that all connect together. A mapper builds out his rooms on a 128x128 grid, using simple 4-unit brush walls to seal things. Then these modules can be inserted in front of the walls as needed. Unlike Sotha, I built my facades in Lightwave. It took me about a week of working on them to get this far...much of that time was in figuring out how to line them up seamlessly, and working (and reworking and reworking) the uvmaps so they lined up perfectly. I've learned that the best route is to copy a 128x128 square from DR into Lightwave, center it, and then build the facades so that their origin is exactly at the center of that square. This will ensure that even corner pieces will line up perfectly. I've already got seven skins working, and could conceivably add many more; a few examples of how different these modules can look are below. 9 Quote TDM Missions: A Score to Settle * A Reputation to Uphold * A New Job * A Matter of Hours Video Series: Springheel's Modules * Speedbuild Challenge * New Mappers Workshop * Building Traps Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.