[REL] Split Screen (always on & toggleable versions)

Discussion in 'Mod Discussions' started by Corang, February 22, 2014.

  1. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
    Warning, these mods WILL drop your performance, the toggleable split screen will hurt it the most
    Clicking on the PiP button changes the layout.

    I am not good at explaining things, so refer to the pictures below:

    Always on Split Screen with toggleable PiP (corSplitScreen.zip)
    splitscreen-no-PiP.png splitscreen-PiP-on.png
    Toggleable Split screen with no PiP (corToggleableSplitScreen.zip)
    toggleable-splitscreen-on.png toggleable-splitscreen-off.png
    Clicking on the PiP button changes the layout.

    Known Bugs:
    • When clicking on the PiP button in always on split screen, the right camera changes, but only once.
    • Shift-v screws everything up horribly. If you happen to press it, or press it because you don't believe me, press f5 to fix it. I thought it did but I guess I did this mod in a way that it doesn't. Shift-v just cycles through all of the camera views


    This may be incompatible with other mods as it shadows live_game.css and live_game.html, if any other mods shadow these files this mod is incompatible with them.

    I have not done any testing for incompatibilities so if anyone finds any please let me know.


    EDIT: Also if someone could put this on PAMM it would be cool cause I don't know how, they are compatible with it though (at least I am pretty sure they are)

    Attached Files:

    Last edited: February 22, 2014
    Clopse, thetrophysystem and SXX like this.
  2. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    If v and shift-v are broken, you probably need to remove your left and right holodecks from model.pips
    thetrophysystem likes this.
  3. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
    EDIT: nvm I don't need it
    Last edited: February 22, 2014
  4. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Won't work for you. You should probably do
    Code:
    (function() {
        model.pips = [ model.pips[2],  model.pips[3] ];
    })();
    
    But that isn't a good general solution. Also, I think you have one more hack div than you need. You don't need the second pip holodeck in there.
  5. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
    take it out and see if it works for you, I am taking a food break
  6. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
    @raevn I was wondering if you could add these mods to PAMM, I have all of the necessary files in the zips, I just can't submit it as github hates my computer.
  7. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    Done.
  8. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    If I get a chance I'll look at making it so it doesn't shadow the entire file.
    Both versions could also be combined, with a setting added to toggle which one is shown.
  9. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
    That would be cool to be able to toggle it between them, though my js knowledge is still very limited so that would be hard for me.
  10. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    It would be really nice if there was a draggable bar in the middle for resizing them. I also don't think this is compatible with draggable pip or alerts manager's notification hovering. I should take a look soon and see if I can make it work with those. I still have a huge backlog of things I want to do though.
  11. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
    @raevn @LavaSnake I cloned the repository and committed updated versions of my mods but I don't know how to make a pull request...

    EDIT: Nevermind, after a lot of fighting, cursing, and punching the wall next to me I got github to work properly, committed my updates, and submitted a pull request
    Last edited: February 23, 2014
  12. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    and I accepted it and added the updates to PAMM.

Share This Page