Weapon Mods

From the Fallout3 GECK Wiki
Revision as of 10:53, 27 December 2010 by imported>Dandys (→‎Weapon Mod Effects)
Jump to navigation Jump to search
This article is incomplete. You can help by filling in any blank descriptions.
Further information might be found in a section of the discussion page. Please remove this message when no longer necessary.

Weapon Mods

Weapon mod items are new items in Fallout: New Vegas roughly similar in behaviour to Misc items. They can be selected as 'mods' on a weapon's Mod Info tab.

Note, Weapon Mods have no effect in and of themselves- the only data they have is text description. Multiple different weapons can therefore use the same mod and grant different bonuses.

Weapon Mods can be scripted. However, they do not run their OnDrop or OnEquip blocks when they are attached to a weapon. If the script contains OnAdd blocks, the game will crash when the mod is attached. In addition, attached Weapon Mods are effectively destroyed and merged into the weapon itself- they do not run their scripts, and cannot be detected using the GetEquipped function.

Weapon Mod Effects

Mods are assigned effects on the weapon's Mod Info tab. A weapon can make use of up to 3 mods, each of which can be assigned one of the effects from the list below. Each mod can have two values specified- each does a different thing depending on the effect specified. Very few modification effects use the second value.

  • Decrease Weight: Value #1 is a flat reduction to the weapon's weight.
  • Increase Weapon Damage: Value #1 is a flat bonus to the weapon's damage.
  • Increase Max Condition: Value #1 is a flat bonus added to the weapon's maximum condition.
  • Regenerate Ammo (Seconds): Value #1 is the number of seconds added to the weapon's recharge time. If negative, it reduces the time taken to recharge.
  • Regenerate Ammo (Shots): Value #1 and Value #2 are used, but their exact use needs further testing.
  • Increase Projectile Speed: Value #1 is the multiplier of the projectile speed.
  • Increase Clip Size: Value #1 is a flat bonus to the weapon's clip size, or amount of shots that can be taken before reloading.
  • Silence: No values used, this silences the weapon. It is currently untested whether or not this applies to the weapon noise from the weapon itself or from the weapon and the projectile.
  • Increase Zoom: Value #1 is a flat value subtracted from the weapon's zoom line of sight. (?)
  • Decrease Spread: Value #1 is a flat reduction of the weapon's min spread.
  • Increase Rate of Fire: Value #1 is used, how the number effects the rate of fire needs further testing.
  • Split Beam: Used with the laser rifle split beam mod, Value #1 is set to 2 hinting that the Value #1 input might determine the number of times the projectile is split.
  • VATS Bonus: Unused in game, further testing is needed to find the effect of this and the two values.

Benefits

  • Weapon mods are implemented directly via the user's Pip-Boy menu, rather than requiring any special scripting. For casual mod authors, creating a modifiable weapon is fairly simple.

Limitations

  • Although a popular Fallout 3 scripted weapon mod plugin made use of up to 4 mods, the Fallout: New Vegas option only grants up to three mods. For developers wishing to add more mods to their plugin, they must presently create a new weapon type for certain mods and they will be unable to use the Mod function in the Pip-Boy menu to install them.
  • Mods are implemented by swapping the model, not by adding components to/revealing components from a single pre-specified model. This means that the number of models required increases exponentially; 2 models for 1 mod, 4 models for 2 mods, and 8 models for 3 mods. This reduces the former technique of hiding weapon subsections to change the weapon's appearance, and contributes to larger package sizes when distributing plugins.
  • It is not presently possible to read which mods a weapon has equipped, by script or otherwise.
  • Presently, through scripting, it is not possible to attach a mod to a weapon and not possible to remove it later.
  • Each mod can have one effect only. For instance, in a realistic modification, a silencer cannot both reduce projectile speed and silence the weapon -- only one or the other.