Feature 'copy/paste using element names' introduced in 4.4.1.0

Stuck at a level? Need help with R'n'D or anything R'n'D related? Post here!

Moderators: Flumminator, Zomis

Post Reply
BrownSky
Posts: 64
Joined: Mon Sep 24, 2018 4:04 am

Feature 'copy/paste using element names' introduced in 4.4.1.0

Post by BrownSky »

Hello, the new feature 'copy/paste using element names' introduced in 4.4.1.0 seems to be accessed by the key combination Alt+C, at least according to my reading of the sourcecode:

if (letter == 'c') // copy brush to clipboard
{
if (GetKeyModState() & KMOD_Shift)
CopyBrushToClipboard_Small(); // small size
else if (GetKeyModState() & KMOD_Alt)
CopyBrushToClipboard_Names(); // comma separated element names
else
CopyBrushToClipboard(); // normal size
}

But I cannot get it to work.

When in the level editor and I have NOT selected a rectangle of cells with the Grab Brush,
then Alt+C either:

a) does nothing detectable, i.e. doesn't copy the entire grid of cells in the level to the clipboard, in any form whatsoever;

or,

b) if there is one or more of the element specified in position 1 of the 3 user-selectable elements,
it 'flashes' [appears to select, but not really] all visible instances of that element, for as long as the Alt key is held down. But still does not copy any cells to the clipboard.

If I HAVE selected a rectangle of cells with the Grab Brush,

then Alt+C does the same as above, but it also 'disappears' the Grab brush selection.

Does anyone know if there is some subtle way of using the Alt key, specifically Alt+C, to bypass its use for selecting instances of the first user-specified element?

BTW, the only other use I have found for Alt is, if you hit Alt+Enter, it first selects the cells as described above, and then toggles the application between windowed mode and full screen mode.

Any help is appreciated.

Thank you

John
User avatar
Holger
Site Admin
Posts: 4346
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Feature 'copy/paste using element names' introduced in 4.4.1.0

Post by Holger »

Sorry for not making this clear enough in the announcement -- just use "Ctrl-Alt-c" to copy element names to the clipboard.

You can also find this documented directly in the level editor on the "CONF -> HELP" tab, under "COPY / PASTE".

I have also updated the announcement text to contain the key shortcut.

Hope it works for you now! :)
Post Reply