How to Randomize Anything in RPG Maker

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025
  • ХоббиХобби

Комментарии • 9

  • @Don-ds3dy
    @Don-ds3dy 6 дней назад

    Randomly got the inspiration to make a parody game about Rock Paper Scissors. Debating between using the battle system itself OR just using text as you've shown, OR both. With the first i can show a little action but with the second i can have characters react alot more.
    Reason it's relevant is because NPCs need to randomly choose between rock, paper, and scissors.

  • @bruellbart2380
    @bruellbart2380 5 месяцев назад +3

    Great tutorial and thanks for making it. One question: why the 'else' branches? Couldn't I simply do three non-else conditionals underneath each other in this specific case? Sorry for the dumb question, but I always wondered and to this day I'm making it like I describend without else-branches...

    • @golem5970
      @golem5970 Месяц назад +1

      Im thinking that while separate conditionals work in the example in the video, else branches also work, and would be necessary in some other scenarios, so it's less work to teach/learn the else branch method since it covers more ground.
      To elaborate, I'm thinking else branches would work better in some scenarios when you want to manipulate odds. For example say he wanted a 1% chance to get the $5mil, a 49% for the $10, and a 50% chance for nothing. The variable would be 1-100, and the branches would be: if v = 1 give $5mil, else if v < 51 give $10, else give nothing. I'm thinking that if you used separate conditionals instead of else branches in this scenario then v=1 would grant both the $5mil and the $10 rewards.

    • @bruellbart2380
      @bruellbart2380 Месяц назад +1

      @golem5970 Thank you very much for your detailed answer :D

  • @DSX001USER
    @DSX001USER 11 месяцев назад +3

    excelent, is there a way to make the randomize a little more detailed, like adding some % to the chance of success?

    • @johnmoeng
      @johnmoeng 10 месяцев назад +6

      Add a fork condition variable for $10 million by making it so the random variable needs to land between 1-10. Then second prize is 11-30, third is 31-60, and the common prize is 61-100. That's roughly a 10, 20, 30 and 40% chance for each outcome, respectively.
      The number ranges can be checked by putting two conditions into a single fork condition. For example, fork condition: gamble chance is greater than or equal to 1, then inside that fork condition, less than or equal to 10. Just remember to put the else case in the first fork, and not the second, unless you are either willing to deal with the confusion or you're making lots of comments within your code to prevent it down the line.

    • @JamesGalloway27
      @JamesGalloway27 7 месяцев назад +1

      @@johnmoeng nice! thank you so much. working slot machines add authentic atmosphere to my creepy little bodegas. i can multiply them and tweak these variables to make each one different. you're a great teacher. thanks again

  • @detonandovideogames522
    @detonandovideogames522 2 месяца назад

    Nice bro!

  • @autocadmike
    @autocadmike 5 месяцев назад +1

    nice thanks!