help-window-for-choices + show picture

● ARCHIVED · READ-ONLY
Started by Paulskie2433 20 posts View original ↗
  1. What I understand from DP3 scripts is that when the player is selecting a choice, a help window is appear to give the player help in selecting which choice that is good. So did you mean while selecting a choice, it is also showing a picture?
  2. yup, that's the idea. to have a show text and a picture. This will be for something like selecting / rent a vehicle. :)
  3. Hmm.. I'm almost sure this do not need scripting at all. So what you want is first create a Label, a Show Choice with several options, then show picture for each options and show choice again inside it. For example :

    Spoiler
    Label : Buying Car # create label and give it name "Buying Car"

    Show Text : What do you want to buy?

     # Now show choice : Blue Car, Red Car, Brown Car, No Thanks!

     When :Blue Car

       show picture (Blue Car)

       # Then you make another show choice here

            Are you sure you want to buy this?

             when :yes

                erase picture(Blue Car)

                 show text : Blue car has been bought!

             when :no

                erase picture(Red Car)

                Jump to Label : Buying Car

             branch end

    2. Red Car

       # Do the same like Blue Car, but the picture is Red Car

    3. Brown Car

     # Do the same like Blue Car, but the picture is Brown Car

    4. No thanks!

       Show Text : Oh okay, just come back here if you want to buy a new car.

    branch end

    Or here's some sreenshot for the event

    Spoiler


    Oh yeah the first picture above I forgot to add show text first before shoce choice, it something that will ask the player to choose what car he want, so maybe like this :

    Label : Buying Car

    Show Text : Which car do you want to buy?

    Show Choice # and the rest of the event

    Here's the rest of the event below it


    Hopefully this solved your problem =)
  4. The image will show after you select the first choice right? Not exactly what I have in mind nonetheless it's a great idea. I'll try it out. Thanks.
  5. Yes pretty much like that, I'm sorry if it's not what you really want, perhaps you want it if the player hover into a choice then the picture will showed up? If yes then you're probably right we need to script that =). One question, does DP3 script works like that? If you hover into different choice then the help window will change the help text automatically? If yes then it might easier to edit his script(if he permit it of course), but then I can't do it right now, it's pass midnight here, and I'm kinda tired, need some rest man =) But I myself prefer the eventing, because it will save you from many compatibility and bug issue, that might occured. 
  6. yup his script works that way.. that's why i think it will be really cool to add pictures while you hover the choices. about editing the script i think he allows it as long as you inform him about it. :)  Thanks for helping me out appreciate it. alot
  7. Alright, I see what I can do, but I'm not promised anything, hopefully I can tweak the script so it can produce what you want, but sorry if I can't do it, I'm not the great scripter XD. 
  8. it's ok you already help me alot with your idea. :)
  9. Alright I've finished the script, you can now do what you wanted. This will show you automatically different picture with if you hover different choice, also this works wonder with DP3's help window, means you can do both, showing picture yet showing help window. You can decide the location of the picture in the screen too. Different picture can have it own's location. I've write my own instructions inside the script already.

    NOTE : If the game a bit lag, then your picture resolution is to big, and you know load bitmap picture is need time, so don't resize the picture more than your graphics resoultion, ie. You use 640x480 then don't use 1200x960, that will cause 1 sec lag, and why you do that anyway, it's silly right?

    Alright I want to be honest, before I link the script here, Unfortunately I haven't contacted DP3, perhaps you can ask his permission to edit his script, and what the terms of use if it' has been edited can it be shared or else ? 

    I'l be waiting =)
  10. ok i'll send him a message :)
  11. I'll be waiting good news then :)
  12. Still no reply from DP3 hahaha >,<... Looks like I need to study how to script hahaha
  13. I'm sorry for the late reply. Wew, there's something strange going on, your reply never give a noticement in to me, don't sure why. I will contact DP3 for representing you, if he not answer me too, I guess we don't have a choice, let us assume he gave permission but not for commercial, and just don't credit me. 
  14. I guess so thanks for the help :)
  15. It's awesome, DP3 give permission, he's kind guy eh?. So here you are :

    http://tny.cz/377115e3
    I'm sorry but that is Tinypaste Link, because my Pastebin is somewhat error right now(I don't know why).

     
  16. thanks, also read he's reply to me just now :)
  17. Im having this error >,< 

    Script 'Game_Interpreter' line 1411:name_error occured

    Undefined local variable or method `testpicture1' for

    #<Game_Interpreter:0x90d9004>
  18. Game_Interpreter 1411 line is
    method 'eval "


    I almost believe that testpicture1 is a filename, and you write the argument without doubleuotes?  You need to give doublequotes for filename
    like this
       add_picture_help(0, "testpicture1",  0, 0)

    I need to see your script call, can you post the screenshot?
  19. yup yup so the quotes is needed. The scripts works perfectly just like what i need. Thanks :) I'll make sure to  credit you both for this awesome script :) .