Skip to content

Commit f3daf0e

Browse files
committed
Update make-a-bg3-mod-with-lua.mdx
1 parent 8e79fb2 commit f3daf0e

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

projects/make-a-bg3-mod-with-lua/make-a-bg3-mod-with-lua.mdx

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ tags:
3939

4040
# Introduction: Companion Creatures
4141

42-
Anyone who's played Baldur's Gate 3 knows it features some truly epic battles, with animal allies who fight alongside you, like our best boy, Scratch.
42+
[Baldurs Gate 3](https://en.wikipedia.org/wiki/Baldur%27s_Gate_3) (BG3) is a 2023 RPG by Larian Studios, adapted from the fifth edition of Dungeons & Dragons. It's earned over 10 million players due to its expansive worldbuilding, fleshed out characters, and stunning visuals.
4343

44-
<ImageZoom src="https://i.imgur.com/rxAJDtM.png" style={{ width: "80%", height: "auto" }} alt="Scratch"/>
44+
Anyone who's played knows it features some truly epic battles, with animal allies who fight alongside you, like our best boy, Scratch.
4545

46-
[Baldur’s Gate 3](https://en.wikipedia.org/wiki/Baldur%27s_Gate_3) (BG3) is a 2023 RPG by Larian Studios, adapted from the fifth edition of Dungeons & Dragons. It's earned over 10 million players due to its expansive worldbuilding, fleshed out characters, and stunning visuals.
46+
<ImageZoom src="https://i.imgur.com/rxAJDtM.png" style={{ width: "80%", height: "auto" }} alt="Scratch"/>
4747

4848
The game is incredibly well designed, but have you ever wanted to make Baldur’s Gate 3 *a little sillier*?
4949

50-
Remember the Addled Frog you meet in Auntie Ethel’s swamp? It’s normally not a recruitable companion, but what if you could recruit it to help you fight your battles? 🐸
50+
Well, remember the Addled Frog you met in Auntie Ethel’s swamp? It’s normally not a recruitable companion, but what if you could summon it to help you win your battles? 🐸
5151

5252
We're going to do just that by making our own mod!
5353

@@ -184,6 +184,8 @@ data "UnarmedRangedAttackAbility" "Dexterity"
184184
- `data "DifficultyStatuses"` adjusts stats or abilities based on game difficulty.
185185
- `data "UnarmedRangedAttackAbility"` determines which stat the creature uses for unarmed ranged attacks, in this case it’ll use Dexterity.
186186

187+
<ImageZoom src="insert image before publishing" style={{ width: "80%", height: "auto" }} alt="image of frog in battle casting spell"/>
188+
187189
Phew, our frog friend sure is powerful!
188190

189191
## Write your Lua Script
@@ -238,6 +240,8 @@ end)
238240

239241
Inside the callback function, we check if the spell being cast is `Target_Summon_Frog`. If yes, the program runs `KillFrog()` to clean up any old frogs.
240242

243+
<ImageZoom src="insert image before publishing" style={{ width: "80%", height: "auto" }} alt="image of spell being cast/frog spawning"/>
244+
241245
## Export your Mod to a .pak
242246

243247
Before your mod shows up in Baldur’s Gate 3, you’ll usually need to package it into a **.pak** file. This isn’t done in BG3 itself, you’ll use external tools made by the modding community.
@@ -253,6 +257,8 @@ Extract the contents of the .zip folder into the `ModdingTools` folder so you ca
253257
- Select your project folder (`Mods`).
254258
- Click Build Mod, which generates a .pak file.
255259

260+
<ImageZoom src="insert image before publishing" style={{ width: "80%", height: "auto" }} alt="screenshot of multitool"/>
261+
256262
The **.pak** should be saved here:
257263

258264
```
@@ -271,7 +277,7 @@ The Script Extender console should load automatically, but if you don’t see it
271277

272278
You’ll be able to find the teapot containing the frog in the Tutorial Chest at the very beginning of the game, on the Tutorial Level (the Nautiloid ship). Walk past Shadowheart and open the chest in the next room.
273279

274-
<ImageZoom src="swap image before publishing" style={{ width: "80%", height: "auto" }} alt="Discovering the teapot containing Frog"/>
280+
<ImageZoom src="insert image before publishing" style={{ width: "80%", height: "auto" }} alt="Discovering the teapot containing Frog"/>
275281

276282
# Bonus Challenges
277283

@@ -303,7 +309,7 @@ Here are some more resources to explore:
303309
- [Manual Modding in BG3 for MacOS Users](https://www.youtube.com/watch?v=8BNi0uNOvrE)
304310
- [Jon Hinkerton’s other mods](https://next.nexusmods.com/profile/jonhinkerton/mods?gameId=3474&page=1)
305311

306-
Share your projects with the team [@codedex_io](https://www.twitter.com/codedex_io)! Let us know what you come up with!
312+
Scratch told us he wants you to share your projects with the team [@codedex_io](https://www.twitter.com/codedex_io)! Let us know what you come up with!
307313
<span style={{ fontSize: "16px", lineHeight: 1 }}>
308314
<img
309315
src="https://i.imgur.com/H6GXsjP.png"

0 commit comments

Comments
 (0)