← Home SEEBIE90 DOCS
Download PDF
The KRISS Vector mod is published under the Backblast Studios licenseExample code on this site is free to useBug reports: Backblast Studios DiscordLicense

KRISS Vector

Ammunition variants New

Two jobs: a new calibre from scratch, and an AP variant made of a vanilla round.

In plain wordsA new calibre needs a projectile, a magazine config, a magazine well, a casing and its own flags. An existing round can be reused as it is.

A magazine and its ammunition

A vanilla round as it is

An AP magazine does not need a new projectile. A config that lists the vanilla round is enough:

Example code – free to useAmmo_MyGun_9x19_AP.conf
MagazineConfig {
 AmmoResourceArray {
  "{018D1E98D412F637}Prefabs/Weapons/Ammo/Ammo_9x19_AP_7N31.et"
 }
}

The GUID of a vanilla resource is in the resourceDatabase.rdb of the game addon, next to its path.

A new calibre

Ammunition type labels

MagazineUIInfo.m_eAmmoTypeFlags decides the icons and labels in the inventory and the weapon info. The flags combine: FMJ is 1, AP is 4, Subsonic is 2048, so a subsonic full metal jacket is 2049.

A quieter suppressed shot

The vanilla suppressed shot is an audio project (.acp) of banks, filters and buses. Copy the project into your addon and change the numbers: every bank volume lowered by the same amount makes the shot quieter, an equaliser band on the body bus cuts the high end, and the volume of the slap-back bus decides how much echo remains.