$EditorID:

From GECK
Jump to: navigation, search

Weapon Smith

Either defines the weapon mod in a global or injects an existing weapon mod into a specified weapon slot.

Syntax

$EditorID: (EditorID of the Attachment)

Example

;Inside "WeaponAttachments\MyGlobalAttachments.ini"

   $EditorID: MyAttachment
   $Attachment: MyWeapons\Attachments\10mmSilencer.nif

Defines MyAttachment inside MyGlobalAttachments.ini. Any time MyAttachment gets attached to a weapon, it will use 10mmSilencer.nif.


;Inside "WeaponAttachments\Weap10mmPistol\Barrel Device\BarrelDevice_Config.ini"

   $EditorID: MyAttachment

Will use MyAttachment from MyGlobalAttachments.ini on the 10mm Pistol, inside the Barrel Devices slot.


;Inside "WeaponAttachments\WeapNV9mmPistol\Barrel Device\BarrelDevice_Config.ini"

   $EditorID: MyAttachment
   $Attachment: MyWeapons\Attachments\9mmSilencer.nif

Will use MyAttachment from MyGlobalAttachments.ini on the 9mm Pistol, inside the Barrel Devices slot. MyAttachment for the 9mm will also use 9mmSilencer.nif instead of 10mmSilencer.nif.

Notes

  • Just like the Geck, $EditorID: should be unique. If an Attachment is defined twice, the last trait values to be loaded will overwrite the pervious ones.
  • If the editorID for the attachment exists in an esp/esm it will use that form. If not, the form will be created and stored in the [NVWO]Editor.esm

See Also