Weapons, armour, bodies
Bodies
A body of the mod's own (a droid, a creature) is drawn instead of ours. It is offered after our skin tones in the loadout's skin row and chosen like them.
"bodies": [ {
"name": "B1", "title": "B1 battle droid", "picture": "b1_body.png", "bald": true, "blood": false,
"paints": [ { "name": "Rust", "colour": "#ffb399" } ],
"voice": { "spot": ["sounds/b1/spot1.wav"], "hurt": ["sounds/b1/hurt1.wav"], "death": ["sounds/b1/death1.wav"] }
} ]
The sheet
picture is a sheet laid out exactly like our ManBody (Assets/OurAssets/Human/ManBody.png, 144 by 112 pixels): the head, body, feet and hands in the four facings, each in its place, 24 pixels to a unit.
A sheet may also be 2, 3 or 4 times that size (288 by 224 at 2x): the same layout drawn finer. Each part is cut where ours is, that many times over, and drawn at that many more pixels to a unit, so the body is the same size in the world with more detail. Anything outside those cells is never seen.
The skin tone and eye colour of the loadout don't touch a mod body.
The keys
| key | what it does |
|---|---|
name, title | its own name and what players see |
picture | its sheet |
bald | true leaves the hair and beard off |
blood | false makes it bloodless: nothing thrown, stained or pooled, and its wounds never bleed |
paints | colours laid over the whole body, each with a name, chosen in the loadout's eye row; at most as many as there are eye colours |
voice | sounds of its own, each a list of files: spot, its word on finding somebody to fight (said as it comes near the player and turns on them, then now and then while it stays close), hurt and death. Only heard, on a machine with a screen |
antenna | a stalk standing on it (below) |
A stalk that swings
"antenna": { "picture": "antenna.png", "root": { "down": [15, 3], "up": [15, 3], "left": [12, 4], "right": [18, 4] }, "behind": ["down"] }A stalk standing on the head, a droid's antenna, that swings on its root as the body moves, turns and stops, and leans in the wind.
- The picture stands up; its bottom middle is the root. It is drawn as fine as the sheet.
rootis the pixel of the head's cell (31 by 31, or 62 by 62 on a 2x sheet, from its top left) the root sits on, for each way the head faces.behindlists the ways it is drawn behind the head rather than over it."on": "body"stands it on the torso instead, a backpack's antenna: its roots are then pixels of the body's cell (29 by 31), and it goes behind or over the torso and the head together.
Online
Our five tones and the mods' bodies go over the wire alike: 32 mod bodies at most in all, from every mod. Bodies are format 3.
Outfits and commands
Two more keys dress people in what a mod has.
"sets": [ { "title": "Town watch", "pieces": [ "Longsword", "Longsword", "watch_tabard", "Longsword" ] } ]sets are whole outfits: lists of pieces worn together, the mod's own by their names and ours by theirs. The Test Map puts each up on a stand of its own, wearing all of it.
"commands": [ { "word": "watch", "what": "the town watch's kit", "worn": [ "Longsword", "Longsword", "watch_tabard" ], "weapon": "Billhook" } ]commands are chat commands for players with the dev role, there only while the mod is on. Each puts on a whole outfit and a weapon in hand: /watch. word is one word; things are named the mod's own first, then ours; crystal lights a saber in that colour.
Modding