Sign in to follow this  
Guest bahri

Default buildings

Recommended Posts

I'm to the point in my Phoenix area scenery design where I'm doing the fine details now including relocating many of the downtown buildings that FS has created but badly misplaced. The process on most of them is pretty simple even if it's a bit time consuming. I have a very good list of all the major Phoenix building objects from an Excel spreadsheet I found in one of the scenery design libraries. Nearly all the Phoenix objects have names such as Phx_BOB or Phx_QwestTower and it's fairly easy to find the GUID's for manipulating and replacing the objects. First step naturally is to exclude the current object placement and in most cases that's really easy. I have the freeware utility (think it's called "Exclude Builder") where you slew to the NW and SE corners of the building and it creates the exclude script for you. In nearly all cases I can just check the flag marked "Custom Objects" and the generated .bgl file works wonders in removing the building. However, I'm finding some buildings that FS has placed only get excluded if I mark the box labeled "Generic Buildings". Anyway, I'm able to remove them but the list of objects I have doesn't seem to include these generic buildings. Is there any way of finding out what the object GUID's are in an area you wish to exclude so that you can add them back in at a different location?I did use a utility last night against some generic scenery .bgl file I found in the FS directories that extracted this big list of .mdl files with GUID number filenames. I thought I'd be able to open those .mdl files in GMAX to see what the object is but it balks at them. Obviously I'm missing a step that converts back the .mdl's to GMAX compatible files. How does one do that or is there an easier way to look at these files and get an idea of what they represent?Art Martin

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi Art.Generic buildings don't have a GUID. They are simply coded from XML.The BGLComp SDK has a whole section on Generic buildings. In the past, they have also been called Advanced buildings. They do not represent "real" buildings, but are similar to autogen, but you have more control over their height and texturing. Their roofs, if flat, are landable.Dick

Share this post


Link to post
Share on other sites

Ah, very interesting. Think I have a copy of that SDK so I'll read up on it. Certainly beats building each building in downtown Phoenix in GMAX although there's some wild ones that FS never created that really need to be represented. I got into GMAX last night trying to do some simple structures and the darned thing kept erroring out on me after my objects got to a certain complexity. I understand it's a powerful program once someone gets good at it but what a horrible user interface. I have always taught myself complex computer programs and languages and this program is obviously the creation of true nerds. Why in the world do you have to click on 3 or 4 successive cryptic symbols to get to a screen for wrapping a texture file around your creation. Not once does the text in any of those symbols and windows say anything about texture mapping from an image file. You just start clicking and all of a sudden you stumble upon the file open box. Even when I've followed tutorials for this mess, the commands and syntax they use still end up confusing. The last real 3d modeling program I used (other than Punch Home Design) was on my old Amiga computer and, even though it's been many years, I'll bet I could get up and running on that again in minutes. I remember it to be logical and neatly laid out and texture mapping, ray tracing, and lighting were an absolute breeze. Heck, if I could figure out how to export buildings I make in Punch Home Building Suite, I'd prefer that over GMAX. Oh well, I'll master it eventually but it sure is fun to #### in the meantime.Art

Share this post


Link to post
Share on other sites

The word "bXXXh" is banned in the forum? It's a female dog for crying out loud. lolArt

Share this post


Link to post
Share on other sites

Hi Art,I feel your pain regarding Gmax. However, I've been using it for a couple of years now, and I wouldn't trade it for any other tool. Well, at least no other tool I could afford ;-). I do recall having a lot of crashing issues, but that was with earlier versions of Gmax, like the one from the FS installation CD. I'd highly recommend that you go to the Discreet website and download the latest version, which is 1.2 as of this writing. Since I've started working with this version, I don't think I've had it crash on me once. Also, the texturing is quite straightforward. It does require acquainting yourself with the working methodology of the program, but once you're into that, it's a breeze to add textures. If you're intent on doing more 3d design, I'd highly recommend that you pick up one of the several books that are available on it now. I like the Gmax Bible myself, but it's rather thick, and covers a lot of game-specific info that isn't applicable to FS. If you'd rather go the free route, there are a lot of good tutorials available online as well.thanks,

Share this post


Link to post
Share on other sites

Hi Art.Another tool project for you?XML Generic Buildings really don't have a good creator/placer program. SceneGenX will work, but I find the GUI unwieldy, and I have some problems with the accuracy of object placement with that program.We just need some simple interface, and a slew mode connection to FSUIPC or FSConnect, and we should be able to place the buildings.For your autogen program, you should be able to make something that would create the xml code aligned on the photoreal textures. Then your autogen program would become a photoreal autogen/generic program.:)Advanced Buildings started with FS2000 ( I think ) and have now evolved into XML Generic Buildings. They have a limited "palette" of textures and shapes to choose, but the combinations are a bit much. I thought a smaller, "prebuilt" list would be fine, limiting the choices to area, rotation and height might be a good way to go.Dick

Share this post


Link to post
Share on other sites

Darn Dick, we think too much alike. I just tore into the BGL SDK and thought "man, there ought to be a program to fill in all those stupid parameters more easily than typing XML code for hours." I can't believe there isn't one. Have never tried SceneGenX. There does become a point though with adding new things to the Autogen program where I simply just write a whole new simulator. *:-* Art

Share this post


Link to post
Share on other sites

Bill just got back from the Discrete website and did exactly as you said. Also got the GMAX SDK as well just in case I didn't have all those components updated. Will try it out over the weekend.I did imagine that books on GMAX would concentrate mostly on gaming, characters, and weapons and not talk much about building FS landmarks so I'll stick to the few tutorials I've seen. I'll get good at it quick enough if I ever stop adding things to my Autogen program and get some spare time back again. I want it all and now. lolArt

Share this post


Link to post
Share on other sites

Funny this should come up again, I'm recreating up to several hundred buildings and had planned to use Gmax for landmark buildings combined with generic buildings constructed in SGX. I just started today. Yup, SGX has some significant drawbacks, but I was able to create a bunch of buildings fairly quickly, particularly by using copy and paste so I wasn't starting from scratch every time.But it might not be so bad to create a couple of dozen generic gmax buildings and scatter copies of those about. Question is do I place them in SGX (I hope it can place custom models!) or in SBuilder in which case I need to coordinate two programs.I asked Luis in his forum a while ago if he planned to update SBuilder with generic buildings, and it is not high on his list.Fortunately the airphoto I'm using for reference has fairly long shadows, so I can use them to adequately gauge building height, based on a few known building heights. www.emporis.com is a great reference for that.Now I hear that some clever guy by the name of Art Martin has created a flashy program for autogen; I wonder if that program could be extended to include generic buildings.Art, I found gmax a quick learn although it can be frustrating at times. But there are a bunch of experts out there at scenerydesign.org, FSDesign Studio and TurboSquid that made it much easier.Jon

Share this post


Link to post
Share on other sites

Hehe, sounds familiar :). This feature is still on my ObPlacer XML wishlist as well. Hope I find some time soon to start working on it.

Share this post


Link to post
Share on other sites

Well, Arno if you do add it to your nifty utility, what would make it very cool is a preview window that shows exactly what you'll get as parameters are adjusted.Jon

Share this post


Link to post
Share on other sites

Good idea, but I have no idea how many combinations there are :). Could mean I have to make a lot of preview images (or find a smarter way to do it maybe). I first have to look at the XML code involved to see how I can add it to the interface easily (I never really used these type of buildings in my scenery yet).

Share this post


Link to post
Share on other sites

There are MANY combinations, you would best cleverly create a composite image, the components of which are each compressed or expanded according to the parameters. much as the real textures and object size are created.Lots of fun I'm sure.;)Jon

Share this post


Link to post
Share on other sites

Hi Arno.There are about 85 varieties of floor textures, and there numbers match the top textures. The window textures don't match the floor numbers exactly, so they'd need to be looked at to find the best match. Roofs are somewhat interchangable... but some are best for houses, rather than flat-topped buildings.Most floor textures relate to square, flat-topped buildings.Of the 85 basic types, each type can have several sizes and stories.Sizes are might be best kept to multiples of 256, to allow the tiling of the textures to fit properly. Then they can be scaled in the XML code to the right overall dimensions.So if we want a standard library of these objects to select from, we'd need to catagorize them by type ( derived from the floor texture name ), footprint shape ( square, rectangular, elongated ), footprint size ( small, medium, large, huge... ), number of stories, and roof style.Then, we can scale these with the XML code to get a building shape near to what we want.These are just for flat-roofed 4-sided buildings!Luckily, we have computers to help us in this. ;)Type, Footprint Size, Footprint Shape, Stories, Roofstyle, ( then...XML scale, heading, latitude, longitude ).With all this fooling around, simple gmax buildings, combined into libraries, using the Generic textures, would work just as well!For smaller areas, autogen works very well. We can place autogen on transparent VTP polys over non-photoreal areas, and over the phototiles on photoreal areas. So, maybe we'd be better of using autogen when possible, and gmax when accuracy or detail is needed... otherwise we'd need 100's of possibilities for a basic Generic set of buildings!Another tool needed might be one that will measure distances from one point to another in the sim. That would allow XML scaling to be better than trial and error, and would be handy to know meters for gmax creations.Dick

Share this post


Link to post
Share on other sites

Hi Jon,Just had a look in the SDK and there are a lot of options indeed. To get a better idea of how to implement it I could use a few examples of actual working Generic buidlings. Could you maybe mail me some of the buildings you made?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this