Sprite Weapon Positions

● ARCHIVED · READ-ONLY
Started by limonada 18 posts View original ↗
  1. Hey guys, it`s my first attempt to javascript to MV so it`s probably too basic and maybe someone has done it before but...

    I created some custom SV battle sprites for my actoers and had some issues with the weapons shwoing up on weird places.

    Shaz suggested looking for a plugin, so I went and did one myself.

    Since it`s more like a snippet than a plugin, i decided that if someone ever had the same issue, you could use it for something.

    This is what happened to me : 

    1zPPaaU.png

    And by setting X and Y position value with the plugin, this is what I achieved:

    BRbr7FI.png

    You can set the X and Y at the plugin params and that`s all, a very very very stupid and basic plugin, BUT, if you ever need it, here is it.

    the code is on pastebin:

    http://pastebin.com/ZAZNKe81

    Since it`s a very simple dumb kind of plugin, no credits EVER needed.
  2. Stupid plugin? This is awesome lady,thanks you very much! :D

    Excuse me for my bad english and greetings from Argentina.

    NO MORE PROBLEM WITH MY CUSTOM WEAPONS.
  3. Simple =/= stupid. Keep on learning and doing. Good job. ;)
  4. Sweet. Thanks!
  5. I'm sorry, I am new to this. How can I use this? Do I just put it on my js folder as weaponspriteposition or wutever name it can be? Edit coordinates and all that? I have the same issue now.
  6. hikkistyrja said:
    I'm sorry, I am new to this. How can I use this? Do I just put it on my js folder as weaponspriteposition or wutever name it can be? Edit coordinates and all that? I have the same issue now.
    Yes! You download the plugin and put the name you want in the file.
    After that put it into the plugin manager and you will see the parameters to adjust x and y position(according to what the author says, I never tested it).
  7. Eliaquim said:
    Yes! You download the plugin and put the name you want in the file.
    After that put it into the plugin manager and you will see the parameters to adjust x and y position(according to what the author says, I never tested it).
    I did that, and while I'm trying out coordinates, i get a bunch of errors with this and the game needs to restart. It will go away if i turn this off.
  8. hikkistyrja said:
    I did that, and while I'm trying out coordinates, i get a bunch of errors with this and the game needs to restart. It will go away if i turn this off.
    Hmm... When the error happens, can you press the F8 or F12 button and send a screenshot of the tab "console"?
    This plugin is very old, maybe it did not work with the most recent Rm Mv code. If it is an easy thing to do, maybe I can provide a fix.
  9. Will do. Please wait. :)
  10. @hikkistyrja try it now. I think the plugin name that we download is not equal to the one that is in the code.
  11. err.png
    I just show this image and not the other when I change the coordinates on the plugin. I'm sorry.
  12. hikkistyrja said:
    View attachment 144619
    I just show this image and not the other when I change the coordinates on the plugin. I'm sorry.
    It's okay. But I don't understand your post, what do you mean? The problem is solved?
  13. Eliaquim said:
    It's okay. But I don't understand your post, what do you mean? The problem is solved?

    Nope. Sadly. It doesnt animate. It only show the first sprite of the weapons. It doesnt move or anything while the attack or skill is being executed.
  14. I think this plugin doesn't animate the weapons, it just changes the position on the screen.
    Perhaps are you using other plugins that can cause incompatibility?
    Because here everything worked fine.
  15. I think so. I am using YanFly's plugins and I don't really know wut is interfering with the animation. I tried using the Tutorial game and the JS sprites worked and this. I'd have to turn off every single one of those plugins I am using to know wut is incompatible. :) Thank you.
  16. limonada said:
    I created some custom SV battle sprites for my actors and had some issues with the weapons showing up on weird places.

    Shaz suggested looking for a plugin, so I went and did one myself.

    You can set the X and Y at the plugin params
    Hey good work on figuring out how to do that on your own :)

    I've went ahead and taken it a step further.

    [RMMV] WeaponEx by CT_Bolt
    General Settings & Parameters
    1590142203486.png
    Screenshot of a 384x256 weapon using custom Notetag Settings
    1590143407106.png
    Actor Notetags
    1590143485334.png

    Also I should point out that aliased "Sprite_Weapon.prototype.setup" instead of "Sprite_Weapon.prototype.initMembers" I found that to be the better route to go with this for best compatibility ;)

    ...
    That said I do not mean in anyway to "hijack" this thread.
    So please if one wishes to post about my plugin, that is what the itch.io page it there for.
  17. I'm afraid none of these works for me and my taller sprites. I am getting kinda frustrated about it. :aswt:
    I will just incorporate default weapons into the battlers so I will not have this issue again.
    Thank you for all the help :)
  18. Thank yoy very much! I was having this problem, trying to change the size of the img and adjusting the weapons sprites, but nothing works. Thank you once again for the awesome work! ^^