OcRam - Local Coop plugin (for MV)

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
Xbox One Controller is still crashing as soon as it is enabled, in fact most of the newer gamepads are crashing. (Switch Pro, Xbox One and Ps4)

 

Ilovepapayas

Villager
Member
Joined
Nov 7, 2015
Messages
9
Reaction score
3
First Language
german
Hey Ocram, definitely one of best rpg maker plugins ever created!

Is there any chance to control movement (like it is done in "Set Moveroute") of player 2 to create better cutscenes? Also interesting for "show ballon" and "show animation".
It is (of course) not compatible with other plugins that control the movement of the followers.

Thank you for sharing this awesome plugin!
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Hey Ocram, definitely one of best rpg maker plugins ever created!

Is there any chance to control movement (like it is done in "Set Moveroute") of player 2 to create better cutscenes? Also interesting for "show ballon" and "show animation".
It is (of course) not compatible with other plugins that control the movement of the followers.

Thank you for sharing this awesome plugin!
Thank you for the message,

I will take a look at these ideas and try to fit them in next version of this plugin.

@Ilovepapayas
EDIT: I have now implemented this functionality and beta version is working like it is supposed to! Release is coming soon...
local_coop_set_move_routes.png
 
Last edited:

Chilifan

Villager
Member
Joined
Nov 19, 2015
Messages
13
Reaction score
5
Primarily Uses
I can only agree. Wonderful plugin. I use it for some kind of bomberman clone.

Any chance to detect P2 pick up an item (Event on map) instead of Player (P1)? Both players have own equip (Variable control on map)

I use max 2 players only, so any idea for eventing a condition(if not player) should also work.

By the way. If you like to make p2 invisible you can use a follower Control plugin and set „move route“. ;-)
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
I can only agree. Wonderful plugin. I use it for some kind of bomberman clone.

Any chance to detect P2 pick up an item (Event on map) instead of Player (P1)? Both players have own equip (Variable control on map)

I use max 2 players only, so any idea for eventing a condition(if not player) should also work.

By the way. If you like to make p2 invisible you can use a follower Control plugin and set „move route“. ;-)
Thank you for the message,

There are several ways to detect which player started the event. Some of the techniques are introduced in my YouTube video:
 

Chilifan

Villager
Member
Joined
Nov 19, 2015
Messages
13
Reaction score
5
Primarily Uses
Thank you for the message,

There are several ways to detect which player started the event. Some of the techniques are introduced in my YouTube video:
Uff, I missed the variable in turn. Thanks for the quick reply!
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Hello everybody!

It is time again to release something. So here we go!

Latest release - v2.11 (released 2019/08/03)
  • Improved gamepad compatibility (shouldn't give undefined error anymore)
    Special thanks to @Tuomo L for reporting and testing this!
  • Implemented 3 new plugin commands
    • apply_to_player 2
      Apply move routes, balloons and animations to this player instead of player 1 (possible values 1-4)
    • apply_to_follower 1
      Apply move routes, balloons and animations to this follower instead of player (possible values 1-3)
    • followers_follow yes/no
      Will followers follow player 1?
 

Chilifan

Villager
Member
Joined
Nov 19, 2015
Messages
13
Reaction score
5
Primarily Uses
Hello everybody!

It is time again to release something. So here we go!

Latest release - v2.11 (released 2019/08/03)
  • Improved gamepad compatibility (shouldn't give undefined error anymore)
    Special thanks to @Tuomo L for reporting and testing this!
  • Implemented 3 new plugin commands
    • apply_to_player 2
      Apply move routes, balloons and animations to this player instead of player 1 (possible values 1-4)
    • apply_to_follower 1
      Apply move routes, balloons and animations to this follower instead of player (possible values 1-3)
    • followers_follow yes/no
      Will followers follow player 1?
Wow, this is a great! Specially followers follow. How to do this with move routes? I don't get. Plugin command on top of move route (Target player?)
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Wow, this is a great! Specially followers follow. How to do this with move routes? I don't get. Plugin command on top of move route (Target player?)
There's screen shot on 1st page of this thread which shows use of plugin commands with move routes, balloons and animations.
 

Chilifan

Villager
Member
Joined
Nov 19, 2015
Messages
13
Reaction score
5
Primarily Uses
I cannot believe that I have overlooked something so obvious again. XD Thank you again!
But there seems to be a bug with the opacity. Other move routes commands work well.

I've tried to set follower 1 opacity to "0".
Plugin: apply_to_follower 1
Set_Move_Route: opacity (0)

I 've improvised and change the graphic in set_move_route.
 

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 report.

I have now fixed this + also: MoveSpeed, BlendMode, WalkAnim, StepAnim, DirectionFixes and Transparencies should now work!

Version 2.12 is now released!
 

Chilifan

Villager
Member
Joined
Nov 19, 2015
Messages
13
Reaction score
5
Primarily Uses
Thanks for the quick cleanup. Opacity works.
I'm sorry to report that, but with (v2.12.) I cannot move my second player with keyboard2. The joining works still. Using [wasd...]
Strange...
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Thanks for the quick cleanup. Opacity works.
I'm sorry to report that, but with (v2.12.) I cannot move my second player with keyboard2. The joining works still. Using [wasd...]
Strange...
Thank you for the quick report. I've now fixed this.

I didn't raise the version, so latest version is still v2.12 (because you were the only one who had downloaded it). But I have changed the release date from 2019/08/04 to 2019/08/05

Edit: Few hours after upload I found that line 469 had a bug... "p = p > vflwrs.length ? vflwrs.length : 0;" it should be "p = p > vflwrs.length ? vflwrs.length : p;" I have uploaded corrected version now... Sorry for any trouble this may have caused. (before fix 1st follower is always selected on apply_to_follower cmd)
 
Last edited:

Chilifan

Villager
Member
Joined
Nov 19, 2015
Messages
13
Reaction score
5
Primarily Uses
Quick question OcRam.
Is there a way to transfer only one Player on the same MAP with X and Y coordinates? I think there already is (page1 this.setPosition...) but i do not get it. I've also tried YEP MoveRouteCore teleport command for move route.
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Quick question OcRam.
Is there a way to transfer only one Player on the same MAP with X and Y coordinates? I think there already is (page1 this.setPosition...) but i do not get it. I've also tried YEP MoveRouteCore teleport command for move route.
Just use * Plugin command * apply_to_player x
(x = which player you want to transfer)
NOTE: If player x is not present (gamepad disconnected etc...) all actions will be applied to player 1.

And * Set movement route * script : this.setPosition(x, y);
 

Chilifan

Villager
Member
Joined
Nov 19, 2015
Messages
13
Reaction score
5
Primarily Uses
Just use * Plugin command * apply_to_player x
(x = which player you want to transfer)
NOTE: If player x is not present (gamepad disconnected etc...) all actions will be applied to player 1.

And * Set movement route * script : this.setPosition(x, y);
Yeah i've tried this before, but it failed. It was as expected a user error XD.
I have two identical MAPS for 1 player only and 2 players only.
Unfortunately, the transfer to MAP was set wrong. I'm wondering all the time why Player 2 is treated like a follower.^^

Thanks for your answer by the way!
 

Restart

Veteran
Veteran
Joined
Mar 15, 2019
Messages
523
Reaction score
415
First Language
English
Primarily Uses
RMMV
Thank you for mesage,

I have thought about split screen (players in same map), but it is too big project for me ATM.

I'm working on my master demo which will introduce every plugin I've got and I'm hoping it's ready this summer.

FAQ = this thread. Here are mainly all the questions that are asked and answered (+few questions in youtube, but I have tried to re-direct all questions here).
I randomly happened upon this post

https://forums.rpgmakerweb.com/inde...oute-with-diagonal-ability.94415/#post-945568

Which demonstrates a working splitscreen plugin. I dunno if it's compatible with your local coop or not, but it'd be cool if it just worked
 

Hugo Yasha

Villager
Member
Joined
Jan 23, 2017
Messages
15
Reaction score
4
First Language
Portuguese
Primarily Uses
RMMV
Epic plugin!
I'm using the YEP slippery tiles, and it only works with player one. Have I done something wrong or this plugin isn't compatible with the YEP Slippery Tiles?
Thanks again man! Awesome plugin.
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
I randomly happened upon this post

https://forums.rpgmakerweb.com/inde...oute-with-diagonal-ability.94415/#post-945568

Which demonstrates a working splitscreen plugin. I dunno if it's compatible with your local coop or not, but it'd be cool if it just worked
Thank you for pointing out that thread,

But split screen (or making it compatible with that one) would be too big project for me ATM.

Epic plugin!
I'm using the YEP slippery tiles, and it only works with player one. Have I done something wrong or this plugin isn't compatible with the YEP Slippery Tiles?
Thanks again man! Awesome plugin.
Thank you for the message!

I'll try to check this out. Doesn't seem too big thing to do (Yanfly -plugins are generally super easy to play with).
 

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