Repository navigation
Releases
Releases · nekiro/ots-creator
OTS Creator 3.4.1
- removing an item from the client removes its entry from items.xml when the client is compiled; it stayed there, and undoing the removal keeps it (73a53b7)
- a ground brush with noThin leaves no strip or spike of it too thin for a single border piece: a ground painted next to it takes such tiles, and the ones this leaves thin, instead of stacking two pieces of one border set on them (04e5567)
- the find panel of the map editor can be resized with a splitter below it, at the cost of the inspector (which keeps 200px); its height is remembered and its result list fills it (ad1cea9)
- AI agents can show the user a list of map positions in the find panel of the editor: show_results lists positions with a title and a label per row, and find_items with show lists the items it found; clicking a row goes to its tile (4b39069)
OTS Creator 3.4.0
- the sprite sheets of several selected objects can be exported at once into a folder (Export sprite sheets in the menus, ids and dir in export_sheet), one sheet each with all frame groups, named {category}_{id}; an outfit whose idle and walking frames have different layouts gets a sheet for each (_idle, _walking) (8380408)
- deleting or cutting the ground of a tile takes its flags (PZ, no logout...) and house along, as moving it does; they stayed on an empty tile that could no longer be selected (51f2791)
- a value of the items.xml entry too long for its input shows whole on hover, and a value longer than 32 characters gets a box of several lines that grows with it; an input turning into the box while typed in keeps the focus and the caret (a7f05a3)
OTS Creator 3.3.0
- copying an item takes the attributes of its items.xml entry along, and Paste object and Paste properties paste them; pasting server attributes replaces all attributes of the entry, those of the attribute map too (it pasted nothing from an entry that only has mapped attributes) (bc91ae0)
- the attributes of an items.xml entry can be copied and pasted onto other items (Copy and Paste in the Server section, Copy/Paste server attributes in the menus): pasting replaces the attributes of the selected items, several as one undo step, and keeps their names and the attributes of the attribute map (8f6bb5c)
- the README is short again: it keeps the overview and links to the guides of the map editor, mapping together, the MCP server and the server items (items.otb, items.xml and its attribute map, described for the first time) in docs (95e04b3)
OTS Creator 3.2.0
- the items.xml of the server can be attached to the client: each item shows and edits its entry (name, article, plural, attributes) with undo, and compiling writes the edited entries and an entry for every new item, keeping the rest of the file byte for byte. Its ids are server ids with an items.otb attached, else client ids; on client ids the entries follow moved items and an attribute map (items.attributes.json next to it, with negated flags and key aliases) writes the properties of the client items as attributes, shows where an entry differs from the client and fills it from the client. MCP: set_items_xml, update_item_xml, itemsXml in get_thing (b4cc592)
- a creature keeps the difference between facing north on purpose and having no direction: direction="0" of a spawn file and dir=n of OTMAP are written again instead of being dropped (fixes #5) (1bcce1c)
OTS Creator 3.1.1
- an outfit of an old client (one frame group: frame 0 idle, the rest walking) is split into idle and walking groups when imported or copied into a client with frame groups, and the two groups are merged into one in a client without them, as Object Builder does (397d5c1)
OTS Creator 3.1.0
- the grids of the map library fill the width of the panel: the cells grow by whole even pixels around icons enlarged by whole multiples, with a 1px frame, so no empty strips are left at the sides and the pixels stay sharp (204504a)
- the map editor opens again after the library icon size was stored: the largest size is known before the stored settings are read (724c16f)
- a map opens without asking for its item ids when its file or the choice made for it before decides them (and the items.otb of server ids is attached), and Change… next to the item ids of a map opens it again asking (63fcec4)
- every tab of the map library can be a list with names or a grid of icons, remembered per tab, and the grid icons can be enlarged 1x to 4x (slider or Ctrl+wheel) by whole multiples so their pixels stay sharp, with the cells kept close together (0e2489f)
- the start screen of the map editor tells whether an items.otb is attached to the client and which item ids new maps use, and the items and brushes dialog is called server data (ce85c28)
- maps say how they store item ids: opening or creating a map asks for server ids (translated with the items.otb attached to the client, the same file compiling keeps in sync) or client ids, proposes one and tells why (the otmap file says it, the choice made for the map before, an items.otb attached to the client or found next to the map) and remembers it per map; each open map keeps the item data of its own ids, a missing items.otb is an error instead of a silent switch to client ids, and the map editor has no items.otb of its own any more (05a160a)
- lower minimum width of preview panel for smaller screens (439b3ed)
- agents can check a map: validate_map lists what breaks it in game (temples, house exits, waypoints and teleports that cannot be stood on, missing houses and zones, duplicate unique ids, creatures on blocking tiles, empty spawns, unknown items, floor changes leading nowhere) and find_path tells whether and how a player walks between two tiles, through doors, floor changes, ladders and teleports (1a0c0d9)
- agents can decorate in the style of the map: suggest_items tells what the map puts in a place or next to a brush, variants lists what an item can be swapped for, swap_item swaps it and complete_object finds (and places) the missing parts of a big object (4644f69)
- agents can make their own brushes: get_borders and save_border for the border items, save_brush to create, change or rename a brush (taking get_brush output as a model), remove_brush, add_to_tileset for raw items and save_creature for monsters and NPCs (0a83c05)
- agents can copy client objects to new ids (duplicate_things), move them to other ids (move_things) and remove them (remove_things); update_thing changes every object matching a name or property filter (bb7ad9e)
- agents can export the sprite sheet of a client object (export_sheet) and import one into the walking group of an outfit; get_thing and create_thing tell the server id the attached items.otb gives an item, or why it gets none (b3fb7af)
- agents can look at and edit the client objects through MCP: get_thing, find_things, free_ids and render_things to read them, create_thing (from a PNG sheet with a template's properties), update_thing and import_sheet to change them, client_undo, client_redo and save_client (8d13373)
OTS Creator 3.0.4
- only the auto scale falls back to one that fits the screen; a chosen pixel-perfect scale is kept and the View menu tells when it does not fit this screen (dff86b9)
OTS Creator 3.0.3
- format the object editor layout (34460d5)
- a pixel-perfect scale whose layout does not fit the screen falls back to the largest one that fits, so 2x on a 1080p screen no longer cuts off the window (accb2d3)
- the market preview of an object fits the stage and is moved and zoomed like the editor's preview (22504a7)
- the side panels of the object editor are widened with splitters as in the map editor, down to the width their content is laid out for (5a0f03f)
- a tile painted again with the same ground keeps its borders: painted tiles get all their borders again instead of comparing plans (38386da)
OTS Creator 3.0.2
- day and night in the play view change the light at once; the play view can walk through walls (8903348)
- the default settings test knows the frames per second setting (5d07dfd)
- an empty new map has no unsaved changes; an empty map tells how to start drawing; the frames per second can be hidden in the map settings; the cards of the start screen are one height; found items that are all the same name it once over the list; the creature list and the found items share a list that only holds the rows in view (08d43b6)
- a window whose first control is disabled takes the focus itself, so Escape closes it and keys do not reach what is behind (map tools without a selection); a disabled primary button looks disabled; stepping through found items keeps the current one in view in the list (1191ac2)
- the light map is kept while what it is built from stays the same, the overlays walk the tiles in view once for spawns, names, texts and tooltips, and the list of found items only holds the rows in view (9b05d53)
- suggestions skip looking for changed blocks while the map has not changed since all were counted; chunk geometry finds the look of an item by its client id in a slice instead of a map (3ed8398)
- finding items, map statistics, exporting the minimap, the undo list and house tiles only read the map, so they run under the read lock and the map keeps drawing meanwhile (262b4f3)
- a damaged settings file (settings, map editor, map together) is kept next to the new one as .bad and the editor tells about it at startup, instead of quietly starting from defaults and overwriting it on the next save (3be7f23)
- removing, duplicating or patching several things fails before it changes anything when one id does not exist, instead of leaving a change without an undo step; finding the area of a fill no longer shares the scratch tile of the editor between requests; find previews are cut at a character; drop unused service methods and fields and a second map of written tiles in map edits (c9aa7cc)
- bound what crafted files and peers can make the editor allocate or loop over: node nesting, sprite sheet unpacking, appearance ids, otobj frame groups, image sizes, container items in shared edits, the first frame of a connection and spawn radius on save; a malformed stun reply or an obd with sprites of different sizes no longer crashes; settings and the list of joined sessions hold tokens and passwords, so only the user can read them (3867672)
- frontend cleanup: drop 20 unused skin images and unused code, set peer and area colors as style properties so a host cannot inject css, load nearby floors from block-aligned chunks so the last block is not skipped (6976553)
- remove unreachable code: dat.ReadThing, the mcp server URL, an unused test helper and a guest write error that could never be reported (c8d2a1b)
OTS Creator 3.0.1
- download market entries to a file without importing them: objects as otobj or obd, the object file format setting picks the default, sprite packs as png; no client needs to be open (bf1a054)
- set the client view used by remove tiles nobody can see in settings, map, client view: tiles to each side and floors up and down, 9 x 7 and 2 by default; editor settings saved before a field existed get its default (6e403a8)
- remove tiles nobody can see in one pass over the map with the visible area kept as row spans instead of looking up every tile in view of every tile, which took minutes on large maps and held the map so saving hung; map tools that go through the whole map report progress and show it in a progress window (2021f4e)