Almost There...
- jacoblince8
- Dec 1, 2023
- 2 min read
I'm just about ready to post my tool on the marketplace. Actually my teacher helped me out with a few problems recently. My colors for the material instancing were a bit one note and some of them were just pure black even when "Brighter Colors" was checked in the tool window.

This has to do with how my script was written. See, the colors on an Unreal material are measured in RGB values that are between 0 and 1. When you slide the scales the in between values are decimals. The problem is that I was using an API call from the guide that has been outdated for a while now. Rand_Range from the Mathlibrary API list only gives you an integer which is always a whole number to a computer. Also rand_range was deprecated and split into an integer call and a float call.


Instead I changed it to random_float_in_range. Floats allow for a decimal values so there's more variety between 0 and 1 to pick from.

So now that everything works properly I should be able to distribute it. I'm still figuring out how to put it into a plugin so for not I think I'm just going to post the scripts and Editor utility widget as an asset pack. My teacher also show me how to update my project from 5.1 Unreal to 5.3 Unreal so It can work up to the version.

The only thing left is to publish it. But it turns out I have to submit it from a hosting link.

This is going to be a bit of a hassle so I'll update you on it next week. In the mean time have a good weekend.
Commentaires