Lazarus Magni wrote...
That's fantastic Grey Fox, thank you so much! So this should work on it's own without any further editing?
Yes. It is a self-contained standalone script. Ready as-is.
To be run through
ExecuteScript().
The Object you run it for dictates the work mode (ExportSingleCharacter() vs. ExportAllCharacters() ).
Run it for a Player to export that very Player alone.
Run it for any object other than a Player (example: the Module or a sword) to export all Players.
NOTE : This script is not to be used in conjunction with Fox Spells. First: it would not compile. Second: Fox Spells uses its own original and equivalent version of this one. So... keep the two things separate.
-fox
[edit]Hm. By the way...
18 days ago ShaDoOoW wrote...
[...] The manual saving via Export Character button should be avoided, [...] because it allows exploits [...]
The exploit he refers to is the instant refill of HP and THP in case the Player polymorphed to a creature who received Temporary Hit Points. Most polymorph shapes do this.
Said exploit is easily defeated. Zero away the THP bonus defined in polymorph.2da.
Then have your polymorph script take care to apply said THP bonus using EffectTemporaryHitpoints().
Doing so the export process shall not refill HP nor THP -- so defeating any malicious use of manual exports.
There would be more to tell about polymorphs, but I would go off topic.
If you want to learn all details, have a look at my polymorph system within Fox Spells.
-fox
Modifié par the.gray.fox, 26 avril 2011 - 01:52 .