Commit graph

3 commits

Author SHA1 Message Date
ANAND cbee83a2ac Improve directory structure of maps
- Each map will have its own sub-dir, containing
  - `map.conf` (used to be `<map_name>.conf`)
  - `map.mts` (used to be `<map_name>.mts`)
  - `screenshot.png` (used to be `<map_name>.png`)
  - `skybox_<n>.png` (used to be `<map_name>_skybox_<n>.png`)
- The `ctf_map` post-processing actions for maps has been moved into a dedicated shell script `setup_maps.sh`. This script appropriately renames all the textures to while copying them over to the mod's textures/ sub-dir. e.g.
  - `cool_map/screenshot.png` ---> `cool_map.png`
  - `awesome_map/skybox_2.png` ---> `awesome_map_skybox_2.png`
2019-11-10 17:20:38 +05:30
ANAND 17a974c1c3
ctf_map: Move on_joinplayer callback for skybox mgmt. into time_sky.lua 2019-10-29 15:23:15 +05:30
ANAND 179c993ee7 Add per-map skybox support
The skybox textures have to follow this naming convention to be auto-detected by `ctf_map`: `<mapname>_skybox_<1-6>.png`
2019-10-29 12:30:35 +05:30