Datatype Changes, porting 500-3 config to 500-4

In the latest update we have changed the import datatypes for glow. Instead of a number ranging from 0,0 to 1,0 it’s now going from 0 to 255.
Here is how to port the config without loosing the other configuration settings.

Previously
[glow]
enemy.r=0,6117647
enemy.g=0
enemy.b=0
enemy.a=0,5568628
team.r=0
team.g=0
team.b=0,7843137
team.a=0,8509804

If you want to port the colors you will need the following calculation: x * 255 = the new value
If this is not important to you, for example because you are using Health Glow anyways just change the values which are not 0 to 255 and where it says “.a” to 190.

After
[glow]
enemy.r=156
enemy.g=0
enemy.b=0
enemy.a=140
team.r=0
team.g=0
team.b=199
team.a=217

Now loading the config should not be giving errors anymore.

Posted in News.

Leave a Reply

Your email address will not be published. Required fields are marked *