So why the need for a new DLT (Drop Lit Torches) mod? ROM's version has some distinct advantages, which I am pleased to share with you:
- It is shorter. One well-known DLT mod contains a total of 246 lines! ROM contains nearly all the functionality of other DLT mods, while only using 158 lines of code (excluding commentary lines).
- It needs only two scripts (as opposed to the four or five scripts in alternate versions).
- It uses no global variables
- It does not post any messages (such as "You cannot equip this item.")
- Its main script has only three conditional gamemode blocks to check each cycle, and one conditional gamemode block in the other script. This is opposed to the dozens of gamemode blocks that are running in other versions of DLT, which also assign variables each cycle as well (which ROM does not do). Furthermore, ROM's gamemode cycle runs every 0.25 seconds (a necessary speed to ensure prompt response to the hotkey press), while other DLT mods usually run at 0.05 to 0.1 seconds: that means that ROM runs only four efficient, sparse cycles per second, as opposed to twenty! All of which adds up to less CPU strain and a smoother gameplay experience.
- I do everything with the standard Torch02, and a torch light source. I do not need multiple torch objects (Torch03, Torch04, etc).
- It does not need a "Torch Hotkey" button in your inventory, nor will you need to use one of your existing hotkey slots to use your torch.
- Dropped torches will always appear gently right in front of you, rather than bouncing around the room and falling randomly
- Dropped torches will never have their light blocked if they roll into a crack, or underneath debris. ROM torches always emit a uniformly bright radiance, which helps a lot with mods such as "Let there be Darkness."
- Most importantly, it does not use the //PlaceAtMe// function! As I also wrote in the ROM Manual, that command is well-known for causing your savegame files to bloat, and it is best for modders to avoid it entirely. However, if that is not feasible, then at the very least, they ought to warn their players if their mod contains that function.
(cs.elderscrolls.com/constwiki/index.php/PlaceAtMe)
There are only two aspects of DLT that ROM does not mimic from other versions. First is the extinguishing of torches when they roll, or are dropped into, water. Your torch will be worthless if you drop it while swimming, but any other water contact will not affect it, and there is nothing I can do about that for now. Second, the light source does not follow the torch on the ground; this is intentional for two reasons. One, it provides *much* better lighting, and two, it saves valuable CPU power by not having to move the light source to the torch each frame of a gamemode script. It is not noticeable except under circumstances when you accidentally kick a torch far away, or down some stairs.
ROM Drop Lit Torches works very simply: the designated hotkey to use or drop your torch is the button << V >>, although players may set the hotkey to any key they wish in the ROMDLT.ini batch script file, which comes with this download. Furthermore, if the player is using a torch and combat begins, pressing the hotkey will simultaneously drop your current torch and pull out your weapon.
As in other DLT mods, your dropped torches are pegged to a timer that extinguishes them after five minutes, rendering them unusable for the rest of the game.
I have attached a PDF version of my scripts, so you can easily browse them if you'd like. Those who play my main work know that I prize efficiency and organization in scripts, and I am sure you will not be disappointed by mine.
If you like my work, you might want to check out my main project, from which this file was extracted:
http://www.tesnexus.com/downloads/file.php?id=33114
PS: I am always open to comments and suggestions!
ROM Drop Lit Torches:
http://www.tesnexus.com/downloads/file.php?id=34644