$Attachment:

From GECK
Jump to: navigation, search

Weapon Smith

Description

Links an attachment nif file to specified weapon mod form. Path is relative to the meshes directory.

Syntax

$Attachment: path:string | node:string

Example

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

   $EditorID: MyAttachment
   $Attachment: weapons\Attachments\Suppressor.nif

Suppressor.nif will be attached under a specialized node called (WMSlot_Barrel Device) on the weapon nif.

;Inside "WeaponAttachments\WeapNV9mmPistol\BarrelDevice\BarrelDevice_Config.ini"

   $EditorID: MyAttachment
   $Attachment: weapons\Attachments\Suppressor.nif | Barrel Node

Suppressor.nif will be attached under the Barrel Node on the weapon nif.

Notes

  • If a node isn't specified, the nif will be attached to a specialized node, WMSlot_TheNameOfYourSlot. See first example.

See Also