I finally got it working !
I used D'Lanor's python with some small modifications.
To be sure my explanations don't confuse anyone again, here is how it works:
- the "/sphere" command is usable only in AhnonayMOUL
- it turns the spheres in the good order (increases the SDL var every times used and reset to 0 when the current value is 4)
- if the sphere number * is active in AhnonayMOUL, the sphere * is active in "normal" Ahnonay.
There are still small problems as the current sphere isn't updated when you link in AhnonayMOUL. It plays the good anim, but causes to warps the spheres again, so I'll probably add something to update it.
diafero wrote:Now, I know what you mean with the animation, but I do not know how to fix it

Would it work this way ? It still allow the /set sphere, but it turns it in the good order...
Code: Select all
if (cmnd == 'sphere'):
currentSphere = int(xUserKI.GetSDL(ahnyCurrentSphere[0], 0))
if ((currentSphere < 4) and (currentSphere >= 0)):
xUserKI.SetSDL('ahnyCurrentSphere', 0, (currentSphere + 1))
else:
print 'invalid value, resetting...'
xUserKI.SetSDL('ahnyCurrentSphere', 0, 0)
return None
diafero wrote:I suspect Relto is slower because of the book linking covers. And maybe the parsing of the config files and other preparations done in Python slow it down.
It seems that was the problem, thanks ! It now starts quicker.