User Tools

Site Tools


nfextra_modules_loadout

Loadout

Ⓜ️Box

This module represents a box and associated settings. Does nothing on its own, is used by other modules. Sync one or more objects with container storage to this module.

Attributes:

  • Name = Name for the box. Uses classname as default if empty
  • Use player ID as randomization seed = When using randomization this makes the module use the player ID as seed so that players can't reroll for different results.
  • Init = Runs on client where the action was used and a box is created.

Ⓜ️Box Spawner


Sync a box module and an object to this module. The object will then have actions on it to create boxes which are set by using synced to the box module.

Ⓜ️Loadout

Similar to the box module, this module represents a loadout and associacted attributes. Does nothing on its own and is used by other modules.

Attributes:

  • Name = Name of the loadout. Used for example as action name in loadout selector
  • Use player ID as randomization seed = When using randomization this makes the module use the player ID as seed so that players can't reroll for different results.
  • Init = Runs on client (where unit is local) for each unit the loadout is applied to. “_this” refers to the unit

One or more units can be synced to this module to save their loadouts on this module. Synced units are then deleted.

Ⓜ️Loadout Selection

Sync a loadout modules and objects to this module. The objects will then have actions for players to switch loadouts.

Ⓜ️Overwrite Loadouts

This module can spread loadouts from synced loadout modules to all units created of the same type as units sycned to this module. Synced units are then deleted.

nfextra_modules_loadout.txt · Last modified: by tiwaz