elDiablo wrote:Hey murgh, I tried to email you via the forums, but guess it didn't work. There was a mantis bug that was incorrectly casting some types of variables (assuming a bool when it was a string - oops!), which might have affected this. Glad you found the problem and it wasn't something nasty that needed a hotfix.
I don't check that address too often, but I see now that you've mailed me indeed.

The only thing I had to change was commenting a few lines in the basketball.lua script. After that it worked fine again:
Code: Select all
...
timeTot=0
timePerUpdate=0
if this.Carried==0 and this.Loaded==false and this.NewPosX~=nil then
--this.Vel.x=this.Vel.x*10 -- seems to have no effect? or does it?
--this.Vel.y=this.Vel.y*10 -- ^^
--this.AnimateVelocity=true -- ^^
--this.ApplyVelocity(this.Vel.x, this.Vel.y, false) -- ^^
this.NavigateTo(this.NewPosX,this.NewPosY)
--this.AnimateVelocity=true
...
So my guess was something changed to Vel.x/y (since making the velocity 10 times faster apparently didn't work prior to PA8a). It's the only thing I can imagine making the ball shoot like a jet fighter to its next target. Unless it has to do with AnimateVelocity or ApplyVelocity, since I just commented everything out.
BTW I do hope that the new interface for objects is still a preview and not considered a finished item on the to do list.
Buttons behave
very inconveniently now, it used to be much better. Basically every mod using buttons has now a disadvantage. Please read more here
http://bugs.introversion.co.uk/view.php?id=11068Also the debug window seems to open a random screen instead of the window for that item you clicked on. Whenever there is an error now, it will open a debug window but show nothing. You'll have to manually find the object with the error from the new pulldown menu, and then I get a heart attack because half of my screen is suddenly filled with numbers to choose from. Many scripted items in a big prison = a very huge list of debug screens to choose from... :s