Trying to make a spell that will enslave somebody

Post » Wed Apr 01, 2015 10:04 pm

Essentially, I'm trying to make a mod for myself (or for this board if anybody would want it) that if you cast a spell on any NPC it will automatically equip them with slave bracers and turn them into your slave. Since I'm a total noob when it comes to scripting, I thought it best to keep it simple and make it as basic as possible.

I was looking at the mod 'scripted spells' and a slaver mod in an attempt to find out how I might go about this, but I didn't really get much out of it. Can anybody give me some general advice as to how I might go about setting this up? I know this requires a script, but I am just not sure how I am supposed to go about linking everything together.

Obviously you are supposed to create a spell in which you affect an NPC, but what after that? When I do make the script, how do I link it to the spell?

I am also wondering if you can lead one script into another? So for example, in the script I would make could I lead it into the slaveScript that already comes with the game? It seems like this would make everything a lot easier.

Sorry if this sounds like basic stuff that I could just google; I've been trying to figure this out for a couple hours now and feel like I am just wasting time trying to do it on my own.

User avatar
Samantha hulme
 
Posts: 3373
Joined: Wed Jun 21, 2006 4:22 pm

Post » Wed Apr 01, 2015 11:47 pm

Not easy.
If you feel like learning, try digesting Morrowind Scripting For Dummies for standard scripting, then start learning MWSE scripting
It could take months
User avatar
Evaa
 
Posts: 3502
Joined: Mon Dec 18, 2006 9:11 am

Post » Wed Apr 01, 2015 4:14 pm

abot is correct, Squire Alphabet soup... This mod idea is an excellent one, but there is no easy, copypasta solution.

There is a mod that contains scripting that may point you in the right direction, since it involves http://mw.modhistory.com/download-44-10161. i have used this mod, and it works (for the most part), but it's rather buggy in spots (if an enslaved NPC hates you, e.g. Disp < = 10, they still revert to attack mode periodically and keep trying to fight you). It also tends to conflict with other Slave mods, IIRC.

The other that make be helpful is this http://www.nexusmods.com/morrowind/mods/42300/?, called Thralls. The thralls script may be of interest to you, whilst constructing a "Slave Spell" (A spell that places bracers on an NPC and they are immediately under your control).

Otherwise, the only modder http://www.fliggerty.com/phpBB3/viewtopic.php?f=19&t=1097 is Fliggerty, and that one only addresses Vanilla Slave NPCs. (Excellent mod, too!) You have a peek at that script as well.

Your idea is a challenge to implement, but not impossible at all.

User avatar
Kitana Lucas
 
Posts: 3421
Joined: Sat Aug 12, 2006 1:24 pm

Post » Wed Apr 01, 2015 8:29 pm

Thanks for the helpful info! I was actually looking through the slavers mod last night as this provides the closest thing to what I'm looking for. I was thinking of modifying the script for that mod because it puts a constraint to where you can only capture smugglers, not people in towns or PCs who are part of a faction. I was trying to find the constraint and delete it but I couldn't pinpoint where it was. Does anybody think they can help me out with that? The script name is slaveCapture or something along those lines; it's right next to bethesda's slavescript in the CS.

User avatar
Roberto Gaeta
 
Posts: 3451
Joined: Tue Nov 06, 2007 2:23 am


Return to III - Morrowind