BeardLib
  • Home
  • Things to Know
    • Adding Files
    • ScriptData
  • Modules
    • Achievements
    • Add Files
    • Adding your own modules
    • AssetUpdates (Mod Updates)
    • Classes
    • Contact (contractors)
    • Crime Spree Mission
    • DLC
    • Dependencies
    • Elements
    • Global Value (Tagging weapons/etc)
    • Heist Music
      • Stealth Music
    • Hooks
    • Interactions
    • Keybind
    • Level
    • Localization
    • Mask Material
    • Mask Pattern
    • Mask
    • Melee
    • Menu Music
    • Menu
    • ModuleBase
    • Narrative
    • Options
    • Package
    • Script Mods (Replace script data)
    • Sounds
    • Tweak Modify
    • Weapon Mod
    • Weapon Skin
    • Weapon
    • XML
  • API
    • BeardLib Class
    • Constants
    • File Manager
    • Frameworks
    • Hooks
    • ModCore
    • Package Manager
    • Special Hook IDs
  • Utilities
    • FileIO
    • Input
    • Main
    • Math
    • Menu Helper Plus
    • Path
    • String
    • Sync
    • Table
    • Tweak Data Helper
    • XML
    • YAML
  • MenuUI
    • ComboBox
    • ImageButton
    • Item
    • Items
    • Keybind
    • Menus
    • Slider
    • TextBox
    • Toggle
Powered by GitBook
On this page
  • Adding files to the game
  • Example

Was this helpful?

Edit on GitHub
  1. Things to Know

Adding Files

Updated for version 3.38.

Adding files to the game

There are two primary ways of adding files. The first is through the AddFilesModule and the other is through using an add.xml file in your mod overrides. This follows a particular structure, similar to the one used in the AddFilesModule.

NOTE: If you're adding a model you must have a cooked_physics file with the same name! Even if it is empty! (Unless you use the include_x parameters found in AddFilesModule).

Example

<table>
    <texture path="path/to/my/texture"/>
    <effect path="path/to/my/effect"/>
</table>

This follows almost the same syntax as AddFilesModule.

PreviousThings to KnowNextScriptData

Last updated 3 years ago

Was this helpful?