Files
aeternalis/planning/MODULAR-CREATORS.md
T

170 lines
9.6 KiB
Markdown

# Modular characters and creature builder
September 11 follow-up to the first creator playtest, updated September 12.
The initial-only humanoid creator is now implemented; see
[Character creation](../docs/CHARACTER-CREATION.md) for its scope and manual checks.
The modular creature builder and production animation/equipment work remain planned.
The first [creator workshop](../docs/CREATOR-WORKSHOP.md) remains a version-1
prototype. Its rounded preset characters did not meet the desired visual style.
## Visual direction
Use the supplied head, torso, leg, and arm references as anatomical/proportion and
topology references. Build recognizable, proportioned fantasy bodies with a shaped
face, torso, elbows, knees, hands, and feet. The reference wireframes are modeling
guidance, not a request to display wireframes on finished characters. Final surface
detail, shading, and stylization should be reviewed on one base character before
expanding the library. Hair styles from the first scope remain confirmed.
Character appearance belongs to the character. Revival, travel, and restart retain
it; replacement starts a new character. Only cosmetic entitlements carry across
characters at account level. Body customization must not change player hitboxes,
reach, movement speed, or any other authoritative gameplay attribute.
## Confirmed character controls
| Region | Requested controls |
| --- | --- |
| Hair | Several selectable styles; retain color customization |
| Head | Independent length, width, and depth |
| Eyes | Location and color |
| Eyebrows | On/off, bushy/thin |
| Nose | Location and scale within reasonable bounds |
| Mouth | Location and style |
| Chest | Male/female forms |
| Hips | Adjustable body region |
| Arms | Adjustable body region |
| Legs | Adjustable body region |
| Feet | Adjustable body region |
Recommended first editor: choose a region on the preview or in a clearly labeled
list; show only that region's controls. Use proportion sliders, feature selectors,
reset-region/reset-all, front/side/back views, and an orbit preview. Pair left/right
features by default. Exact ranges, additional limb controls, and asymmetric player
editing remain to be decided; do not silently treat them as confirmed requirements.
Use a modest fitted base outfit while reviewing body forms.
## Confirmed creature controls
The requested direction is a Spore-like part builder, beyond four fixed creature
presets. It should support these parts and variations:
| Part | Requested options |
| --- | --- |
| Heads | One or more heads, each with its own features |
| Face | Eyes; vertical/horizontal mouths; inset/outset and large/small noses |
| Hair and horns | Hair parts and one or more horns; editable placement including X/Y |
| Necks | One or more necks connecting heads to the body |
| Body | Upper and lower body regions |
| Arms/hands | Optional arms; claw styles and finger count |
| Legs | Optional legs; biped, triped, quadruped, and higher counts |
| Feet | Hoof, animal, and human styles |
| Wings | Attachable wings |
| Tails | One or more tails |
Recommended interaction: select a body part, see compatible attachment locations,
add a part from a palette, then position/rotate/scale it within that attachment's
bounds. Offer mirror-pair placement, duplicate branch, undo/redo, and a visible
hierarchy. Multiple heads and unusual limb arrangements are part of the target
scope, not a promise that the initial prototype can animate every arrangement.
Mob visuals stay separate from existing stats, behavior, attacks, loot, spawns,
and biome rules. Adding a horn or wing must not implicitly add damage or flight.
Publishing and spawning continue through audited admin actions with server IDs.
Scenery creation for trees, rocks, and plants remains on the overall creator list.
## Shared connection and rig contract
Recommended implementation: fixed humanoid skeleton/topology for players, and a
validated part hierarchy for creatures. Both use connection profiles. A profile
defines the parent socket and child anchor, compatible part categories, local
rest position/orientation, scale bounds, joint axes, and minimum/maximum rotation
per axis. The editor must distinguish rest-pose editing from animation posing.
Use stable profile/part-definition IDs assigned by the server when published.
Player body sliders should deform a consistent mesh and update bone/attachment
placement together. Preserve topology and named bones across male/female chest
forms and proportions, so equipment and animation do not require a different
rig for every saved look. Avoid simply scaling separate spheres at each region.
Creature parts need connection seams, skin weights, bone chains, and locomotion
roles as well as rotation limits. Joint limits make assembly more predictable;
they do not automatically solve mesh deformation, foot placement, wing motion,
or animation for arbitrary anatomies. Start with a few supported locomotion
templates and validate each additional arrangement before describing it as ready.
The backend validates the complete recipe: supported version and part/profile
references, finite bounded transforms, valid ordered joint ranges, compatible
attachments, one root, no cycles or dangling parents, and explicit part/bone/depth
budgets. Numeric limits are provisional engineering choices to measure, not new
tested-capacity claims. Preview and save must apply the same restrictions.
## Equipment and export
Add named equipment anchors for head/face, neck/ears, shoulders/chest, hands,
waist/hips, legs/feet, back, and weapon/offhand grips. Preserve the existing slot
contract, including eight ring slots. Rigged clothes/armor deform with the body;
rigid accessories attach to anchors. Attachment sockets alone do not make fitted
armor fit: compatible deformation, body-region hiding, and clipping checks are
also required. Test extreme allowed proportions and joint poses with sample gear.
The current builder merges geometry by material for static rendering. Keep that
optimization for static scenery, but preserve the skeleton, skin weights, and
part/attachment metadata for deformable bodies. A future rigged GLB export must
retain its bones and bindings. Round-trip validation is required before replacing
the current static export. Animation, sounds, asset storage/CDN, and LOD work
remain visible dependencies in the main roadmap.
## Proposed playable slices
1. **Movement feedback repair.** The affected character's server snapshot shows
carry weight 297.1, capacity 100, and movement factor 0: the existing encumbrance
rule blocks all movement. Show persistent weight and blocked/slowed feedback
with direct bag access. Verify recovery after dropping weight, including
keyboard, click-to-move, and touch controls during manual playtesting. Preserve
server-side movement, weight, time, and lifecycle rules.
2. **Base humanoid review.** Build one proportioned base with male/female chest
forms, consistent topology, named bones, and a neutral outfit. Review front,
side, and joint-bend previews against the references before adding variants.
3. **Character customization.** Add the confirmed region and face controls,
versioned save/load, world/housing display, and compatibility with old looks.
Include basic equipment-fit previews to validate the shape/rig contract.
4. **Creature assembly prototype.** Add the part palette, socket profiles,
hierarchy, joint limits, and symmetry tools. Validate a biped and quadruped
first, then multiple heads, odd limb counts, wings, and tails as separate
reviewed additions. Record unsupported animation combinations explicitly.
5. **Presentation integration.** Complete production locomotion/action animation,
visible equipped gear, sound hooks, rigged exports, and performance work under
the existing presentation milestone. This is not completed by an editor demo.
Commit and push each playable slice for the user's manual test. Routine Playwright
authoring remains deferred; focused regression checks and required repository
checks still apply to fixes. The storage/reliability milestone remains required
before expanding worlds; these creator slices do not replace it or renumber the
main nine-step plan. The point at which the creator detour returns to that work
should be agreed after the base humanoid review.
## Compatibility and acceptance
- Keep version-1 appearances and published visual presets renderable. Introduce
a new recipe version; never silently reinterpret an old preset as a new anatomy.
- Appearance is selected alongside the name during initial character creation.
Existing characters cannot restyle themselves. A later paid/cost-based mechanism
is planned; its currency, price, location, and restrictions remain undecided.
- Reconnect and creation retries preserve the saved look. Each replacement chooses
its own name and appearance; existing version-1 looks remain supported.
- Closing, saving, or canceling a creator must restore the surrounding interface;
gameplay input stays blocked only while a relevant menu is actually open.
- Check world and housing rendering, reconnect, travel, revival, replacement,
invalid recipes, bounded geometry cost, and disposal of replaced preview assets.
- Review silhouettes, facial feature placement, seams and joint bends visually.
Do not claim the new style is accepted based only on a passing build.
## Decisions still open
- Final shading and detail level of the humanoid; exact per-region slider ranges.
- Supported player asymmetry and full hand/finger editing, if desired.
- Creature part/bone budgets, socket libraries, and supported locomotion templates.
- Whether armor is fitted through shared morphs, authored size variants, or both.
- Scope of the first playable creature builder before returning to persistence.