D'Lanor wrote:No, I mean this Blender setting in "Book"...
Oh, that. Yes, the AgeSDLHook is setup as it should.
D'Lanor wrote:From what I can see you have everything set correctly so I don't know where that reset is coming from. Can you show us the full Python code?
I wanted to do some Refactoring first. This piece of software for the Transporters is no longer just a simple script - it growed to about 1800 lines of Python until now. Including comments, excluding glue.
By the way, I now implemented a zooming / moving function for the simple type camera, which normally can only set its FOV, so it did not move over the avatar's head when zooming in. Now it does, and it does smoothly. I was not able to trap the mousewheel, so we have to use "+" and "-" on NumPad, but it works.
Plus, and that was something I thought never possible with simple cams, I managed to let the subworld-camera avoid walls. So, in other words, the camera maintains its line-of-sight. Written from scratch in Python, using the new zooming capabilities. It does not avoid colliders, but directly checks the LOS, and moves forward when a wall is in the way, until the avatar can be seen again.
Regarding the false SDL state on Age start: I check now for being solo on Age load, so the effect does not appear offline any longer, but the value is still set on start, when it should be cleared. Has to be checked online, I guess.
Okay, enough told. So here comes the full package.
I think its time to release it, because others are waiting to contribute. Blender Sources (including commented sources of Python code):Relativity_V1.4_SRC.rarAnd just the Age:Relativity_V1.4.zipWhen contributing: Please do read the documentation I wrote in Blender.When playing: Please always keep your Relto book with you!And, as said above: Use '+' and '-' for zooming in SubWorlds (you start in main, btw.)
EDIT: Link to the Transporter script only:relaTransport_V1.5_py.zip
(Edit2: Blender sources link updated to RAR because ZIP had errors.)