1. #1

    A random track?

    So i was thinking on creating a track where each checkpoint will change to a random obstacle? If that makes sense. Basically ill have 4 different obstacles per checkpoint and some random generator will choose the obstacle on each checkpoint. But if you fault on that obstacle it stays the same until you reach the next checkpoint. I know there is a random datasource but how would i tie it to get these results? Im thinking about generic filters on each checkpoint where each value 0-3 equal each obstacle but then how can i tie the Random DS to it. Hmmm... maybe im wrong about the Random DS since it hold higher values than 3. Help please !
    Share this post

  2. #2

    Re: A random track?

    This should be the easiest and simplest way:

    Random obstacle generation

    There are much more complicated ways, using OPEs and moving the obstacles, or generating the whole track right from the start, but if you want a quick and easy way this should work for you.

    I just knocked this up on my computer in the last five mins and haven't tested it, so sorry if it doesn't work or isn't what you wanted.
    Share this post

  3. #3

    Re: A random track?

    Originally Posted by JaminBen007
    This should be the easiest and simplest way:

    Random obstacle generation

    There are much more complicated ways, using OPEs and moving the obstacles, or generating the whole track right from the start, but if you want a quick and easy way this should work for you.

    I just knocked this up on my computer in the last five mins and haven't tested it, so sorry if it doesn't work or isn't what you wanted.
    Thank you! Thank you! Thank you! Im gonna have loads of fun with this! Sir, you are a GENIUS! I will let you know how it turns out. Oh! Did i forget to Thank you?
    Share this post

  4. #4

    Re: A random track?

    No worries.

    I just added another little bit at the start to stop the obstacle changing if you restart at the checkpoint.
    Share this post

  5. #5

    Re: A random track?

    Originally Posted by JaminBen007
    No worries.

    I just added another little bit at the start to stop the obstacle changing if you restart at the checkpoint.
    I spent all night trying to figure that out. The random DS cant be targeted with a state off event which i dont get because a Linear DS can. I set the random DS from 0-4 so nothing appears at times. Did you notice that the random DS doesnt randomize much? At first i thought it wasnt working until like the 10th back button press. Would there be a way to get more random values? Nonetheless, you have helped me tremendously! I am truly gratefull! On that note i tried looking for your gamertag on TC but got nothing. Have you made any tracks?
    Share this post

  6. #6

    Re: A random track?

    Originally Posted by DeadEXit
    Have you made any tracks?
    Several, some are crap though. Not sure why you couldn't find me, do you know the TC search is case sensitive?

    What do you mean by more random values? The way I have it set up in the tutorial it will pick a random value between 1 and 4, and if you haven't changed the interval it will do that once a second. If you need it to pick a random value more often then decrease the interval time, perhaps down to 1 tick.
    Share this post

  7. #7

    Re: A random track?

    Originally Posted by JaminBen007
    Originally Posted by DeadEXit
    Have you made any tracks?

    Several, some are crap though. Not sure why you couldn't find me, do you know the TC search is case sensitive?

    I found your tracks very challenging and fun! I also learned that i can now play Extreme tracks since i past all of your tracks with less than 90 faults. Yes i know im not very good but i dont give up! That Mayans track was the hardest for me. I still cant believe i past it! Gave em all excellent ratings! Thanks again bud!
    Share this post

  8. #8

    Re: A random track?

    Thanks, that's nice of you to say. I'm going more down the skill game route these days, I'll be releasing my next one in a couple of weeks for the skill game competition.
    Share this post

  9. #9

    Re: A random track?

    Just tested this now, and it doesn't work

    The obstacles stay invisible on checkpoint restart! See, this is what happens when you don't test first.... Sorry mate, I'll sort it soon....


    Edit:

    Done, sorry about that. I've tested it now and it all works fine.
    Share this post