Hello again Threads, yes I do have another question. Even though I’ve gotten most of my mod to function properly, one thing still eludes me: How does one correctly add custom-made images for custom platforms? I keep cross-checking with the GDT API and other mods (for reference only of course) and can’t see anything wrong with the code, but for whatever reason all images I’m using for my platforms are all showing up as small reference pictures with a green slash through it. I know I’m referring to the correct image files without any misspellings, yet it’s still not working.
It doesn’t have to be a .bmp file, actually, I don’t know if a .bmp file will work lol
EDIT: What is interesting here is this line:
Now, first of all, it should be iconUrl I believe(correct me if I am wrong) and second, I could man that I was correct. Now, what I remember is that when entering a path, you type it with ’ '(idk what they are called).
I guess I could try IconUrl, but judging from every other segment I’ve seen from the API and other sources, it is IconUri. Also the image is in .png format even though I’d much rather enter it as a JPG, even checked the properties to be sure. Come to think of it I might want to add underscores to the image name as well for formatting reasons.
Sorry, thought you were referring to the location of the source code. If you meant for the exported material that was copied to the mods_ws folder, it’s: \72428655_TEST_Bit_Of_Everything_RECODED\images\platforms\Dox Dimensions 1.
Yes! Changed the icons in the way you described and moved a copy of the mod into my /mods folder and now the pictures are working again. Seriously guys, thank you all. I can’t say I’m quite ready to release my mod to the public just yet, afterall this was a recoding of an already-made mod I published with UME back in the days where it still worked and it wouldn’t be fair if I just published a rehash of the same things. So instead I’m going to take some time to add some new features and make the workshop file look a little less bland.
Also, I really wish the API supported making custom achievements, or at the very least contracts. Had a whole set of unused code that’s now garbage for a variety of new contracts.