Jump to content

Abi

Member
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0

About Abi

  • Rank
    Newbie
  • Birthday 09/25/1985

Profile Information

  • Gender
    Not Telling
  • Interests
    I have "Jack of All Trades" but I'm really more of a designer, coder, and writer only. Making art or music from scratch? Nope. Can't do that.

RPG Maker Information

  • RM Skill -
    Jack of All Trades
  1. Falcao, I was wondering what areas in the code do I need to change to assign the hotkeys to gamepad combinations? And change the displayed keys on the hud to the buttons on the gamepad? Most Windows gamepads these days are following the "Games for Windows" XInput standard, and the buttons are all mapped identically, so I'd kinda like to try mapping your system onto an XInput gamepad and testing out how it plays. I'm trying to avoid looking too deeply into your code because I eventually am planning to write my own battle system and do not want my code to be "tainted". Of course, if you could just do the edit for me, I'd like the mapping to be done with this script: http://forums.rpgmakerweb.com/index.php?/topic/1284-gamepad-extender/ Thanks! Abi.
  2. Abi

    Volume Control

    Not sure what the problem is, but when i installed your fixed version, every time i tried to alter the BGM or BGS volume it errored saying it couldnt find the Audio/BGM or Audio/BGS files. Edit: nvm my fix didnt work, but yours is still erroring... Edit2: it only seems to error when using numbers. bars work fine. I know this is yet some more necroposting, but just in case anyone else is still experiencing this problem occasionally and wondering wth is going on... the problem is when "now" is an empty object. Or technically when ANY RPG::AudioFile object is empty and you attempt to "play" it, it'll throw a file not found. It took quite a bit of digging for me to figure out how to test for an empty AudioFile object correctly, because the code already attempts to do this as written, but it's incorrectly written. However if you look in the VX Ace Help file, under RGSS Reference Manual, Game Library, RPGVXAce Data Structures, RPG::AudioFile, RPG::BGM... Inside the code snippet that follows the documentation you'll notice the method, "@name.empty?" is used as a test... So I figured, hey, maybe we can call it ourselves too and this is the method we're looking for? And sure enough, it works! So now if you use this script when on a map without BGM or BGS, it will no longer throw errors using my fixed version below. I also changed up some other stuff to make line lengths match up with some decent coding standards. Or, just change lines 211 and 215 of NS's version above like follows for "just the fix k'thx'bai": 211 was: Audio.bgm_play('Audio/BGM/' + now.name, now.volume, now.pitch, now.pos) if now necessary change: Audio.bgm_play('Audio/BGM/' + now.name, now.volume, now.pitch, now.pos) if !now.name.empty? 215 was: Audio.bgs_play('Audio/BGS/' + now.name, now.volume, now.pitch, now.pos) if now necessary change: Audio.bgs_play('Audio/BGS/' + now.name, now.volume, now.pitch, now.pos) if !now.name.empty? I might do some more generalized cleanup later and post a new thread with a pretty well completely revamped script. I'm kinda actually thinking it'd be better to just do a complete rewrite though.
  3. Abi

    Hello...

    I'm registering here only because I can't apparently get any scripts or resources from here unless I do. I probably won't be overly active here, though I suppose I'll share anything I come up with here as well as on rpgmakerweb. I've left my "RM Skill" as "Jack of All Trades" but that's not completely true. I can only do designer, coder, and writer type work really. Original art and music is just not my area of expertise. Though remixing stuff by others isn't too hard for me...
×
Top ArrowTop Arrow Highlighted