Skip to content

Commit

Permalink
existing pride flags, updated docs for flag tool
Browse files Browse the repository at this point in the history
pride flag layering
  • Loading branch information
ShnitzelX2 authored and Fris0uman committed Jan 8, 2025
1 parent 4c58479 commit 04673d3
Show file tree
Hide file tree
Showing 114 changed files with 14 additions and 5 deletions.
12 changes: 12 additions & 0 deletions doc/tools/common_tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ Please refer [main CDDA documentation](https://github.com/CleverRaven/Cataclysm-

// TODO: Add some info about slice_variants.py

### ultica_build_flags.py

This script uses GIMP to take in flag-like textures in `scratch\UltimateCataclysm\items\flags` and create contextual versions of those same flags, specifically:
- "postup", a drooped version for hanging flags on walls
- "hoisted", a waving version for hanging flags on flagpoles
- "", a crumpled version for a dropped flag variant item

To run, install GIMP, put flag textures in the above directory (along with an `output` folder), and run ultica_build_flags.cmd
Flag textures should be offset by 2x5 and have a size of 28x18 to appear correctly
Outputted flags must be moved manually to the appropriate `gfx` directory
If script runtime is too slow, move unneeded flags from `scratch` folder

### unslice_multitile.py

// TODO: Add some info about unslice_multitile.py
7 changes: 2 additions & 5 deletions gfx/UltimateCataclysm/layering.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
"item_variants": [
{ "item": "american_flag", "layer": 90, "offset_x": 0, "offset_y": 0 },
{ "item": "national_flag", "layer": 90 },
{
"item": "lab_postit_bio",
"sprite": [ { "id": "postit_01", "weight": 1 }, { "id": "postit_02", "weight": 1 }, { "id": "postit_03", "weight": 1 } ],
"layer": 90
},
{ "item": "pride_flag", "layer": 90 },
{ "item": "lab_postit_bio", "sprite": [ { "id": "postit_01", "weight": 1 }, { "id": "postit_02", "weight": 1 }, { "id": "postit_03", "weight": 1 } ], "layer": 90 },
{
"item": "lab_postit_blob",
"sprite": [ { "id": "postit_04", "weight": 1 }, { "id": "postit_05", "weight": 1 }, { "id": "postit_06", "weight": 1 } ],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 04673d3

Please sign in to comment.