Git Product home page Git Product logo

map-repo's Introduction

QWTF Map Repo

Contains all known QWTF maps and their assets, as well as lits, locs and skins. If any are missing please submit a PR.

How to submit a map

  • Set up a local server for development: https://github.com/FortressOne/fortressonesv
  • Fork this repo
  • Commit files in format:
    fortress/package/<mapname>/
    	maps/<mapname>.bsp
    	sound/*.wav
    	progs/*.(mdl|bsp)
    
  • Optionally include:
     fortress/package/<mapname>/
     	<mapname>.txt
     	maps/<mapname>.ent
     	maps/<mapname>.rtlights
     	lits/<mapname>.lit
     	locs/<mapname>.loc
     	textures/<mapname>/*.(png|jpg)
     	textures/levelshots/<mapname>.(png|jpg)
    
  • Push changes to your fork
  • Submit pull request

Docker

Build map-repo

docker build --tag=map-repo .

Deploy map-repo

docker tag map-repo fortressone/map-repo:latest
docker push fortressone/map-repo:latest

Append map assets zip to bsp for clients that support this (FTE)

./package_bsps.sh

Deploy

GitHub actions automatically packages maps and syncs to S3. See:

  • .github/workflows/workflow.yml
  • action.yml
  • Dockerfile

Package map file structure

Maps packages uploaded to s3 are a bsp file concatenated with a zip file. zip files are shaped like this:

<mapname>.zip
	lits/<mapname>.lit
	locs/<mapname>.loc
	maps/
		<mapname>.ent
		<mapname>.rtlights
	progs/*.(mdl|bsp)
	sound/*.wav
	textures/
		<mapname>/*.(png|jpg)
		levelshots/<mapname>.(png|jpg)
    <mapname>.txt

map-repo's People

Contributors

klownistrash avatar drzel avatar galmeno avatar lordee avatar redfox16bit avatar evilantau avatar mehtty avatar granothon avatar sealscarl avatar psychiccirno avatar cynidecia avatar theperfecttrip avatar scaryguy334 avatar skitzomatic avatar fdittz avatar atlar9e avatar shinolaehh avatar

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.