"parameters not found for spell" "Compiled scrip

Post » Mon Jun 18, 2012 6:19 am

Hey everyone, I am relatively new to modding made a few custom houses in Morrowind back when I was a wee lad and that's about the extent of my knowledge.

Anyway I was playing around attempting to make a new spell but everytime I tried to add the spell with console commands I got something like "item 'formID' parameters for spell not found. Compiled script not saved" so I figure I wasn't doing something right.. looked through the wiki for about an hour can't find anything on it. So what the heck "I'll go through that item customize tutorial they have on the wiki maybe I'll found something I'm missing!".

So I attempted the "Vorpal Blade" Daedric Sword as shown in the wiki here (it wouldn't let me link, but it is under "Tutorials" and "Customizing weapons and Armour") step by step, down to the last capital letter and I keep getting the same basic error just instead of "spell parameters" it's "objectID parameters" and the same "Compiled script not saved".

I am completely unsure of what to do at this point, are some scripts or something not recognizing my commands? Because when I open the Creation Kit I get a host of various errors such as "MASTERFILE: NavmeshInfo 00028e37 has no parent space, ignoring. 'Yes to all' will disable all warnings for this context."

I don't have the Hi-Res Texture pack downloaded, I have patch 1.4? The one just before the Creation Kit came out.

Any help would be appreciated, thanks in advance. :smile:

_Sainek_
User avatar
bonita mathews
 
Posts: 3405
Joined: Sun Aug 06, 2006 5:04 am

Post » Mon Jun 18, 2012 1:14 am

The scripting language changed, which means you almost always need to define a property instead of using a editor or form ID directly in a script.

An addspell script would look like this:

Scriptname thisAddsASpell extends QuestSpell Property iWantThisSpell AutoEvent OnInit()	Game.GetPlayer().AddSpell(iWantThisSpell)EndEvent

Disclaimer: I don't have the CK here, there could be an error in there.

EDIT Since I'm not reading and you're asking for a console command, here's an answer to that as well:

IDs in the console need a correct form ID, the easiest way to find out is using the help function:

help "blade" 0

That prints all the blade items with their corresponding IDs.
User avatar
Jade Barnes-Mackey
 
Posts: 3418
Joined: Thu Jul 13, 2006 7:29 am


Return to V - Skyrim