Element highlight

  • baizuo
    27th Jun 2012 Member 0 Permalink

    @jacbo1 Thanks for attention, f can be replaced with any key you think proper, just take it for example (f means FIND, because H for Highlight is used for hide, but I forget the frame step used it already)

     

    This suggestion is actually made up of three parts:

    1. The ability to highlight ONE selected element

    2. The ability to highlight MULTIPLE selected element

    3. The ability to highlight RELATED element group (this is optional, it may takes time to find out all the 'group')

     

    These can be achieved through hotkeys or separate menu( like 'e' search menu)

    I got some idea but I don't know how hard it will be to code, so, your decision.

  • boxmein
    27th Jun 2012 Former Staff 0 Permalink
    @baizuo (View Post)
    It's basically setting some graphics values based on some highlight array telling which elements are to be highlighted next update, if I know properly.
  • baizuo
    28th Jun 2012 Member 0 Permalink

    @boxmein (View Post)

     I mean the menu... like group highlight, custom group etc. It's not easy to do, isn‘t it?

  • jacob1
    28th Jun 2012 Developer 0 Permalink
    @baizuo (View Post)
    It's possible, but I think I know a better way. Maybe I can just let you highlight 3 things at once in different colors; the right, left, and alternate selected elements. That way you can do H2/CO2/O2 if you wanted for example. Before, I switched between them manually in the gasses menu, but now I can see the changes all at once. Then you can also pick which elements you think are related instead, I might want to highlight ICE but not WATR.
    I'll keep it Ctrl + F for finding the left selected element like before, but make buttons or a menu for other finding options I want to add. (I'm talking about in my mod though)
  • baizuo
    29th Jun 2012 Member 0 Permalink

    @jacob1 (View Post)

    Sweet, this could be added to your mod first, gathering further feedback before merging to the trunk

     

    I personally prefer the hotkey way(with only two or even one hotkey), because this is a simple featur, I hope it looks easy (but powerful)

     

    One hotkey to toggle highlight mode, click to pick any numbers of the elements to highlight, color them with automatic different color, how do you think?

  • jacob1
    29th Jun 2012 Developer 0 Permalink
    @baizuo (View Post)
    FIND is already in my mod with the Ctrl + F shortcut, I didn't put it in any pull requests yet because I put it on github in a commit which I overwrote later with the title "?" with tons of other version 1.0 changes. There's also many other commits that fixes are spread out in.

    I'm probably going to do what I already said, I don't know what other hotkeys I could do, maybe Shift + F or Alt + F. Three at once would be easiest, but maybe four at the most, colored red, blue, green, and something else. In find mode, everything else is dimmed currently.
  • baizuo
    29th Jun 2012 Member 0 Permalink

    @jacob1 (View Post)

     Grrrrrr my fault, I didn't noticed the FIND thing in your mod...That IS what I want, all you need is add the ability to highlight multiple elements at once.

    Thanks :)