I am modding the ai, i just wonder if version number can be floats : that way, if es release a new version, they use int version as they did up to today, and modder can still mod ai through the current version dot 1.
eg version ="2", i would use version ="2.1", next patch would be version ="3"
Modding AI, version number can be a float ?
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 1269
- Joined: Sat, 11. Sep 04, 16:43
Modding AI, version number can be a float ?
"AaaAaaAah ! They're everywhere...", Jane Doe, Freedom Force.
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
i would suggest to use diff files like for all other xmls without changing the internal Version Number - if you neither add nor remove Blocking Actions the Script will work fine without using another Version number and if EGO makes some slight modifications to it you dont need to make an update yourself 
with changes in the blocking Actions it is another matter entirely and is probably very case-specific:
Blocking Actions define points where the Script will stop and you can consider operations in-between them as atomic for this purpose, if a Game is saved the current Values of all assigned Variables are stored and for which Blocking Action the Script currently waits (as INT - the game only counts the blocking Actions) - so if you want to make a complete rewrite put a few <wait exact="0s" chance="0"/> in the beginning of the Script, this is practically the same as a restart, for all other changes it depends on the circumstates which is the right way to do it.

with changes in the blocking Actions it is another matter entirely and is probably very case-specific:
Blocking Actions define points where the Script will stop and you can consider operations in-between them as atomic for this purpose, if a Game is saved the current Values of all assigned Variables are stored and for which Blocking Action the Script currently waits (as INT - the game only counts the blocking Actions) - so if you want to make a complete rewrite put a few <wait exact="0s" chance="0"/> in the beginning of the Script, this is practically the same as a restart, for all other changes it depends on the circumstates which is the right way to do it.
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
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

-
- Posts: 1269
- Joined: Sat, 11. Sep 04, 16:43