Sliders in option menu

  • #1, z korpseWednesday, 21. September 2016, 22:36 hodinky 8 years ago
    And on to the next issue! I've tried to add the volume sliders to my project by checking out the project file, but with little luck. I don't know what's the issue, but I can't get the damn things to control anything. I haven't added the plus and minus buttons and want to leave out the slider for speech, since our game doesn't have voice overs, but all I've managed to do is to draw horrible coder graphics for two of the sliders, but clicking them only manifest the animation frames for sliders in the upper left corner of the screen and nothing else. Clicking the SFX slider does produce a screaming cat (although intended), but with no effect to the volume. I traced back few error reports and triple-checked my spelling, but now I don't know how to proceed.

    I've checked the log. There's one error message saying "Wrong argument type for argument #1 (expected visobject)". There's also a line saying "String "volume control" invalid syntax for command startAnimation.

    There's also a message of stack traceback regarding beginning of the scene of Options_Menu.

    I'd really appreciate words of wisdom on this matter smile

    Bažant

    25 Posts


  • #2, z sebastianWednesday, 21. September 2016, 23:29 hodinky 8 years ago
    which script do you use here?

    Kapitán

    2346 Posts

  • #3, z afrlmeWednesday, 21. September 2016, 23:36 hodinky 8 years ago
    I'm going to assume you've copy/pasted some script in. The script will have specific scene object / animation names listed in it, if that's the case. So if what you've added doesn't match up then the engine will be returning errors because the script will probably be looking for things that don't exist.

    P.S: another member on here recently wrote a thread for support with their own method, which might be of some interest if you can find the thread. There version used the relatively new move object / move object to action parts for offsetting the scene objects rather than using animations. Back when the original slider script was written by Einzelkaempfer, then my slightly modified version of his script & even the more modern one (I've not shared here), we didn't have the offset object features available as they were only included in a recent build of VS.

    Imperátor

    7285 Posts

  • #4, z korpseThursday, 22. September 2016, 07:05 hodinky 8 years ago
    I've tried AFRLme's Volume slider project which was available through his Dropbox. The project runs fine with Visionaire, but when I try to replicate the sliders to my game, I just can't get them to work. I presume, that I'm pretty close now, but I'm missing something..

    AFRLme, could you drop me an email at juho.kuorikoski(at)gmail.com? I could provide you the project file. I'd really, really appreciate, if you could check out my scramblings. Maybe you could see what I'm missing.

    Bažant

    25 Posts

  • #5, z sebastianThursday, 22. September 2016, 08:16 hodinky 8 years ago
    i would guess somehow that a script of action (part) is missing somewhere when you replicated it...

    Kapitán

    2346 Posts

  • #6, z korpseThursday, 22. September 2016, 08:39 hodinky 8 years ago
    That's probably the case, but I just can't figure out what's the case here. I've double and triple checked everything, but I can't find what's wrong or missing.

    Bažant

    25 Posts

  • #7, z afrlmeThursday, 22. September 2016, 11:31 hodinky 8 years ago
    I've got a bit of tidying up & stuff to do here at the minute, but feel free to send me your project to afrlme(at)outlook(dot)com & I'll check it out a bit later on. wink

    Imperátor

    7285 Posts

  • #8, z korpseThursday, 22. September 2016, 11:52 hodinky 8 years ago
    I've got a bit of tidying up & stuff to do here at the minute, but feel free to send me your project to afrlme(at)outlook(dot)com & I'll check it out a bit later on. wink


    Thanks a lot! I'll send you my stuff right away smile

    Bažant

    25 Posts

  • #9, z afrlmeThursday, 22. September 2016, 12:45 hodinky 8 years ago
    Downloading it now. By the way is Juho a common name over in Finland?

    Imperátor

    7285 Posts

  • #10, z korpseThursday, 22. September 2016, 14:31 hodinky 8 years ago
    Downloading it now. By the way is Juho a common name over in Finland?

    Not that common, no. I get often called Juha, which more popular here.

    AFRLme tried valiantly to solve my problem, but ended up as puzzled as I am on the matter of sliders. I'd really appreciate, if someone could use their scripting and debugging wizardry for these damned things. AFRLme said that there might be an easier way to do the sliders, any help would be much appreciated.

    Link to the project file is here: https://www.dropbox.com/sh/het5thf7rpj7pht/AAA-g1cdawQyfwQqi...

    Bažant

    25 Posts

  • #11, z afrlmeThursday, 22. September 2016, 15:08 hodinky 8 years ago
    haha speaking of puzzled, the other Juho I know, who is also from Finland if I remember correctly used to (or maybe still does) go by the music production alias of Puzzle.

    I would be able to solve it, but it would mean me reworking it from scratch to figure out what got messed up & I've not the time or patience for doing that at the minute.

    Imperátor

    7285 Posts