Resource icon

[Open Assets] NotUDMF (Scenery scaling for mappers) 1

Seen in gfz2pog, this script allows mappers to change the size of scenery objects, enemies, monitors, and more. This script is activated in the level header, like so:

Lua.FakeUDMF = 20
Lua.EnemySize = 120
Lua.MonitorSize = 112
Lua.RingSize = 105
Lua.TokenSize = 160
Lua.StarpostSize = 110

FakeUDMF is a percentage value - it's multiplied by any MF_SCENERY object's parameter value to get the custom scale. For example, with FakeUDMF of 20 and parameter of 6, the object's final scale will be (6*20) = 120%

You can use this to have the Parameter value in zone builder act as a "scenery size" modifier for each individual prop. If the parameter value is 0, the object won't change size at all.

EnemySize, MonitorSize, RingSize, TokenSize, and StarpostSize are all percentage modifiers to the size of those objects.
  • srb20247.jpg
    srb20247.jpg
    176.3 KB · Views: 253
  • srb20248.jpg
    srb20248.jpg
    157.5 KB · Views: 223
Author
Krabs
Downloads
392
Views
1,342
Extension type
lua
File size
1.3 KB
MD5 Hash
4af013a3e2713bf0c23897ae40da2db8
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Krabs

Share this resource

Back
Top