OcRam - Local Coop plugin (for MV)

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
I'm having a problem when any other player interacts with anything, or even opens up the menu I get an error message saying
"Uncaught reference: Resource Handler is not defined."
I'm not sure what I'm doing wrong but any help would be much appreciated
Hello @Erne and thank you for trying out this plugin.

Make sure you got latest versions of RMMV core (or at least 1.5.x) don't remember exact version where Resource Handler was declared... Just remember to take backups before updating your project files.
 

zarasrage

Villager
Member
Joined
Jun 2, 2018
Messages
21
Reaction score
7
First Language
Spanish
Primarily Uses
RMMV
When I try this plugin it says TypeError Cannot read property 'pressed' of undefined when I try to press a controller. Start does not seem to do anything on the controller. I'm very new to rpgmaker is there more setup required then just install and use?
Did it work for you? Because i have the same problem and i dont know how to fix it :'(
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
I'm having a problem when any other player interacts with anything, or even opens up the menu I get an error message saying
"Uncaught reference: Resource Handler is not defined."
I'm not sure what I'm doing wrong but any help would be much appreciated
Did it work for you? Because i have the same problem and i dont know how to fix it :'(
Please check ..\js\rpg_core.js in your project folder and open it (for example in notepad) it should have version info like:
//=============================================================================
// rpg_core.js v1.x.x
//=============================================================================

Just make sure that it is 1.5.2 or later. And remember backups (at least before updates).
 

curiositycore

Warper
Member
Joined
Feb 19, 2013
Messages
1
Reaction score
1
First Language
English
Primarily Uses
This is an amazing plugin! So many possibilities! Is there anyway to call the player 2-3 controls in a script? So if player 2 presses left for example, it returns true and performs the required action? Thank you for any help on this :)
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Thank you for the message @curiositycore!

At the moment I havn't implemented that kind of -easy to use- functionality in this plugin. You can only check touchinput, input (keyboard) and input (gamepad), but you have check them all individually and also check if it is used by player X (all followers should have _deviceIndex_OC property which will tell you device index of that player).

I try to do this this more easier to use in next version of this plugin. I will post more info on the 1st page of this thread when I have schedule on this.
 
Last edited:

Navy Goku

Villager
Member
Joined
Jun 18, 2017
Messages
5
Reaction score
1
First Language
Español
Primarily Uses
RMMV
How i can make the player 2 use the mouse to move?
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
How i can make the player 2 use the mouse to move?
You have to swap player1 and player2 controls via plugin command: swap_players 1 2
 

styx92

Veteran
Veteran
Joined
Jan 7, 2016
Messages
310
Reaction score
39
First Language
German
Primarily Uses
@OcRam Very nice Plugin!

Is it possible to lock this system to max 2 Players?
And btw to trigger a common event, if a player is switch or get off the game?

I wanna open a menu, if a new player joins the party, where the players can choose the actors, they want to play.

Thanks for this cool plugin :)
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
@OcRam Very nice Plugin!

Is it possible to lock this system to max 2 Players?
And btw to trigger a common event, if a player is switch or get off the game?

I wanna open a menu, if a new player joins the party, where the players can choose the actors, they want to play.

Thanks for this cool plugin :)
Thank you for the message!

I will add "Max players" parameter and Common Events for player enter / leave to next version. I will update first page of this thread when I have Schedule on this.
 

styx92

Veteran
Veteran
Joined
Jan 7, 2016
Messages
310
Reaction score
39
First Language
German
Primarily Uses
Thank you for the message!

I will add "Max players" parameter and Common Events for player enter / leave to next version. I will update first page of this thread when I have Schedule on this.
Wow thanks you! Love it!

If you are already working on it, would it also be possible to replace the font "player 2s turn" in the fight with his own font or picture?

Thank you very much for your support! :)
 

Zayriel

Veteran
Veteran
Joined
Jul 19, 2018
Messages
52
Reaction score
14
First Language
English
Primarily Uses
RMMV
I'm totally new to all things RPG Maker (have some JS knowledge, though), but this plugin intrigues me so much! In fact, I'm wondering if it could be modified with Local Multiplayer functionality that when combined with a more action oriented battle system, could work similarly to say Grand Class Melee 2.
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
I'm totally new to all things RPG Maker (have some JS knowledge, though), but this plugin intrigues me so much! In fact, I'm wondering if it could be modified with Local Multiplayer functionality that when combined with a more action oriented battle system, could work similarly to say Grand Class Melee 2.
Thank you for the message!

I'm sorry to say, but I have no future plans to support any action (or tactical) battle system(s).
 
Joined
Jul 12, 2018
Messages
7
Reaction score
3
First Language
English
Primarily Uses
RMMV
Hello! I am testing this out with my project and I am wondering if there is a way I can have it to where the second player does not spawn in when a controller is connected. Is there a way where I can have it to where player 2, 3, an and so on only connects IF there is a switch turned on?
 

styx92

Veteran
Veteran
Joined
Jan 7, 2016
Messages
310
Reaction score
39
First Language
German
Primarily Uses
Hello! I am testing this out with my project and I am wondering if there is a way I can have it to where the second player does not spawn in when a controller is connected. Is there a way where I can have it to where player 2, 3, an and so on only connects IF there is a switch turned on?
Yeah thats good, too.
More control about the player join is very usefull :)
 

ferny

Warper
Member
Joined
Aug 10, 2018
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMV
Any plugins or future additions to this plugin that will allow the camera to zoom out to fit both players on screen at all times?
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Any plugins or future additions to this plugin that will allow the camera to zoom out to fit both players on screen at all times?
Thank you for the message, ATM I have no future plans to do split screen / or zoom out to fit players.
 

Josephkhland

Extremely Hardfork
Veteran
Joined
May 20, 2015
Messages
140
Reaction score
17
First Language
Greek
Primarily Uses
RMVXA
I downloaded this plugin which is amazing and I would like to start making a game for multiple players.
So while I was testing it around I think I found a small bug. When player 2 interacts with an event using the action button and the event ends, then he can't interact again unless he presses another button first.

The event I had was a simple event saying "Hello"
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,707
Reaction score
1,123
First Language
Portuguese - Br
Primarily Uses
RMMZ
Simply incredible ...: D
Someday if I have money I will certainly buy the license with you.
In case of being non-commercial. If I made an android game and put it on google play for free, no ads and no purchases within the app. Would it still will be considered as non-commercial to you?
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Simply incredible ...: D
Someday if I have money I will certainly buy the license with you.
In case of being non-commercial. If I made an android game and put it on google play for free, no ads and no purchases within the app. Would it still will be considered as non-commercial to you?
Thank you for the message!

To sum it up: If you don't get money with your game, then this plugin is free to use with credits in your game for using "OcRam Local co-op plugin".
 
Joined
Sep 21, 2018
Messages
2
Reaction score
1
First Language
Portugues
Primarily Uses
RMMV
Dude, i loved this plugin!
I don't know if you will see this comment... but!
I need your help!
Is there any way to make something happen when a NPC touch the second player?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect
I have gathered enough feedback from a few selected people. But it is still available if you want to sign up https://forums.rpgmakerweb.com/index.php?threads/looking-for-testers-a-closed-tech-demo.130774/

Forum statistics

Threads
105,995
Messages
1,018,208
Members
137,775
Latest member
yj8570
Top