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:
@@ -0,0 +1,2 @@
|
||||
title=Mod Template World #1
|
||||
description=This world has one cell. A cell is 300x300 tiles.
|
||||
@@ -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
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -0,0 +1,3 @@
|
||||
title=Mod Template World #2
|
||||
description=This map adds eight new cells around World #1.
|
||||
lots=ModTemplateWorld1
|
||||
@@ -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
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
@@ -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 |
BIN
storage/game modding/project zomboid/ModTemplate/preview.png
Normal file
BIN
storage/game modding/project zomboid/ModTemplate/preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
@@ -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
|
||||
Reference in New Issue
Block a user