Friendship-Romance System (FRS)

● ARCHIVED · READ-ONLY
Started by lordvalinar 110 posts Page 5 of 6 View original ↗
  1. I turned off Multiple parties first and it worked, then I turned multiple parties back on and then turned off VisuStella's party system and it worked. It seems anything that modifies parties is incompatible with this particular plugin and both Multiple Parties and Party System are integral to my game
  2. lordvalinar said:
    He means more specifically in the RPG Maker engine, the plugin manager. Can we see what value you have in that parameter? The screenshots just show us the code and error, not what you have. It could be a small mistake "Missing the #" or something else. Just want visual confirmation :)
    Sorry for the late reply, exams and holidays ended up taking my time

    image_2023-01-18_124947481.png
    I had the default settings on prior to removing the plugin, I also added the menu in the VisuStella Menu Core as per the OP's instructions
  3. I think I see what it is... in your last screen shot you have "friendship menu.js" - and even in that last one you have it the same. It has to be the original name of the plug (either "LvMZ_FRS.js" or "LvMZ_FRS_Alt.js" whichever one you downloaded). So it's not getting the parameters of the plugin, which is why you're getting the errors.
  4. lordvalinar said:
    I think I see what it is... in your last screen shot you have "friendship menu.js" - and even in that last one you have it the same. It has to be the original name of the plug (either "LvMZ_FRS.js" or "LvMZ_FRS_Alt.js" whichever one you downloaded). So it's not getting the parameters of the plugin, which is why you're getting the errors.
    Wow, okay, this helped out a lot, thanks
  5. I keep getting this and i followed everything
    1678234358766.png
    1678234385764.png
  6. @alltheyuriz did you use hexColor value (#00FF00)?
    are there any actors setting up in the list to draw those value?
    is the name of the plugin exact the same as it should be named?

    it was also someone on page 4 I think with the same screenshots.
  7. lordvalinar said:
    Friendship Romance System (FRS)
    v1.3 (by LordValinar)

    Introduction
    Introduces a more in-depth relation system between actors (and events!)

    New - Latest Update (v1.31 - Sep 24 2021):
    Changelog
    • Hotfix #3:
      -> Moved code that adds Relations to menu to only appear if dev is not using VisuMZ MainMenuCore
      -> Also added conditionals so that the Relations scene is only active if the selected actor has relations to show (same goes for the inMenu switching : no relations, will pop back to main menu)
      -> Added option in plugin parameters (if ON : entering Relations menu automatically loads up the party leader, skipping actor selection) per request (available in both FRS versions).
    • Added an alternative version (1.3) to include both friendship + romance bar simultaneously
    • Hotfix #2: Another syntax error.. whoops
    • Hotfix #1: A few syntax errors when running the plugin commands to change relations
    • Added formula arguments for actor IDs - now you can retrieve a variable as an actor ID: v[#]
      or get the indexed actor's ID: a[1] = party leader, a[3] = 3rd actor, etc

    FEATURES:
    • Notetags(Actors, Skills, Items): Assign notetags that can:
      • Set initial friendship/romance levels upon the starting party composition
      • Add friendship between party after every battle
      • Checks if current friendship/romance level is above a certain threshold -> adds a state or learns a skill (as applicable), or if the level is below the threshold -> removes state or forgets a skill.
      • One-Time common events, switch flips (true or false), or variable adjustment based on certain friendship/romance level >= the threshold. Plugin command available to remove the DoOnce flag.
      • Skill Notetag (can increase friendship/romance with a certain actor (or the target themselves!)
      • Item Notetag (can increase friendship/romance between user[party leader] and target ally)
    • Custom "Relations" menu displaying all available friends/romanced actors (and NPCs!) (see below for compatability with VisuStella's Main Menu Core)
      • This menu displays the actor/NPC graphic, name, relation bar (green = friendship; reddish = romanced) + Icon if "engaged/married/lovers/significant other", and then up 5 state icons representing any buffs applied.
    • You can befriend/romance NPCs, however you cannot switch to them in the relations menu (You will get a buzzer), but you can still get all the buffs as you would with an actor (conditionals are setup via the plugin command or script call - if you want any).
    • Plugin command to save a relation value to a variable, so can use with message boxes.
    PLUGIN PARAMETERS:
    • Minimum relations level (default 0): Lowest value to check for/set
    • Maximum relations level (default 100): Highest value to check/set
    • "Engaged" icon ID (default 84): When lovers/married/etc, this icon will appear in the Relations menu
    • "Engaged" minimum (default 90): The romance value must be greater than or equal to this value to be considered "engaged/married/lovers/etc".
    • "Engaged" state ID (default 0): If you want your lovers to get a buff while in the same party, the state with this ID will be applied to both (or all if multiple lovers). If one leaves the party, all lose the buff.
    • New Member Friendship (default 0): When you gain a new member, the current party gains this much friendship with them.
    • New Member Befriends Party (default false): If the 'new member friendship' value is > 0 and this is 'true' then the new member will also add everyone in the party to their friends list.
    • Prefix (string -> '' default '(npc)'): If you want to separate your NPC names in the Relations list, this prefix will be added before the event name. Can combine with Postfix.
    • Postfix (string -> '' default blank): If you want to separate your NPC names in the Relations list, this postfix will be added after the event name. Can combine with Prefix.
    • Relation Window Text (string -> '' default 'Relations:'): This is the text that appears in the header box, displaying which is the current actor's friends list. Just added for user customization.
    • Customize the gradient fill for the friend/romance bars. Does use HEX code (so a simple google search- or leaving it alone- will help the dev out if they don't want to use the standards)
    VS Menu Core Compatability:
    1) Open up VisuMZ_1_MainMenuCore plugin settings
    2) Open the Command Window List
    3) Open up a new command on the last line
    4) Go to the "Text" tab and REPLACE (meaning delete -> then paste new text) with the text:
    Code:
    {"Symbol:str":"relations","Icon:num":"84","TextStr:str":"","TextJS:func":"\"return 'Relations';\"","ShowJS:func":"\"return true;\"","EnableJS:func":"\"return this.areRelationsEnabled();\"","ExtJS:func":"\"return null;\"","CallHandlerJS:func":"\"SceneManager._scene.commandPersonal();\"","PersonalHandlerJS:func":"\"SceneManager.push(Scene_Relations);\""}

    Alternatively you can set it up manually:
    * Symbol: relations
    * Icon: 84 (or whatever you choose)
    * STR: Text
    * JS: Text return 'Relations';
    * JS: Show return true;
    * JS: Enable return this.areRelationsEnabled();
    * JS: Ext return null;
    * JS: Run Code SceneManager._scene.commandPersonal();
    * JS: Personal Code SceneManager.push(Scene_Relations);

    Screenshots
    View attachment 192856

    How to Use:
    Place into your project's js\plugins\.. folder, and activate in the plugin manager. Set your parameters to how you want the values to be (such as automatically adding friendship when adding a new member? Or you can control it manually in the event).

    Plugin Commands / Script Calls:
    Explained in detail in the plugin, but the TLDR:
    • Change Relations (friendship or romance, by value towards target actor or event
    • Delete DoOnce Flag (allows you to re-run a one-time event from a relation change)
    • Save To Var (saves current friendship or romance data to a variable)

    Download: Github (download)
    Alternate(Both bars) (download)

    Terms and Credits:
    Free to use and modify for commercial and noncommercial games, with credit.
    Do NOT remove my name from the Author of this plugin
    Do NOT reupload this plugin (modified or otherwise) anywhere other than these forums (RPG Maker Web.com)
    Is it possible to use the romance system on RPG maker mv Nintendo switch?
  8. @jaja the plugin is for RPG Maker MZ, so it doesn't work on MV, and not sure how MV Nintendo Switch works.
    or if it could use any plugins, neither if it is supported by the degica company though.

    and based on the images of the RPG MV Switch, I dont see if you could add plugins to it.
    so you might need to event it all out as there are some tutorials on how to make it work.
  9. jaja said:
    Is it possible to use the romance system on RPG maker mv Nintendo switch?
    This is the fourth or fifth time you've come here asking about a plugin for MV on Switch, and I have told you numerous times that MV on Switch cannot use plugins. It is a PC only thing.

    I don't understand why you can't seem to grasp this.
  10. ShadowDragon said:
    @alltheyuriz did you use hexColor value (#00FF00)?
    are there any actors setting up in the list to draw those value?
    is the name of the plugin exact the same as it should be named?

    it was also someone on page 4 I think with the same screenshots.
    I just wanted to give you many thanks Shadow - you been there helping people with my plugins for awhile lol I can only give you a virtual hug though :p Again thanks though ^_^ I'm back to the coding scene so hopefully I can help too again, once I go through the Gajillion messages :aswt:
  11. Sword_of_Dusk said:
    This is the fourth or fifth time you've come here asking about a plugin for MV on Switch, and I have told you numerous times that MV on Switch cannot use plugins. It is a PC only thing.

    I don't understand why you can't seem to grasp this.

    MV is on Switch? How would you even navigate the engine on a console?
  12. MrBallins said:
    MV is on Switch? How would you even navigate the engine on a console?
    The same way you navigate Fes, I assume.
  13. So I followed the directions as I run Main Menu Core and this plugin and got the following errors. I attached what plugins I am working to one of the screenshots. (This happens when I try to test run the game or do a troop test battle. )
  14. Well, I thought I fixed it and then got this error when trying to test a battle again. I moved around some of my plugins to fix some things.
  15. UPDATE: So playing around with it, basically this issue only happens if you "Battle Test". If I test the actual game and get into random encounters it creates no issue. But if you try to Battle test it is for some reason looking for a romance level that is not even relevant?

    Right now my work around is to either turn off main menu core and the relationship plug in if I want to battle test, or set up a map where I get random encounters instantly.
  16. @Silvermane its better to "Edit" your post than reply again.

    also, "undefined" means that it doesn't exist in the database or is removed.
    this also happen if you continue from a save file instead of a "new game" play.

    you also show the wrong console log which should be the "console tab" and no the "element"
    which is useless.

    so we cannot tell which line or which plugin is the culprit or the cause of the issue.
  17. This seems like it could be what I am looking for in a plugin, however, I want to be able to have different people have different friendships and romances. For instance, Actor 1 able to only romance Actors 2-5, friendship actors 6-8 and do nothing with actors 9 and 10, And actor 4 for instance only wanting to romance actors 1 and 8 while friending actors 5, 9 and 10 and nothing with the others, but be able to do so through interactions in battle. It doesn't seem to have to type of functionality to make specific actors able to Friend/Romance as a default from the point values in battle. Just friendship. And skill settings don't differentiate between who you are wanting to add the friendship points or romance points.
  18. Got a version of this for MV? Or can it still work with MV? I mean, one MZ plugin I got worked with it, so......
  19. yamatoundine said:
    This seems like it could be what I am looking for in a plugin, however, I want to be able to have different people have different friendships and romances. For instance, Actor 1 able to only romance Actors 2-5, friendship actors 6-8 and do nothing with actors 9 and 10, And actor 4 for instance only wanting to romance actors 1 and 8 while friending actors 5, 9 and 10 and nothing with the others, but be able to do so through interactions in battle. It doesn't seem to have to type of functionality to make specific actors able to Friend/Romance as a default from the point values in battle. Just friendship. And skill settings don't differentiate between who you are wanting to add the friendship points or romance points.
    Every actor has their own 'stored data' regarding friendship and romance. Someone asked this earlier I believe, and while I don't have commands that specifically modify actors other than the party leader, you can use a Script Call. For example if party leader was Actor 1, but you Wanted Actor 2 to romance Actor 4 you'd have something like this:

    JavaScript:
    // Increases both romance values by 5 points
    // Or remove the target and target.addRomance() line if you only 
    // wanted Actor 2 to gain romance for (but not from) Actor 4
    const source = $gameActors.actor(2);
    const target = $gameActors.actor(4);
    source.addRomance(4, 5);
    target.addRomance(2, 5);
  20. I was wondering if you need to use "<frsSet type actorId: value>" in order for the Relations menu to work? (For example: "<frsSet friend actorId: 2 1>" in the Actors tab)