UZB doesn't recognize the newest custom objects, but they still normally appear in-game.

Aquavine

📀🌻Frutiger Aero enjoyer :3🌻📀
I noticed a weird oddity with UZB and custom objects. Every time I add a new object to my UDMF map, it doesn't appear in the objects list and I instead have to manually write the object's address in to even place it. And it works in-game, but the editor still acts like the object doesn't exist and using the missing object template. This issue happens only to the newest added object. (A.k.a the one with the lowest object address. 4095 appears in the list, but 4094 doesn't.)

It's not a game breaking issue for me, but it's still quite weird for me and I rather visibly see the object and it's hitboxes instead of having to guess how it will look like in game. And the issue never happened in any of my binary maps, so it has to be an UZB exclusive issue. And the issue doesn't fix itself when placing the object and reloading the editor.



1735040601325.png

1735040605545.png

Upon testing the map, SRB2 is able to read and normally insert the object where it should be.
srb20216.png
 
I noticed a weird oddity with UZB and custom objects. Every time I add a new object to my UDMF map, it doesn't appear in the objects list and I instead have to manually write the object's address in to even place it. And it works in-game, but the editor still acts like the object doesn't exist and using the missing object template. This issue happens only to the newest added object. (A.k.a the one with the lowest object address. 4095 appears in the list, but 4094 doesn't.)

It's not a game breaking issue for me, but it's still quite weird for me and I rather visibly see the object and it's hitboxes instead of having to guess how it will look like in game. And the issue never happened in any of my binary maps, so it has to be an UZB exclusive issue. And the issue doesn't fix itself when placing the object and reloading the editor.

That sure is weird... I (and most UZB builders) add custom objects through Lua and nothing happens. If you're using SOC, maybe that's the problem.
 
That sure is weird... I (and most UZB builders) add custom objects through Lua and nothing happens. If you're using SOC, maybe that's the problem.
Why do I even have to do lua to add a literal scenery object if SOC always worked without any issues in ZB?! :devastation:
Post automatically merged:

I don’t think the SOC itself even has any typos, because if it had then all of my 20 - esk custom objects wouldn’t appear at all, but they do.

It’s just the ones with the lowest thing type that don’t get loaded into the editor.
 
Last edited:
Why do I even have to do lua to add a literal scenery object if SOC always worked without any issues in ZB?! :devastation:
Idk. Probably sphere will fix that in v1. But don't worry, adding objects with Lua isn't very diferent to SOC, read this SRB2Wiki article for some info about how to do that. And as for the UZB variables (name, sprite, category, ...) instead of using a hash (#Info) use a double-slash + money sign (//$Info)
 
Idk. Probably sphere will fix that in v1. But don't worry, adding objects with Lua isn't very diferent to SOC, read this SRB2Wiki article for some info about how to do that.
I don’t think I really want to switch to lua considering that I just find SOC way simplier and less complicated without all the ”{}” and stuff.

To me It just seems like making stuff slower and less easy to edit for myself. (Also SOC is here for a reason and I will use it. :threat:)
And as for the UZB variables (name, sprite, category, ...) instead of using a hash (#Info) use a double-slash + money sign (//$Info)
I’m not really sure for what I even need this info for and how I could even use it. Is it for the SOC or the Lua part? (I’m acting like a kid in a fog, but this is the first time I see this in my life. -.-)
 
I don’t think I really want to switch to lua considering that I just find SOC way simplier and less complicated without all the ”{}” and stuff.

To me It just seems like making stuff slower and less easy to edit for myself. (Also SOC is here for a reason and I will use it. :threat:)
Oke.

I’m not really sure where and for what I even need this info for. Is it for the SOC or the Lua part? (I’m acting like a kid in a fog, but this is the first time I see this in my life. -.-)
That's for the Lua part.
 
Then I guess I’ll just power through with those missing object thingies. (Or just make a dummy object so others would appear. •3•)
My theory was somehow proven right.
1735301953837.png

So I think I'll just make a dummy object for my every map and delete these at the end of the map's development. :P
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top