18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-03 12:25:27 +01:00
Files
maszyna/tests
maj00r b6083e57f8 feat(vehicle): joints bent evenly from both cars, whole control cables drawn once, buffers pressed on curves
- bonebend: an optional third point after head holds the head to the whole turn of the next car; on a rooted
  bend the turn is spread along the spine by its length, so a joint bends the same from both cars and two halves
  meeting at it (bellows, rubber collars) stand on the plane halving the angle.
- Control cables: cctrl1/cctrl2 are AirCoupler buttons now. Where both coupled vehicles have cctrl<n>_xon at the
  ends that meet, the coupling owner (Render) shows _on, a cable modelled whole from socket to socket, and the
  other _xon, its plugs alone; otherwise both show _on as before. No model has _xon yet, so nothing changes for
  the data as it is.
- Buffers: each buffer of a coupled end is pressed in by half its overlap with the nearest head of the next
  vehicle on the track, so the inside of a curve presses in and the outside stands clear. gfx.buffers.curve no
  in eu07.ini keeps both alike, by half the distance of the couplers, as before.
- bones_doc.md describes them.

Assets (SVN pctga, made by scratchpad tools harmonijki.py, ukrotnienie.py and gumy.py, not committed there yet):
- new <stem>_h.t3d, przegub_<stem>_h.t3d and reworked *_h.t3d components for elf_v1 (27web without its e-f
  joint), impuls_v1, sa134_v1 and 21xm_v1, the .mmd pointing at them with bone entries;
- new <stem>_u.t3d and ukrotnienie_<stem>_u.t3d (whole cables in cctrl<n>_on_kable, plugs in cctrl<n>_xon) for
  4e_v1, en57_v1, 303e_v1, br285_v1, ep05_v2, et41_v2, ew58_v1, ew60_v1, m62_mod_v1, sm42_v1, sp42_v1, sp45_v1,
  st44_v1, st44_v2, su42_v1, su45_v2, su46_v2, tem2_v2, tem2u_v2; the EN57 .mmd name them by their parameters and a
  new attachments_<stem>_u.inc holding the bone entries;
- new <stem>_g.t3d and gumy_<stem>_g.t3d (gangway_rubber1/2) for 110a_v2, 11xa_v2, 111arow_v1, 113aa_v1, 14xa_v1,
  16xa_v1 and 168a_v1.
Without them the vehicles are drawn as before.
2026-11-25 23:24:29 +01:00
..