Add mod template and Python launch scripts

- Created a new workshop.txt file for a mod template in Project Zomboid, including version, title, description, tags, and visibility settings.
- Added a PowerShell script (launch_py.ps1) to set up a Python virtual environment, install dependencies, and run the main script.
- Added a shell script (launch_py.sh) for launching a Python script with a virtual environment on Unix-like systems.
- Included a basic mod template for creating fallout new vegas esp templates
This commit is contained in:
2026-03-02 17:53:20 +00:00
parent 0d82dc2763
commit ec63063f60
16 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
title=Mod Template World #1
description=This world has one cell. A cell is 300x300 tiles.

View File

@@ -0,0 +1,22 @@
function SpawnPoints()
return {
constructionworker = {
{ worldX = 1, worldY = 1, posX = 127, posY = 254, posZ = 2 }
},
fireofficer = {
{ worldX = 1, worldY = 1, posX = 127, posY = 254, posZ = 2 }
},
parkranger = {
{ worldX = 1, worldY = 1, posX = 127, posY = 254, posZ = 2 }
},
policeofficer = {
{ worldX = 1, worldY = 1, posX = 127, posY = 254, posZ = 2 }
},
securityguard = {
{ worldX = 1, worldY = 1, posX = 127, posY = 254, posZ = 2 }
},
unemployed = {
{ worldX = 1, worldY = 1, posX = 127, posY = 254, posZ = 2 }
}
}
end

View File

@@ -0,0 +1,3 @@
title=Mod Template World #2
description=This map adds eight new cells around World #1.
lots=ModTemplateWorld1

View File

@@ -0,0 +1,22 @@
function SpawnPoints()
return {
constructionworker = {
{ worldX = 1, worldY = 1, posX = 127, posY = 254, posZ = 2 }
},
fireofficer = {
{ worldX = 1, worldY = 1, posX = 127, posY = 254, posZ = 2 }
},
parkranger = {
{ worldX = 1, worldY = 1, posX = 127, posY = 254, posZ = 2 }
},
policeofficer = {
{ worldX = 1, worldY = 1, posX = 127, posY = 254, posZ = 2 }
},
securityguard = {
{ worldX = 1, worldY = 1, posX = 127, posY = 254, posZ = 2 }
},
unemployed = {
{ worldX = 1, worldY = 1, posX = 127, posY = 254, posZ = 2 }
}
}
end

View File

@@ -0,0 +1,4 @@
name=Mod Template
id=ModTemplate
description=This is an example mod containing two maps.
poster=poster.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@@ -0,0 +1,8 @@
version=1
title=Mod Template
description=This is an example mod with two worlds. You can use this as a template for your own map mods.
description=
description=The first world has a single 300x300-tile cell.
description=The second world adds cells all around the first world.
tags=
visibility=public