rimworld-blax-laws/docs/workshop-media.md

24 lines
2.7 KiB
Markdown
Raw Permalink Normal View History

# In-game clips for the Workshop page
The Steam description shows GIFs inline (`[img]`), the same way as the section headers. These are the clips worth having, in order. Each is 4 to 8 seconds of a real game with Blax Laws on, cropped to the part of the screen that matters. None is recorded yet.
| File | Shows | How to set it up |
|---|---|---|
| `lawbook-tab.png` | The Laws tab after "Starter lawbook": the seven rows with Action, Stage, Severity, Punishment and Days | Any colony; press "Starter lawbook" |
| `act-picker.gif` | "Add law", type "wake" in the search: Wake-up under Ate and the wake-up bill under Bills; open Mental breaks and scroll past a modded break labelled with its mod | Any colony, ideally with a mod that adds a mental break or a drug |
| `subdue.gif` | A colonist starts a wake-up binge, a warden walks over and beats it down before it reaches the drug, a doctor carries it to bed | Starter lawbook, a warden, wake-up on a shelf across the base; dev mode can start "Binging_DrugExtreme" on a colonist addicted to wake-up, which makes wake-up its binge drug |
| `jail.gif` | The binger reaches the drug first: the warden arrests it into a prisoner bed, the Cases tab shows "Jailed" with the days counting down | The same setup with the drug next to the binger and a prisoner bed in the base |
| `release.gif` | The sentence is served: a colonist walks the convict out of the cell and it goes back to work | Continue the jail clip; dev mode can skip time |
| `cases.png` | The Cases tab with a few cases: a warned insult, a subdued binge, a jailed fire-starter, one role holder waiting with "Arrest now" | A colony that has played a few days with the starter lawbook (the role holder needs Ideology) |
| `corpse-on-table.png` | A corpse obsession case with the notes "on a table" and "dug up from a grave" next to the corpse on a dining table | A pawn with low mood and a grave; dev mode can start "CorpseObsession" |
Recording: Windows Game Bar (Win+Alt+R) records the game window as MP4 without extra software. Put the raw recordings in `docs/media/raw/` (git-ignored).
Converting to a GIF needs ffmpeg. 640 px wide at 15 fps keeps a 6-second clip around 2 to 4 MB:
```sh
ffmpeg -i raw/subdue.mp4 -vf "fps=15,scale=640:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" subdue.gif
```
The GIFs and screenshots go to `docs/media/` and onto the CDN next to the header art (`cdn.blax.at/blax-gaming/laws/`, see `Source/Art/README.md`), then into `docs/workshop-description.txt` under the matching header as `[img]https://cdn.blax.at/blax-gaming/laws/<file>[/img]`. Forgejo raw URLs don't work on Steam (no cross-origin header). Each `[img]` line adds about 60 bytes to the description, which must stay under Steam's 8000-byte limit.