Jump to content
  • entries
  • comments
  • views

CHAPTER 1: Number of scripts in a mod.



The first point is about the number of scripts in a mod.
Many people think that a mod with thousands of scripts is a "HEAVY INTENSIVE SCRIPT" ==> FALSE
The number of scripts in a mod is NOT related to the weight of the scripts.
The base game has 10k scripts, Dawnguard and Dragonborn add 3k and that does NOT mean "SCRIPT INTENSIVE HEAVY".
A mod like 3DNPC has 6836 scripts and that does NOT mean "SCRIPT INTENSIVE HEAVY".
A mod like slaverun has 4104 scripts and that does NOT mean "SCRIPT INTENSIVE HEAVY".


First, you MUST know the basics. The game does NOT activate ALL the scripts of all mods by default.
The game activates ONLY the script related to the ACTIVE quests of the mod, and of course, only SOME mods will activate ALL of its quest at the beginning. See the screenshots:




In the first screenshot, you can see the slaverun script folder and it has 4097 scripts.
In the following screenshot you can see one of my saved games and if I filter it by SLV I can see how many scripts I have of slaverun.
How many scripts i have??? Only 670 and i not have the 4097 scripts of slaverun loaded.
That is because ONLY some quest of slaverun are active and the game load ONLY the scripts related to the active quest.
When a new quest is started automatically load all the scripts of the quest. 
Of course, when a quest is completed, the game discards all scripts and related data.
But load the scripts not mean EXECUTE them. The game load it ONLY for have it in READY FOR EXECUTE state and execute it when need.
In a mod with dialog near half of the scripts are related to the dialog and are executed ONLY when the dialog line is selectect.


Then, if a mod have thousand and thousand of scripts that NOT MEAN IS SCRIPT HEAVY INTENSIVE.
The only problem caused by the number of scripts is the string table bug because each script need a space in the string table.
If you install a lot of mod's with a lot of script, quest, alias, animations... your game can have the string table bug.
But this problem has been solved by Crash Fixes 12 more than 3 years ago and i think nobody have this problem today.


Recommended Comments

There are no comments to display.

  • Create New...