# Specify default World Settings (or bulk change them)?

**URL:** <https://forums.unrealengine.com/t/specify-default-world-settings-or-bulk-change-them/374690>\
**Category:** Rendering\
**Tags:** Lightmass, World-Settings, default-value, unreal-engine, question\
**Created:** [October 28, 2016, 2:11am UTC](https://forums.unrealengine.com/t/specify-default-world-settings-or-bulk-change-them/374690 "2016-10-28T02:11:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pyronious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pyronious](https://forums.unrealengine.com/u/Pyronious)\
**Post date:** [October 28, 2016, 2:11am UTC](https://forums.unrealengine.com/t/specify-default-world-settings-or-bulk-change-them/374690/1 "2016-10-28T02:11:37Z")

</div>

We have a game that uses custom Lightmass settings (configured in World Settings). Is there a way to force our custom values to be the default values in the World Settings for each map? Or a way to set them all at once? We have hundreds of levels and it would be convenient to change our settings in one place and have them propagate to all of our levels. Thanks!

---

<div class="post-metadata">

**Author:** ![Pyronious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pyronious](https://forums.unrealengine.com/u/Pyronious)\
**Post date:** [January 18, 2017, 12:03am UTC](https://forums.unrealengine.com/t/specify-default-world-settings-or-bulk-change-them/374690/2 "2017-01-18T00:03:58Z")

</div>

Still looking for help here. What about a way to bulk change world settings across multiple maps? Any guidance would be much appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![dragn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dragn](https://forums.unrealengine.com/u/dragn)\
**Post date:** [March 27, 2017, 9:53am UTC](https://forums.unrealengine.com/t/specify-default-world-settings-or-bulk-change-them/374690/3 "2017-03-27T09:53:00Z")

</div>

I have no idea why, but the class WorldSettings is not blueprintable.  
Which means you need to extend it with a C++ class with annotation UCLASS(Blueprintable), and then you will be able to create a blueprint with WorldSettings.

After that, set World Settings Class in Project Settings to your new class.  
The changes, however, are only visible after editor restart (this is probably why the class is not blueprintable).

---

<div class="post-metadata">

**Author:** ![Pyronious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pyronious](https://forums.unrealengine.com/u/Pyronious)\
**Post date:** [March 27, 2017, 6:43pm UTC](https://forums.unrealengine.com/t/specify-default-world-settings-or-bulk-change-them/374690/4 "2017-03-27T18:43:08Z")

</div>

Thanks, that seems like a reasonable solution.

We ended up needing a system to go through and process geometry on every level of the game (merging actors for perf), so one of our engineers added the ability for us to specify WorldSettings as part of that process. I believe he used the commandlet system to implement that so it can be automated as part of the build server process.

Nice to have a couple of different options for the next project though.

---

<div class="post-metadata">

**Author:** ![Kmack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kmack/32/706181_2.png) [@Kmack](https://forums.unrealengine.com/u/Kmack)\
**Post date:** [October 21, 2017, 10:13pm UTC](https://forums.unrealengine.com/t/specify-default-world-settings-or-bulk-change-them/374690/5 "2017-10-21T22:13:24Z")

</div>

I believe your best solution would be to create a new WorldSettings class that derives from AWorldSettings - something like:

```
UCLASS(config = game, notplaceable)
class AMySpiffyGameWorldSettings : public AWorldSettings
{
	GENERATED_BODY()

public:

	AMySpiffyGameWorldSettings();
};

```

…etc. In the constructor, you can override whatever default values you’d like, add new members, override functions - anything you need.

Specify the worldsettings class to use in your DefaultEngine.ini:

```
[/Script/Engine.Engine]
WorldSettingsClassName=/Script/MySpiffyGame.MySpiffyGameWorldSettings
```

---

<div class="post-metadata">

**Author:** ![Kmack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kmack/32/706181_2.png) [@Kmack](https://forums.unrealengine.com/u/Kmack)\
**Post date:** [October 21, 2017, 10:26pm UTC](https://forums.unrealengine.com/t/specify-default-world-settings-or-bulk-change-them/374690/6 "2017-10-21T22:26:10Z")

</div>

You can also specify the world settings class to use in-editor at Project Settings-\>Engine-\>General Settings-\>Default Classes
