OcRam - Local Coop plugin (MZ/MV)

● ARCHIVED · READ-ONLY
Started by OcRam 325 posts Page 16 of 17 View original ↗
  1. Oh okay, thanks for the quick reply.
    OcRam said:
    Then you could give player to choose on start up: local multiplayer or network multiplayer
    (Just popped my mind: that wouldn't actually even require game reload, if you'd confirm that BEFORE any plugins are loaded)

    Would it be also possible to load just the local-coop plugin later for example via command? So once it's loaded but you decide to go into online multiplayer you have to reload the game first (I would just make an automatic reload), so that just the local-coop plugin is unloaded again?
  2. GamesOfShadows said:
    Oh okay, thanks for the quick reply.


    Would it be also possible to load just the local-coop plugin later for example via command? So once it's loaded but you decide to go into online multiplayer you have to reload the game first (I would just make an automatic reload), so that just the local-coop plugin is unloaded again?
    Once again doing things in mid-game isn't as easy as it sounds. If you are lucky load inheritance doesn't mind if it's loaded afterwards and you are good to go to load it anytime afterwards.

    If we think about aliases and overwrites (and other plugins that rely on them from game start) then comes "after load", which could destroy aliased functions. If there is no direct crash it's VERY likely something weird is going to happen.

    But I guess you could try to load it afterwards with PluginManager.loadScript('OcRam_Local_Coop') - No guarantee it will work! ;p
  3. Thanks again, luckily I just find a simple solution... - I thought I had already tested this, apparently not. I use a Skip-Title plugin... I deactivated it, started "singleplayer" in the normal title screen and then went into multiplayer mode, everything worked. I activated the skip-title plugin again -> not working anymore.

    I tried another skip-title plugin (from ZainWD) and it works now... I was so sure I already tested it, but as I said luckly I tried it again. ^^
    Also I don't know why it didn't worked with the other skip-title plugin... but it works now, that's all that matters.
  4. Hello, I started to use this plugin (on RMMZ), but I have an error when I move the player after I transfer him on an other map.

    Example :
    1668872014952.png

    If I delete the second instruction, I don't have error.

    Error :
    1668872186136.png
  5. Calis said:
    Hello, I started to use this plugin (on RMMZ), but I have an error when I move the player after I transfer him on an other map.

    Example :
    View attachment 245420

    If I delete the second instruction, I don't have error.

    Error :
    View attachment 245421
    Hello can you send screenshot from console (F8 then console tab) when this happens, please?
  6. OcRam said:
    Hello can you send screenshot from console (F8 then console tab) when this happens, please?
    Thank you for very much for your reply.

    Screenshot :
    1668939388916.png

    And I have an other problem, I could'nt load a save.
  7. Calis said:
    Thank you for very much for your reply.

    Screenshot :
    View attachment 245482

    And I have an other problem, I could'nt load a save.
    Is there error in console when trying to load?
  8. OcRam said:
    Is there error in console when trying to load?
    Yes :
    1668972162863.png
  9. OcRam said:
    Thank you for the reports!

    I will take a look at these and notify you when these are fixed.
    Ok thank you very much
  10. I'm curious if to see you can only use this plugin for battles. so a secondary player. like in persona where a ai controls that char. another person can and you dont have any control unless you play alone
  11. Hi OcRam,
    For some reason, downloading the plugin is being flagged as a virus by McAfee, I am unsure why but it's probably better to let you know
  12. Yulevia said:
    Hi OcRam,
    For some reason, downloading the plugin is being flagged as a virus by McAfee, I am unsure why but it's probably better to let you know
    Use malwarebytes or kasberry. But McAfee has a history for flagging mostly anything it can, From what most people I had talked with experienced.
  13. Hi! :LZSproud:

    In my game, the player controls a party of two characters. I wish that by pressing a designated button, they can separate the characters, allowing the player to control them independently. They can separate from the party and rejoin at the player's will expect if a switch that forbids that is turned ON.

    I imagine this is possible since it supports having a shared keyboard, but can a single analogic controller be shared? :0

    One character is controlled by left analog stick and directional buttons, and the other with the right analog stick and the action buttons.

    Would this be feasible with this plugin? ^^

    (I'm using the MZ plugin.)
  14. Angy1910 said:
    In my game, the player controls a party of two characters. I wish that by pressing a designated button, they can separate the characters, allowing the player to control them independently. They can separate from the party and rejoin at the player's will expect if a switch that forbids that is turned ON.
    This should be default behavior of this plugin, if I understood this correctly.

    Angy1910 said:
    One character is controlled by left analog stick and directional buttons, and the other with the right analog stick and the action buttons.
    I can't possibly see how/why 2 players could/should share same gamepad?
  15. OcRam said:
    This should be default behavior of this plugin, if I understood this correctly.
    That's nice to hear! :)

    OcRam said:
    I can't possibly see how/why 2 players could/should share same gamepad?
    There are many games where you can do that actually! Even the Nintendo Switch is based on this idea. Though they are still detected as two controllers.

    It's useful if you don't have enough controllers or if you are designing a mechanic where you have to control two character at the same time.

    It's done with normal controllers too, making the first player hold the left part of the joystick and the second the right part of the joystick.

    1000244075.jpg
    Game: Overcooked

    Similary in my case, it's one controller, that can control two characters without the need to detect a second controller. Every side has the same commands avalaible.

    So, can one controller be split for two player characters? ^^
  16. Angy1910 said:
    That's nice to hear! :)


    There are many games where you can do that actually! Even the Nintendo Switch is based on this idea. Though they are still detected as two controllers.

    It's useful if you don't have enough controllers or if you are designing a mechanic where you have to control two character at the same time.

    It's done with normal controllers too, making the first player hold the left part of the joystick and the second the right part of the joystick.

    View attachment 320209
    Game: Overcooked

    Similary in my case, it's one controller, that can control two characters without the need to detect a second controller. Every side has the same commands avalaible.

    So, can one controller be split for two player characters? ^^
    I see. It is a cool idea!

    But Switch is still giving each player their own controller - so I wouldn't say it's same as 2 people on same gamepad (basic idea is same though >> you can split full gamepad into 2).

    Technically of course it can be done (already implemented shared keyboard as you noticed and using second analog stick to allow player "look around" in OcRam_Input_EX -plugin), but unfortunately I don't have time to do shared gamepad feature ATM.
  17. Hi! I'm trying to assign keybinds for "looking around" when using the keyboard (like you would do when using the right analog stick with a controller), but I am having trouble finding the option to do so.

    How can I make the player look around with the keyboard with WASD by default? (if the keyboard is not shared for two players) :LZSproud:
  18. Angy1910 said:
    Hi! I'm trying to assign keybinds for "looking around" when using the keyboard (like you would do when using the right analog stick with a controller), but I am having trouble finding the option to do so.

    How can I make the player look around with the keyboard with WASD by default? (if the keyboard is not shared for two players) :LZSproud:
    Thank you for the message,

    Currently you can only "look around" with right analog stick (if enabled).

    Edit: And if this is critical mechanics for the project, keyboard and touch input can disabled with OcRam_Input_EX plugin.
  19. OcRam said:
    Thank you for the message,

    Currently you can only "look around" with right analog stick (if enabled).

    Edit: And if this is critical mechanics for the project, keyboard and touch input can disabled with OcRam_Input_EX plugin.
    Can local-coop allow the controller and keyboard input to overlap, so that WASD and controller 1 both control 1P.
    Because on console platforms such as Xbox, players do not have keyboards, and Xbox allows js code to execute.