OcRam - Local Coop plugin [v3.02 updated 2019/11/27]

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,294
Reaction score
1,270
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
397
Reaction score
495
First Language
Finnish
Primarily Uses
RMMV
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
11
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
397
Reaction score
495
First Language
Finnish
Primarily Uses
RMMV
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
11
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
397
Reaction score
495
First Language
Finnish
Primarily Uses
RMMV
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
11
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
397
Reaction score
495
First Language
Finnish
Primarily Uses
RMMV
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
11
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
397
Reaction score
495
First Language
Finnish
Primarily Uses
RMMV
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
11
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
397
Reaction score
495
First Language
Finnish
Primarily Uses
RMMV
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
11
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
397
Reaction score
495
First Language
Finnish
Primarily Uses
RMMV
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
11
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
315
Reaction score
205
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/index.php?threads/set-camera-movement-route-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
397
Reaction score
495
First Language
Finnish
Primarily Uses
RMMV
I randomly happened upon this post

https://forums.rpgmakerweb.com/index.php?threads/set-camera-movement-route-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: 3)

Latest Threads

Latest Posts

Latest Profile Posts

A friend told me to stop making nomnom or gulping noise when eating or drinking. Plot twist of my life. I thought people can't hear that!
Inside you are two wolves. They take in oxygen while getting rid of the Co2 gas in your body...
Ah wait, sorry. Lungs. Not wolves. that'd be silly. Wolves are huge. You probably couldnt even fit one wolf inside you.
Tag: hack and slash | gameplay: point and click. Me: "How tf two are related to each other?"
I picked up For The King in a Humble Bundle sale, and one mechanic that stuck out to me was a physical change to the world map when finishing a side quest. That got me thinking about special map-effect rewards for certain side quests in my game.
Stream will be live shortly with some Witcher 3! Feel free to drop by!

Forum statistics

Threads
94,402
Messages
920,689
Members
124,192
Latest member
Cremo
Top