Help - Search - Members - Calendar
Full Version: Having problems with View Range script
RPG RPG Revolution Forums > Scripting > Script Development and Support > RGSS
Nilanius
okay first, here's a link to the script:

View Range Script by Near Fantastica

Alright now for the problem, and if someone can just give me a working code, what I want to do is use this strictly for the sound portion. The event in question I want is to make a waterfall have it's sound get louder as the player approaches it. The problem is, when I tried setting the event up like the script says (And I tried all 3 on that link) I get this error:

Unable to find file Section001:86:in `bgs_play'Audio/BGS/011-Waterfall01.ogg.

Note, I just want the RTP waterfall sound to play. I've tried setting the script up in a parallel process event using this call script code:

$view_range.event_sound(1, "011-Waterfall01.ogg", bgs_vol = 100, bgs_pitch = 100)

Am I setting it up wrong or something?
Resource Dragon
QUOTE (Nilanius @ Feb 27 2012, 08:19 AM) *
Unable to find file Section001:86:in `bgs_play'Audio/BGS/011-Waterfall01.ogg.


Did you check to make sure this file exists?
Nilanius
QUOTE (Resource Dragon @ Feb 27 2012, 11:30 PM) *
QUOTE (Nilanius @ Feb 27 2012, 08:19 AM) *
Unable to find file Section001:86:in `bgs_play'Audio/BGS/011-Waterfall01.ogg.


Did you check to make sure this file exists?



I found the problem. The script doesn't like the 011- part of the rtp file name. I had to import the sound without that into the game.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.