project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding > Modding Tutorials
06 Aug 2020, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
Modding Tutorials Information and tutorials related to modding BF2.

Thread Tools Display Modes
Old 2018-04-28, 12:26   #1
PR:BF2 Developer

Outlawz7's Avatar
Default Converting a map's overgrowth to static objects

Rhino's 3ds Max lightmapping tutorial describes a way to convert overgrowth to static by lightmapping an object so editor temporarily converts overgrowth to static and then selecting everything on map via screen selection which is a lengthy, frustrating process that can be undone by accidentally deselecting or a classic editor crash due to performance.

Fortunately there is a faster way to do this.

For this you obviously need editor and a map which has overgrowth set up that you want converted.

1. Backup

Backup the following files in map's folder:
  • editor/gameplayobjects.con
  • editor/layer.con
  • ambientobjects.con
  • staticobjects.con
  • Gamemodes folder

These will get changed in the process or are simply in the way.

If your map doesn't have an AI folder with an file in it, copy it from a map that does.

2. Run editor

Run editor, load your map.

Go to Tools>Add-in Manager and load Singleplayer Editor plugin if not loaded already.

Place a combat zone counter-clockwise with Used by Pathfinding enabled.

Switch to Singleplayer Editor and click Generate Pathfinding.

This action will create a GTSData folder in your map (this is used for creating AI support for your map, but not doing that here) and more importantly, in the process it'll convert your overgrowth to statics.

Switch to Level editor and save and you should now have a new staticobjects.con with all your overgrowth in it.
Saving in Level editor will write/overwrite GPO and statics, that's why we backed them up.

You can now change or remove your overgrowth.

You can combine this new staticobjects.con with old one or load it separately or rename etc.

Outlawz7 is offline
Last edited by Outlawz7; 2019-03-31 at 10:35..
Reply With Quote

converting, map, objects, overgrowth, static
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT. The time now is 21:16.