Explanation needed about sinceversion="2"

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Browser_ice
Posts: 488
Joined: Sun, 5. Feb 06, 17:15
x4

Explanation needed about sinceversion="2"

Post by Browser_ice »

Hi, I think I already asked this in the past but cannot find any references.

If script abc.xml has in it the parm sinceversion="2" (any value), then this means the game software will take in account abc.xml version=the-current-active-one AND abc.xml version=2 but only for the current bloc being executed ?

If yes, then in theory you could have multiple version of the same script just because of this parm.
Ubuntu 24.04 playing with ProtonDB
Intel I7-12700K
32Gb Memory
Nvgidia RTX-3060
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

the sinceversion is for patch compatibility only. All Scripts only store the number and type of the Blocking Action they are currently on in the Save (and also all current Variable Values), and if a Patch introduces new Blocking Actions these need to be ignored when loading a Savegame from an older Version, or the Script will break. If this is not properly taken care of the Script will just abort and give ontrol back to the previous Script in the Stack..
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

Return to “X Rebirth - Scripts and Modding”