Jump to content

Coding/Scripting Question


Recommended Posts

Posted

Hi,

 

I am a complete noob with modding/scripting myself, but I want to dig deeper into it. 
 

I started using and modifying this mod:

 

And I want to add my own commands (you can modify the ini files for this mod).

 

I want to make the mod equip a ring gag via command. The mod says it has to look like this:

 

Cmd=item:tongues.esp:000d72+equip:tongues.esp:000d72

CmdEnd=unequip:tongues.esp:000d72+remitem:tongues.esp:000d72

 

I modified that line as follows:


Cmd=item:Heretical Resources.esm:ff00c6e1+equip:Heretical Resources.esm:ff00c6e1
CmdEnd=unequip:Heretical Resources.esm:ff00c6e1+remitem:Heretical Resources.esm:ff00c6e1

 

It does not work, tho :(
The mods debug says the event is played (I see the ID in the debug) but the item is not equipped.

 

Question: is this the correct ID? items have two IDs, baseID and ID...

 

And I was wondering if the "space" in heretical resources.esm might be a problem? Do I have to replace that with another symbol? 

 

Posted
1 hour ago, Nymra said:

I modified that line as follows:


Cmd=item:Heretical Resources.esm:ff00c6e1+equip:Heretical Resources.esm:ff00c6e1
CmdEnd=unequip:Heretical Resources.esm:ff00c6e1+remitem:Heretical Resources.esm:ff00c6e1

 

It does not work, tho :(
The mods debug says the event is played (I see the ID in the debug) but the item is not equipped.

 

Question: is this the correct ID? items have two IDs, baseID and ID...

 

And I was wondering if the "space" in heretical resources.esm might be a problem? Do I have to replace that with another symbol? 

 

Try removing the ff from the beginning of your item IDs.

Posted
41 minutes ago, Holzfrau said:

Try removing the ff from the beginning of your item IDs.

 

Didn't work :(


Cmd=item:ZaZAnimationPack.esm:00c70a+equip:ZaZAnimationPack.esm:00c70a
CmdEnd=unequip:ZaZAnimationPack.esm:00c70a+remitem:ZaZAnimationPack.esm:00c70a

 

it still runs the event, but the item is still not equiped. hmm. 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...