The Spellbook Injector
2019.11.12: Update for patch 1.58
2019.10.6: Fixed a bug that would cause a LE if the game was in a language other than English. Should not affect English users, please re-download if you play in another language.
Mod Overview
The Spellbook Injector is a utility mod that loads custom spells into the game. These spells won't override any EAxian tuning, which ensures that creations from different modders will be compatible!
If you're a modder interested in making new spells for Spellcasters, then this is for you! The Spellbook Injector will take care of all the scripting required to inject a new spell, so you don't have to worry about maintaining a Python script. Instead you can focus on the tuning of you spell.
I have included both a PDF tutorial and a Tuning Description that will serve as useful guides to create your own spell. Do note though that this tutorial is meant for modders that have previous experience with XML tuning. I presupose familiarity with tuning resources, string tables, and some modding lingo.
Features
Below is a list of what the Spellbook Injector (V1) actually does:
- injects spells to the spellbook
- allows injected spells to be learned randomly through one of the following interactions:
- "Ask to Teach Spell"
- "Duel for Knowledge"
- "Practice Magic"
- makes custom magic tomes purchaseable in Caster's Alley's market stall
- makes custom magic tomes findable through the "Search for Tomes" interaction
- unlocks custom spells for newly generated Sages
- allows injection of potential outcomes that result from the Curse of Scrambled Spells
- allows injection of interactions that are exclusive to spellcasters
Feedback and suggestions on new features are welcome! Post here if something comes to mind!
Installation & Testing
Note there is two downloads! Download only the correct one.
r3m_spellbook_injector.7z is the main download meant for users. It contains 3 files, which must go (no deeper than one 1 folder) inside your "Mods" folder.
File | Description |
---|---|
r3m_spellbook_injector.package | Required tuning for the Spellbook Injector |
r3m_spellbook_injector.ts4script | Required script for the Spellbook Injector |
r3m_spells_test.package | Test spell (can be deleted after testing that everything's working correctly) |
The main download comes with a test spell called "DEBUG: Test." To check that you have installed this mod properly look for this spell's entry in the spellbook. Sages should be able to teach it to you, and it can also be learned from winning a magic duel or from the Practice Practical Magic self interaction. Additionally, there's a "DEBUG: Tome of Test" that your Sims may occasionally find in the bookshelves of the Magic HQ or as a purchasable option in the market stall of Caster's Alley.
The spell itself doesn't do much. Once learned your Sim will have a new self-interaction to cast this spell. Click on your Sim and look for it under the "Spells" pie menu. After the casting animation, you should get a notification.
If the Test spell is working proceed to delete it from your "Mods" folder and download some actual custom spells!
Custom Spells
- Climatio
- Vampirify
- Skeletonize by Zer0_
- Castable Screaming Curse of Ancients by Zer0_
- Moar Castable JA Curses by Zer0_
- Stra-Strangeify by Zer0_
- Castable Mark for Death by Zer0_
- Celebratio by Kuttoe
- Upgradios by LittleMsSam
- Forbidden Spells by Kuttoe
Documentation
r3m_spellbook_injector_documentation.7z is meant for modders. Skip this file if you're not a modder willing to create your own spells.
File | Description |
---|---|
Creating custom spells with the Spellbook Injector.pdf | PDF tutorial guide detailing how to use the Spellbook Injector to add new spells to the game |
CustomSpells.tdesc | Tuning description for the Custom Spells Snippet |
SpellbookInjector.tdesc | Tuning description for the Spellbook Injector Snippet |
Study these resources and start your own project! If you need any help understanding something or you're stuck, feel free to start a new thread in the Modding Discussion forum and link it to me, so I or other modders can help you.
Zer0_ has also written a step-by-step tutorial that is more suitable for beginners. Check it out!
When you release your project, you don't have to include the Spellbook Injector script with your download. Instead, direct your users to download the latest version from this thread, which I will keep updated with upcoming game versions.
Requirements
The Spellbook Injector was built to work with game version 1.58 and The Sims 4 Realm of Magic.
Conflicts
It shouldn't conflict with any other mod as it uses its own resources and doesn't override anything.
Troubleshooting
If you have issues installing this mod, please make sure of the following before posting:
- Your game is up-to-date
- You have unzipped with 7-zip (for some reason, WinRAR will sometimes mess up with packages and scripts)
- Both r3m_spellbook_injector.package and r3m_spellbook_injector.ts4script are inside your "Mods" folder
- These files are not deeper than 1 folder inside your "Mods" folder (e.g., "Mods/Spells" is ok, but "Mods/Script Mods/Spells" is too deep)
- "Script Mods" are enabled in your Game Options
If you've checked all of the above and still have a problem, check your "The Sims 4" or "Mods" folder for any "spellbook_injector.log" file and also check for any relevant "LastException.txt." If any, attach these files and try to be descriptive when reporting a possible bug. I will try my best to fix it!
Additional Credits
- Sims4Studio
- fetusdip, for his reload script
- scumbumbo, for all the tools and resources he has shared with the modding community
- Fellow modders from Deaderpool's Discord, for their support
Filename | Type | Size |
---|---|---|
r3m_spellbook_injector_documentation.7z | 7z | |
Creating Custom Spells with the Spellbook Injector.pdf | 632385 | |
CustomSpells.tdesc | tdesc | 3219609 |
SpellbookInjector.tdesc | tdesc | 6563 |
r3m_spellbook_injector.7z
Download
Uploaded: 12th Nov 2019, 14.8 KB.
138,757 downloads.
|
||||||||
r3m_spellbook_injector_documentation.7z
Download
Uploaded: 6th Oct 2019, 628.7 KB.
36,896 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
1. Download: Click the File tab to see the download link. Click the link to save the .rar or .zip file(s) to your computer.
Read the upload description for installation instructions. If nothing else is specified, do the following:
2. Extract: Use WinRAR (Windows) to extract the .package file(s) (if included, ts4script as well) from the .rar or .zip file(s).
3. Cut and paste the .package file(s) (if included, ts4script as well) into your Mods folder
- Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
- Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\
Need more information?
- Anyone can use both .rar and .zip files easily! On Windows, use WinRAR.
- If you don't have a Mods folder, just make one.
- Mod still not working? Make sure you have script mods enabled
Loading comments, please wait...
Updated: 12th Nov 2019 at 9:23 PM
#spellcasters, #magic, #spells, #custom spells, #injector
-
by scumbumbo 24th Jan 2019 at 10:22am , updated 26th Mar 2019 at 11:38pm
192 415.8k 428 -
[RoM] Curses are Now Spells [SpellCurses Version 1]
by TwelfthDoctor1 16th Jun 2020 at 12:56pm , updated 29th Jun 2020 at 11:17am
+1 packsRealm of Magic -
Sage of Mastery Magic + Mastery Spells + Ghost Butler + Alchemy
by TwelfthDoctor1 20th Aug 2020 at 9:11pm , updated 24th Oct 2024 at 11:47am
+8 packsOutdoor RetreatEco LifestyleVintage Glamour StuffVampiresHorse RanchJungle AdventureRealm of MagicTiny Living Stuff -
by siriussimmer 19th Aug 2021 at 6:51pm , updated 30th Aug 2021 at 1:10am
+1 packsCottage Living -
by Simsonian Library 3rd Sep 2021 at 1:08am
+1 packsRealm of Magic -
by Simsonian Library 31st Oct 2021 at 7:31pm , updated 12th Dec 2021 at 7:24pm
+7 packsOutdoor RetreatCats and DogsSeasonsCottage LivingHorse RanchJungle AdventureRealm of Magic -
Werewolrify (Werewolf creation spell)
by Rolwen 30th Jul 2022 at 11:23am , updated 9th Aug 2022 at 11:13pm
+2 packsRealm of MagicWerewolves -
by Tralfaz482 30th Jan 2023 at 10:32am , updated 11th Aug 2024 at 2:35am
+1 packsGet to Work
-
On An Occult Ley Line (Lot Trait)
by r3m 9th Sep 2019 at 8:01pm , updated 12th Sep 2019 at 6:48pm
A custom Lot Trait that allows Sims to conceive Occult babies even if they are not Occults themselves. more...
33 79k 222 -
Vampirify (Vampire Creation Spell)
by r3m 8th Oct 2019 at 7:52pm , updated 24th Oct 2019 at 9:09pm
Have your Spellcasters turn humans into Vampires with the new "Vampirify" spell. more...
+2 packsVampiresRealm of Magic -
Unlock CAS Rewards (Cheat Code)
by r3m 12th Aug 2019 at 5:48pm , updated 13th Aug 2019 at 9:39pm
A cheat code to unlock CAS rewards for the current household. more...
44 82.4k 183 -
Climatio (Weather-Controlling Spell)
by r3m 5th Oct 2019 at 7:29pm , updated 24th Oct 2019 at 9:07pm
"Climatio" is a new spell that allows Sims to change the weather to their liking. more...
+2 packsSeasonsRealm of Magic
Packs Needed
Base Game | |
---|---|
Sims 4 |
Game Pack | |
---|---|
Realm of Magic |