Bitesize contributions

Discussions About CyanWorlds.com Engine Client & Plugin
User avatar
Lyrositor
Member
Posts: 156
Joined: Sun Feb 05, 2012 10:58 pm
Contact:

Re: Bitesize contributions

Post by Lyrositor »

And what is this compiled code used for afterwards? User-scripting? I've noticed scripts pertaining to many of the Ages.
Lyrositor
Explorer #16601888
To D'ni, or not to D'ni. There is no question.
Image
User avatar
D'Lanor
Member
Posts: 142
Joined: Tue Dec 23, 2008 11:23 pm

Re: Bitesize contributions

Post by D'Lanor »

Python script is used for puzzles and anything interactive that requires more than a simple click. It also takes care of synching game states between players through SDL variables.


Edit: Probably the best example of something that should have been controlled by Python/SDL variables is the automatic door in AhnonayCathedral. A player who links in always finds the door closed while at the same time players who are already in the age see it wide open. It was ported like this from the single player game where it did not matter and never fixed.
User avatar
Lyrositor
Member
Posts: 156
Joined: Sun Feb 05, 2012 10:58 pm
Contact:

Re: Bitesize contributions

Post by Lyrositor »

I see. Could that bug be fixed using only Python then? Or maybe it already has been...
Lyrositor
Explorer #16601888
To D'ni, or not to D'ni. There is no question.
Image
User avatar
D'Lanor
Member
Posts: 142
Joined: Tue Dec 23, 2008 11:23 pm

Re: Bitesize contributions

Post by D'Lanor »

Lyrositor wrote:I see. Could that bug be fixed using only Python then?
That would require a change in the prp file which currently calls the door responders directly instead of calling an intermediate Python file. And to change prp files we need a content license. A subject which is discussed elsewhere in these forums.
User avatar
Lyrositor
Member
Posts: 156
Joined: Sun Feb 05, 2012 10:58 pm
Contact:

Re: Bitesize contributions

Post by Lyrositor »

In the future, what's going to happen with these scripts? What are they going to be used for?
Lyrositor
Explorer #16601888
To D'ni, or not to D'ni. There is no question.
Image
Post Reply

Return to “CyanWorlds.com Engine - Client & Plugin”