• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

How to use the Dencer VS Code Extension?

Level 2
Joined
Dec 12, 2023
Messages
2
Hi, I just started learning how to code in Lua and have found copy-pasting into the editor to be tedious.
I found the Dencer tool but can't figure out how to get it to work.

  • I've Created a new project
  • added a .w3x file to the directory
  • and when I run the "Pack Map" command I get this error
    • [Warcraft vscode] ENOENT: no such file or directory, open 'c:\Users\...\Temp.w3x\war3map.lua'

My warcraft.json file looks like this

Code:
{
  "mapdir": "Temp.w3x",
  "files": ["src/main.lua"],
  "lua": {
    "package": {
      "path": [
        "./?.lua",
        "./?/init.lua"
      ]
    }
  }
}

I've added nothing to the directory after running Create Project except for the w3x file.
Really the only functionality I'm looking for is to transfer my Lua code in VS straight into the world editor for me.

Thanks in advance!
 
Last edited:
Top