hogsy / jaded

A repository for raising any tickets relating to Jaded, the Community Patched Jade Engine. There is no code here.
https://oldtimes-software.com/jaded/
1 stars 0 forks source link

[BUG] Error when applying AI scripts (OMD) to objects #37

Closed MaeDaGoof closed 5 months ago

MaeDaGoof commented 8 months ago

Summary

There are omd files that are used to give game objects AI functions, but in the 0.3.0 release, it does not work anymore.

Steps to Reproduce

Taking whichever omd ai script file from the Technical bank, and dragging it to an object with no fuctions (oin and/or cin) attached to it in the 3d view.

Expected Result

When dragging an omd file to an object, it should give said object the chosen AI functionality from the omd with no issues.

Actual Result

It gives the assetion errors seen below and crashes the editor after ignoring both.

Screenshots or Videos

image image

Additional Information

I usually go the previous versions to add ai to objects, and after loading the maps with those objects in the 0.3.0 release, there is no issue, works like it should, so it is specficially a problem with applying the AI, not the object having it.

hogsy commented 8 months ago

Related to the changes introduced here, and I just realised that's happening in the new code we introduced, so we'll need to investigate what's going on there. As mentioned on Discord, I probably won't get to it until December, so just use the prior stable release for now.

hogsy commented 5 months ago

Mae has confirmed the issue appears to be fixed but will let me know if anything else pops up. Will close this one.