Bitesize contributions
Re: Bitesize contributions
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.
Explorer #16601888
To D'ni, or not to D'ni. There is no question.
Re: Bitesize contributions
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.
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.
Re: Bitesize contributions
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.
Explorer #16601888
To D'ni, or not to D'ni. There is no question.
Re: Bitesize contributions
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.Lyrositor wrote:I see. Could that bug be fixed using only Python then?
Re: Bitesize contributions
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.
Explorer #16601888
To D'ni, or not to D'ni. There is no question.