Coder Social home page Coder Social logo

entropy-zero / entropyzero2-addonworkspace Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 21 KB

This repository stores a collection of scripts which act as a template mod for Entropy : Zero 2 which can be used to develop and test workshop addons.

PowerShell 1.78% Shell 3.28% ReScript 94.94%

entropyzero2-addonworkspace's Introduction

Entropy : Zero 2 Addon Workspace

About

This repository is a set of scripts that can be used as a template for a sourcemod to test and deploy Entropy : Zero 2 workshop addons.

Some of the scripts are written in Bash and others in Powershell. Right now this only works for Windows because Powershell is required, but Bash versions of all scripts should be added in the future.

Setup instructions

Clone this repository into your Sourcemods directory. In a terminal of your choice, navigate to the steam/steamapps/sourcemods directory on your system, and run the following command

git clone https://github.com/entropy-zero/entropyzero2-addonworkspace.git

Please see the README.md file in the steamcmd directory for instructions on how to set up SteamCMD to upload your workshop addon.

If you intend to make custom maps, make sure that Hammer is configured for Entropy : Zero 2. Please see this guide on Steam for information on how to set up Hammer for Entropy : Zero 2. https://steamcommunity.com/sharedfiles/filedetails/?id=2850131008

To use Hammer with the workspace, it is recommended to set up a separate Hammer game config for the workspace. That will be similar to a game config for Entropy : Zero 2, but targeting this source mod instead of Entropy : Zero 2's game folder.

How to use

This repo comes with several scripts that can help you develop and test addons for EZ2.

Launch addon workspace mod

To launch the game with your addon in development, run play-ez2-deployment.ps1 with Powershell.

Build cubemaps for all maps

To build cubemaps for all of your maps, run cubemaps.ps1 with Powershell. The list of maps is in the tools directory in a file called autocubemap_ez2.txt.

Create a packaged distribution to upload

Before uploading your addon with SteamCMD, run the create_dist.sh shell script in tools. This will copy all the asset files for maps, models, materials, sounds, and scripts into a directory called dist. The Steam workshop VDF file points at this directory.

Run steamcmd

To launch SteamCMD, run steamcmd.ps1 with Powershell. Make sure SteamCMd is installed in the steamcd directory beforehand. For more information about how to upload a workshop addon, please see this guide: https://steamcommunity.com/sharedfiles/filedetails/?id=2851702944

BEFORE trying to upload an addon, please look through the workshop.vdf file and update all fields appropriately for your addon. Otherwise the upload will not work.

Run Hammer or other tools

Launch Hammer using the tools/hammer.ps1 powershell script.

entropyzero2-addonworkspace's People

Contributors

1upd avatar

Stargazers

 avatar Michael "Cal" Krug avatar

Watchers

James Cloos avatar  avatar

Forkers

tbjmaps 1upd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.