Dragon Engine - Ring Scene Menu

Discussion in 'JS Plugin Releases (RMMV)' started by Ramiro, Nov 8, 2015.

  1. Ramiro

    Ramiro Now with an army of Mecha-Ralphs! Veteran

    Messages:
    860
    Likes Received:
    366
    Location:
    Argentina
    First Language:
    Spanish
    Fixed, and now there is a plugin parameter to control default speed too.

    I updated D$E_RingMenu and D$E_RingMenuParty to solve those things
     
    Last edited by a moderator: Nov 17, 2015
    #21
    Wolfofthenyght and Seacliff like this.
  2. ∊η∊ηra

    ∊η∊ηra Smoke and Mirrors Veteran

    Messages:
    258
    Likes Received:
    115
    Location:
    Manhattan
    First Language:
    English
    Primarily Uses:
    RMMV
    Hey Ramiro, is there any chance we could get a demo for this? I'm having a hard time setting this up in my project. No errors, it just doesn't show up. They're in the right order and everything. Not sure what the problem is. Sometimes it helps to see how everything is put together.
     
    #22
  3. Ramiro

    Ramiro Now with an army of Mecha-Ralphs! Veteran

    Messages:
    860
    Likes Received:
    366
    Location:
    Argentina
    First Language:
    Spanish
    The this plugin.js  file example:

    // Generated by RPG Maker.// Do not edit this file directly.var $plugins =[{"name":"MVCommons","status":true,"description":"Great utility library that provides common-use and\nsimplified functions. Also expands default classes.","parameters":{}},{"name":"D$E_Core","status":true,"description":"The core script used by all of the Dragon Engine plugins.","parameters":{"Allow Plugin Commands\r":"yes","Plugin Command name\r":"D$E"}},{"name":"D$E_RingMenu","status":true,"description":"Allows to use an animated ring menu with options.\nThis is extended by many plugins.","parameters":{"Cancel Text":"Cancel","Default Rotation Time":"10"}},{"name":"D$E_RingMenuParty","status":true,"description":"Replaces the current scene","parameters":{"Icons":"item: 176, skill: 79, equip: 137, status: 82, formation: 75, options: 83, save: 84, gameEnd: 1, cancel: 74","Centre X":"$gamePlayer.screenX()","Centre Y":"$gamePlayer.screenY() - ($gamePlayer.isInAirship() ? 48 : 16)","Radius X":"Graphics.boxWidth / 10","Radius Y":"32","Starting Angle":"-90","Rotation":"-1","Scale Difference":"0.2","Show Actor Sprite":"yes"}},{"name":"D$E_RingSceneMenu","status":true,"description":"Replaces the current scene","parameters":{"Icons":"item: 176, skill: 79, equip: 137, status: 82, formation: 75, options: 83, save: 84, gameEnd: 1, cancel: 74","Centre X":"$gamePlayer.screenX()","Centre Y":"$gamePlayer.screenY() - ($gamePlayer.isInAirship() ? 48 : 16)","Radius X":"Graphics.boxWidth / 10","Radius Y":"32","Starting Angle":"-90","Rotation":"-1","Scale Difference":"0.2","Show Actor Sprite":"yes","Show help window":"yes","Help Window X":"$gamePlayer.screenX() - 96","Help Window Y":"$gamePlayer.screenY() - ($gamePlayer.isInAirship() ? 48 : 16) + 32","Help Window width":"320","Help Window height":"72","Help Window background opacity":"0"}}];
    Demos for MV are really heavy to upload with my crappy internet connection.

    But if this won't work, please press F8, tell me any error you may have
     
    #23
  4. Seacliff

    Seacliff RPG Maker Mastermind Veteran

    Messages:
    2,938
    Likes Received:
    1,057
    Location:
    RPG Maker Forums
    First Language:
    Yes
    Primarily Uses:
    RM2k
    Both problems are solved. You're Awesome! Thanks!
     
    #24
  5. heroscratch

    heroscratch Veteran Veteran

    Messages:
    111
    Likes Received:
    12
    Location:
    Colorado, USA
    First Language:
    English
    [​IMG]

    Idk what I'm doing wrong.
     
    #25
  6. Ramiro

    Ramiro Now with an army of Mecha-Ralphs! Veteran

    Messages:
    860
    Likes Received:
    366
    Location:
    Argentina
    First Language:
    Spanish
    is any of that plugins altering the scene menu for some reason ?

    Put the D$E plugin last (after all YEP and all YED plugins)
     
    #26
  7. Kyuukon

    Kyuukon 主人公 Veteran

    Messages:
    2,217
    Likes Received:
    1,076
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Very cool.

    May I suggest a feature that instead of a window that displays gold, we can show a window with custom variables (like game-time, v[x], etc)?
     
    Last edited by a moderator: Dec 2, 2015
    #27
  8. Ramiro

    Ramiro Now with an army of Mecha-Ralphs! Veteran

    Messages:
    860
    Likes Received:
    366
    Location:
    Argentina
    First Language:
    Spanish
    Not really needed if you considerer than you could make it with... 6 lines of code to work on any menu?

    This is the default:

    Window_Gold.prototype.value = function() { return $gameParty.gold(); };Window_Gold.prototype.currencyUnit = function() { return TextManager.currencyUnit;};If you, for example, want to show the variable 1 with a currency called '@', Add a new empty plugin with this:

    Window_Gold.prototype.value = function() {  return $gameVariables.value(1); };Window_Gold.prototype.currencyUnit = function() {  return '@';};Err, this will replace all of your gold windows with this... even on shops thou.
     
    #28
    Wolfofthenyght and Kyuukon like this.
  9. Kyuukon

    Kyuukon 主人公 Veteran

    Messages:
    2,217
    Likes Received:
    1,076
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Yeah, I could do that xD but I figured a cleaner and more custom way would be nice :p like, I dunno, an array containing all the names and values to display?

    An example (ignore the syntax):

    variables[0] => ["Carrots",$game_variables[1]]variables[1] => ["Apples",$game_variables[2]]And them list them in a new alternate window.
     
    Last edited by a moderator: Dec 2, 2015
    #29
  10. Ramiro

    Ramiro Now with an army of Mecha-Ralphs! Veteran

    Messages:
    860
    Likes Received:
    366
    Location:
    Argentina
    First Language:
    Spanish
    that would be probably better as a separate script...

    buuuuut, not so complex:

    This is the window:

    var CURRENCY_VAR_ID = 1; // will use this variable to get the currency index (from 0)var CURRENCY_UNITS = [  /* 0: */ { name: "G", value: "$gameParty.gold()" }, // this shows the gold, as always...  /* 1: */ { name: "P", value: "$gameVariables.value(1)" } // will use P as currency name with variable 1 as the value.];function Window_CustomCurrency()  { this.initialize.apply(this, arguments); }Window_CustomCurrency.prototype = Object.create(Window_Gold.prototype);Window_CustomCurrency.prototype.constructor = Window_CustomCurrency;Window_CustomCurrency.prototype.value = function() {  return eval(CURRENCY_UNITS[$gameVariables.value(CURRENCY_VAR_ID) || 0].value);};Window_CustomCurrency.prototype.currencyUnit = function() {  return CURRENCY_UNITS[$gameVariables.value(CURRENCY_VAR_ID) || 0].name;};This is to put it on the menu (works on the default one too):

    Code:
    Scene_Menu.prototype.createGoldWindow = function() {    this._goldWindow = new Window_CustomCurrency(0, 0);    this._goldWindow.y = Graphics.boxHeight - this._goldWindow.height;    this.addWindow(this._goldWindow);};
     
    #30
    Kyuukon likes this.
  11. Kyuukon

    Kyuukon 主人公 Veteran

    Messages:
    2,217
    Likes Received:
    1,076
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Niiicee. Can't test it for the time being, sadly :(
     
    Last edited by a moderator: Dec 2, 2015
    #31
  12. heroscratch

    heroscratch Veteran Veteran

    Messages:
    111
    Likes Received:
    12
    Location:
    Colorado, USA
    First Language:
    English
    I've moved your scripts to the bottom, top, nothing changes. None of these other scripts should be altering the scene etc. I literally just turned off every script except for the ones that are required to run; mv commons, ring menu, ring menu party, ring scene menu. Still doesn't work.
     
    #32
  13. Ramiro

    Ramiro Now with an army of Mecha-Ralphs! Veteran

    Messages:
    860
    Likes Received:
    366
    Location:
    Argentina
    First Language:
    Spanish
    fixed, just replace the core:

    https://raw.githubusercontent.com/holywyvern/mv-plugins/master/D%24E_Core.js

    IDK why this happened...

    And why other don't have this same problem...
     
    #33
  14. heroscratch

    heroscratch Veteran Veteran

    Messages:
    111
    Likes Received:
    12
    Location:
    Colorado, USA
    First Language:
    English
    #34
  15. Kyuukon

    Kyuukon 主人公 Veteran

    Messages:
    2,217
    Likes Received:
    1,076
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    maybe you should send him the DEMO xD
     
    #35
  16. heroscratch

    heroscratch Veteran Veteran

    Messages:
    111
    Likes Received:
    12
    Location:
    Colorado, USA
    First Language:
    English
    If it can't be fixed on the forums, I'm not going to worry about it.
     
    #36
  17. Dinamic Creates

    Dinamic Creates Project Stealth | Project Dungeon Trios Veteran

    Messages:
    69
    Likes Received:
    24
    Location:
    México
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    #37
  18. Ramiro

    Ramiro Now with an army of Mecha-Ralphs! Veteran

    Messages:
    860
    Likes Received:
    366
    Location:
    Argentina
    First Language:
    Spanish
    Let's go step by step:

    @Pablo

    first, to allow this:

    [​IMG]

    it's quite easy,

    First add this AFTER my menu,

    Like this:

    [​IMG]

    Second, add this to the parameter "Icons" in "D$E_SceneRingMenu" (at the end) 

    , questbook: 50So your full parameters should be:

    item: 176, skill: 79, equip: 137, status: 82, formation: 75, options: 83, save: 84, gameEnd: 1, cancel: 74, questbook: 50Remember to change 50 to your own liking...

    And now its magically working...

    @Hero

    Second, I don't know what is happening to you, but in any case, use this. Those are the plugins I'm using on my personal demo and they should work, replace them on the plugin folder and AFTER that, delete them from the plugin manager and put them again (maybe there is a parameter than is not working)

    But those files are working for me perfectly...
     
    Last edited by a moderator: Dec 3, 2015
    #38
    Wolfofthenyght and heroscratch like this.
  19. heroscratch

    heroscratch Veteran Veteran

    Messages:
    111
    Likes Received:
    12
    Location:
    Colorado, USA
    First Language:
    English
    Annnnd the google drive scripts worked perfectly :p  

    I was saving as raw data from github, so I'm still not sure why the other links didn't work; but thanks for the manual upload. ;)

    **Edit** Found a bug. Hold left or right to auto scroll the menu in a circle, and it will start to make a skipping motion.
     
    Last edited by a moderator: Dec 7, 2015
    #39
  20. Dinamic Creates

    Dinamic Creates Project Stealth | Project Dungeon Trios Veteran

    Messages:
    69
    Likes Received:
    24
    Location:
    México
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Dude, you are amazing! Thanks a lot!
     
    #40

Share This Page