Page 1 of 1

Map Editor. Some questions.

Posted: Tue Mar 03, 2020 5:36 pm
by Adrian
Is it possible "Undo" in Map Editor?

For example, if I delete something wrong...

Next question.
Capital letters in ID.
If I try to write something like "AtreidesEntry" (in object ID), and press "Close", then I get "atreidesentry".
What about upper case and lower case?

Re: Map Editor. Some questions.

Posted: Tue Mar 03, 2020 9:54 pm
by Sleipnir
Undo support was added in the new playtest that was released today: https://www.openra.net/news/playtest-20200303/

Re: Map Editor. Some questions.

Posted: Wed Mar 04, 2020 4:45 pm
by Adrian
Thank you!
It works good so far. I mean "Undo/Redo" in new "Map Editor".

About upper case and lower case.
I change names in yaml file still.

Re: Map Editor. Some questions.

Posted: Sat Mar 07, 2020 2:30 pm
by Graion Dilach
Actor names are handled in lowercase within the game, to prevent issues from capitalization. That's not a bug.

Re: Map Editor. Some questions.

Posted: Sat Mar 07, 2020 3:27 pm
by Adrian
Several weeks ago, I tried "Map Editor" first time.
And I got error, when I change location of Construction Yard (of Atreides).
I understand, that the game cannot find object 'AConyard'.

From lua.log:

Error message
===============
.../.mount_OpenRAJwp46t/usr/lib/openra//lua/sandbox.lua:150: [string "atreides03b.lua"]:128: attempt to index global 'AConyard' (a nil value)
===============

So I notice, the name 'aconyard' does not work. Only 'AConyard'.

Re: Map Editor. Some questions.

Posted: Sat Mar 07, 2020 6:08 pm
by Sleipnir
I can confirm the upper/lower case bug on the release build, but this also appears to be fixed in the playtest. Can you confirm?

Re: Map Editor. Some questions.

Posted: Sat Mar 07, 2020 8:40 pm
by Adrian
Oh, the upper/lower case really works in the latest playtest (playtest-20200303) !
I was inattentive, sorry.
I tested it in the stable releases (release-20200202 and release-20191117).