Prerequisites
Before you begin, ensure you have:
- Node.js installed (version 14 or later)
- Basic knowledge of TypeScript/JavaScript
- Basic understanding of Civilization VII modding concepts
Installation
Install from NPM
Install from NPM
- Create a new directory for your mod project
- Initialize a Node.js project:
- Install the TypeScript modding tools:
- Create a TypeScript configuration file (
tsconfig.json):tsconfig.json
Project Structure
Set up your project with this recommended structure:Basic Mod Setup
Create abuild.ts file in your project root:
build.ts