Skip to content

IElibWeiDU library for Infinity Engine modding.

Named constants for opcodes, file offsets, IDS values, and helper functions.

IElib example

Usage ​

1. Init submodule ​

bash
cd mymod
git submodule add -b master https://github.com/BGforgeNet/ielib.git lib/bgforge
git commit -m "added BGforge IElib"

Once you've added a submodule to your repo, new clones will require an additional step: git submodule update --init --recursive.

2. Enable ​

ALWAYS
  OUTER_SPRINT BGFORGE_LIB_DIR "%MOD_FOLDER%/lib/bgforge"
  INCLUDE ~%BGFORGE_LIB_DIR%/main.tpa~
END

Browse the code to see the available constants, use BGforge MLS to get tips (completion and stuff).

3. Update ​

bash
git submodule update --remote
git add lib/bgforge
git commit -m "updated BGforge IElib"