• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Need some help - how can I exclude default ground objects?

Captain Kurt

Administrator
Staff member
I know there is some method to create an exclude bgl that removes the default CFS2 buildings from stock airfields, but I don't know how to do it. I can remove the runways and ground textures, but the buildings are still sitting there.

Can someone give me guidance? Thanks.
 
CK,

Its all in the GSL gobs. You'll have to find the gob for the area containing the specific base and edit it with GSLedit. Then export the layer as a new gsl file. Assuming this will be part of a new addon campaign, the user applying your package would then install the gsl file with GSLman and this would wipe out all default objects pertaining to the stock base while simultaneously installing your new objects.

Read the PDF in the attached zip. You want to go directly to page 10 to get the info you need for the operation. The txt file contains a sample list of all of my installed airfields in my PTO setup - including stock - and their corresponding gobs. This should make your "search and destroy" mission a little easier. Once you identify the gob's code name, you can easier locate it in GSLedit's list. When you click on the gob in the list, you'll get a listing panel on the right which shows all the objects in that gob's area. Those items which have pictures in the INFO folder will display their images along with their dp file names. Those that don't will show as file names only.

Just keep in mind that you won't be able to manually delete anything with the program. It just gives you a listing of current items in the area. When you create your new gsl in MB, this will auto-exclude any stock items there, as the guide will tell you.
 
Reply...

Bearcat and Kurt,

Actually, we can do even better here. Although it is at Lindsay's, he has a GSL tutorial which includes an "empty" GSL file, devoid of gobs. All you have to do is rename the "empty" gsl file, and call it cfs2.gsl...

Presto! A world devoid of gobs. I use the "empty.gsl" as a base for all my ETO/MTO/OstFront installs, that way there are no Pacific elements whatsoever.

http://forum.lwdesigns.com.au/downloads.php?view=detail&df_id=56 (Tutorial for enabling and using the built-in CFS2 GSL editor. Also contains an empty GSL file.)
 
I have that also Rami...

One Problem: what if one doesn't want his whole world emptied of all existng GSL objects (stock and addons), just one specific location? That's what empty.gsl does. It wipes the whole world clean, not just one little area. What you're proposing is for someone looking for an easier way to do a complete theater makeover one base at a time. That may work great for a new Euro-Med install which has no stock GSL objects in those regions to begin with and no need for any Pacific theater stuff -- so yeah, you can take them out and never miss them. But obviously Kurt is working in the Pacific, where stock objects abound almost everywhere and most are necessary and desirable to some extent. So here's where we should use laser surgery rather than an axe.
 
With the built-in GSL editor that Rami mentions you can also remove selected objects from your GSL file.
You start the editor, change the layout at your airfield as you like, and the new layout is then saved on your existing GSL file.
 
Reply...

Bearcat,

Ah...it seems I jumped the gun. :isadizzy: In this case, if he has it, why not use Martin Wright's GSL editor, turn the gobs back into layouts, and then cherry-pick what to keep and what to discard?
 
With the built-in GSL editor that Rami mentions you can also remove selected objects from your GSL file.
You start the editor, change the layout at your airfield as you like, and the new layout is then saved on your existing GSL file.

Uhhhmm, thanks Skylane...that's what page 10 of the attached guide instructs one to do. Its a comprehensive guide on how to use the editor.
 
Hiya Bearcat,

I think you may have accidentally uploaded just a shortcut to Martin Wright's GSL Scenery Design Tutorial instead of the tutorial itself. At least that is all I get when I download the gsldesign.zip- a shortcut to an unreachable file located on what I assume is a backup hard drive.

Find attached a zip containing the actual file.

Cheers,
MR
 
Not a problem, buddy. I have a few years on you and am experiencing senior moments with increasing frequency!

MR
 
Not all scenery objects are GSL placed objects. They may have been placed using other methods, if so you will have to decompile the bgl that the object are in and manuly remove the object and recompile.
 
Back
Top