Page 1 of 2

Two small map editor features

Posted: Mon Feb 05, 2018 12:49 am
by Ravie
There are two things that I lack in the map editor, which I believe should be rather simple to implement.
The first one is a button (or key shortcut) to minimise all groups, it's really annoying to have to close countless groups every time you open a map with many groups.
The second feature is to be able to paste colour hex codes copied from an outside program into layers and quads, instead of having to memorize them and type them in. I would appreciate it very much if these things got added :)

Re: Two small map editor features

Posted: Mon Feb 05, 2018 10:29 am
by fokkonaut
Ravie wrote: Mon Feb 05, 2018 12:49 am There are two things that I lack in the map editor, which I believe should be rather simple to implement.
The first one is a button (or key shortcut) to minimise all , it's really annoying to have to close countless groups every time you open a map with many groups.
The second feature is to be able to paste colour hex codes copied from an outside program into layers and quads, instead of having to memorize them and type them in. I would appreciate it very much if these things got added :)

and Ctrl+Z= undo

Re: Two small map editor features

Posted: Mon Feb 05, 2018 1:10 pm
by Cellegen
and delete that mini window after using TAB. rly annoying

Re: Two small map editor features

Posted: Mon Feb 05, 2018 1:21 pm
by hi_leute_gll
Cellegen wrote: Mon Feb 05, 2018 1:10 pm and delete that mini window after using TAB. rly annoying
cl_show_console 0

Re: Two small map editor features

Posted: Mon Feb 05, 2018 2:35 pm
by mokuz
Ravie wrote: Mon Feb 05, 2018 12:49 am There are two things that I lack in the map editor, which I believe should be rather simple to implement.
The first one is a button (or key shortcut) to minimise all groups, it's really annoying to have to close countless groups every time you open a map with many groups.
The second feature is to be able to paste colour hex codes copied from an outside program into layers and quads, instead of having to memorize them and type them in. I would appreciate it very much if these things got added :)
1. should add "editor_groups_minimized_by_default [1/0]" or something...
2. so your saying that you wan't to paste numbers to editor? agreed.

and undo/redo would be nice, now if i make a mistace, i usually reload map in editor...

Re: Two small map editor features

Posted: Tue Feb 06, 2018 9:35 am
by Konsti
undo/redo is hard to make, because the map need to be saved after every tile then.

Re: Two small map editor features

Posted: Tue Feb 06, 2018 9:36 am
by Konsti
And btw i would suggest a way to give a quad the same color codes without writing them into all 4 ends

Re: Two small map editor features

Posted: Tue Feb 06, 2018 11:46 am
by hi_leute_gll
Konsti wrote: Tue Feb 06, 2018 9:36 am And btw i would suggest a way to give a quad the same color codes without writing them into all 4 ends
Shift-click all four.

Re: Two small map editor features

Posted: Tue Feb 06, 2018 2:34 pm
by Konsti
lul really xd

Re: Two small map editor features

Posted: Tue Feb 06, 2018 4:09 pm
by mokuz
Konsti wrote: Tue Feb 06, 2018 9:35 am undo/redo is hard to make, because the map need to be saved after every tile then.
well no, just save what things have saved, for example:
you replace hookable at 0,0 (x, y) with unhookable, it saves ->

"tile at (0,0)(x, y) changed from 1(hookable) to 3(unhookable) in layer "#1(game)""
or shortened
"(0, 0) 1 -> 3 #1"

so "[what happened] [where] [values] [layer]"

or something