Kit tutorial

From GECK
Jump to: navigation, search

Devkit Tags

To get started, navigate to the Devkit folder. As mod authors, we will create a new folder with a unique name. This will be the name of our mod. Inside your mod's folder, create documents starting with the "Tag" of the form type you want to edit enclosed in brackets, followed by a file name. See kit tags for more information.

Your file name should look something like this: `[SomeFormTag]SomeFileName.txt` Your form text documents will include either links to existing forms, or use the `EditorID` keyword to create new forms.

Examples:

Note: Nothing in Devkit is case sensitive.

Kit Language Syntax Examples

Changing Existing Forms

The `Link` keyword allows us to change existing forms. We give it the `EditorID` of a form existing inside another kit file, or ESP/ESM. Here we are changing the world model and the 1st person model of the 9mm pistol.

Inside "Data/Devkit/Your_Mod_Name/[Weapon]Edits_To_9mm.txt":

Link: WeapNV9mmPistol {
  WorldModel: "Weapons\9mm Special\9mm Special_3rd.nif"
  1stPersonModel: "Weapons\9mm Special\9mm Special.nif"
}

Changing NPC Name

Here we are changing the name of Easy Pete to be "Super Easy Pete."

Inside "Data/Devkit/Your_Mod_Name/[NPC]Edits_To_EasyPete.txt":

Link: GSEasyPete {
  Name: "Super Easy Pete"
}

Creating New Forms

The `EditorID` keyword creates a new form. Here we are creating a new form, `WeapNV9mmPistolSpecial`, and changing the name and damage.

Inside "Data/Devkit/Your_Mod_Name/[Weapon]NewWeaponForm.txt":

EditorID: WeapNV9mmPistolSpecial {
  Name: "9mm Special"
  Damage: 55
}

Using Templates

The `Template` keyword allows us to create new forms using existing forms. Here, we make a copy of `WeapNV9mmPistol`, call it `WeapNV9mmPistolSpecial`, and give it a new name and model.

Inside "Data/Devkit/Your_Mod_Name/[Weapon]TemplateExample.txt":

Template: WeapNV9mmPistol {
  EditorID: WeapNV9mmPistolSpecial {
    Name: "9mm Special"
    WorldModel: "Weapons\9mm Special\9mm Special_3rd.nif"
    1stPersonModel: "Weapons\9mm Special\9mm Special.nif"
    InventoryImage: "pipboyIcons\9mm Special\9mm Special.dds"
  }
}

Adding and Removing Items in FormLists

Adding and removing items from `FormList` with the `Add` and `Remove` keywords. Here we are adding our new forms to vendor lists and removing the vanilla 9mm pistol.

Inside "Data/Devkit/Your_Mod_Name/[FormsList]Edits_To_VendorLists.txt":

EditorID: VendorWeaponsGunsTier1
add: WeapNV9mmPistolSpecial
remove: WeapNV9mmPistol

EditorID: VendorWeaponModsGunsTier2
add: ModNV10mmSMGDrumMag