Simple Script Mod

Your forum for all discussions around Modding.
dotNetNinja
Posts: 1
Joined: Sun Oct 15, 2023 6:54 am

Simple Script Mod

Post by dotNetNinja »

I’m trying to create a simple mod that just prints a message to the games console (just learning). I have created my modDesc.xml and a LUA script. The mod shows up in game but when I load a save with the mod enabled I get this error:

Error: Can't load resource ''.

There is no path specified in the single quotes, so I have no idea what it’s failing to find. My LUA is just a single print statement.

Does anyone have any ideas?