1. #81
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: Visual Flowchart Editor Tutorials {14} and counting...

    i'll just explain it step by step, google docs is terrible :/

    do the list in order, instructions in quotes like "4" points to the item you placed in 4, in this case a 2IO

    place and do following:

    1 ) VDS (this is used for the checkpoint index reference number)
    un-check 'Reset In Checkpoint Restart'

    2 ) Player Event
    Set 'Type' to 'Reset to Checkpoint'
    press 'Y' over 'Checkpoint Index' and select "1"
    if you do not want the player to fault when cycling the checkpoints un-check the box 'Reset Physics'

    -- this part teleports you the next checkpoint on RB press --
    3 ) 2IO
    set to 'Add'
    operand1="1"
    operand2=1

    4 ) 2IO
    set to 'Min'
    operand1=number of checkpoints (do not count the start gate), say you have placed 8 checkpoint objects and you do not want to include the finish gate then use 8 for this number else use 9 if you want to include teleporting to the finish gate (this set the end game event, good for testing ending sequences).
    operand2="3"

    5 ) SVE
    set to "Set"
    value= "4"
    set target to "1"
    event/filter to "2"

    place your RB and pass 'On Press' impulse to "5"

    -- this part teleports you the previous checkpoint on LB press --
    6 ) 2IO
    set to 'Subtract'
    operand1="1"
    operand2=1

    7 ) 2IO
    set to 'Max'
    operand1=set to 0 if you want to include the start gate or 1 if not.
    operand2="6"

    8 ) SVE
    set to "Set"
    value= "7"
    set target to "1"
    event/filter to "2"

    place your LB and pass 'On Press' impulse to "8"

    that should be it.
    Share this post

  2. #82
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: Visual Flowchart Editor Tutorials {14} and counting...

    will do send email, can't believe i wore my keyboard out writing that tut and you have templates
    Share this post

  3. #83

    Re: Visual Flowchart Editor Tutorials {14} and counting...

    I got it working, but it doesn't disable LB at the start or RB at the end like mine does. And it's the same amount of pieces, but more confusing. That's what we need to avoid. Good work though. You certainly have a better grasp of things than I do.
    Share this post

  4. #84
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: Visual Flowchart Editor Tutorials {14} and counting...

    Originally Posted by bobozilla
    I got it working, but it doesn't disable LB at the start or RB at the end like mine does. And it's the same amount of pieces, but more confusing. That's what we need to avoid. Good work though. You certainly have a better grasp of things than I do.
    cool , in terms of optimised code though, i don't think anything is going to beat it, in C++ (or most languages these days) it will look like this
    x=min(upperlimit,x+1); for RB
    instead of
    x=x+1
    if x greater than upperlimit set x to upperlimit
    Share this post

  5. #85

    Re: Visual Flowchart Editor Tutorials {14} and counting...

    Originally Posted by dasraiser
    Originally Posted by bobozilla
    I got it working, but it doesn't disable LB at the start or RB at the end like mine does. And it's the same amount of pieces, but more confusing. That's what we need to avoid. Good work though. You certainly have a better grasp of things than I do.
    cool , in terms of optimised code though, i don't think anything is going to beat it, in C++ (or most languages these days) it will look like this
    x=min(upperlimit,x+1); for RB
    instead of
    x=x+1
    if x greater than upperlimit set x to upperlimit
    Its all Martian to me! lol You guys are streets ahead of me when it comes to all this coding and stuff.
    Share this post

  6. #86
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: Visual Flowchart Editor Tutorials {14} and counting...

    Originally Posted by Barrybarfly
    Its all Martian to me! lol You guys are streets ahead of me when it comes to all this coding and stuff.
    don't sweet it, im useless at the arty side
    Share this post

  7. #87

    Re: Visual Flowchart Editor Tutorials {14} and counting...

    Made another tut. This one's for a swingable weapon


    Originally Posted by Barrybarfly

    Its all Martian to me! lol You guys are streets ahead of me when it comes to all this coding and stuff.
    Same here. All the stuff I know I learned from this lovely forum and RL's tut vids
    Share this post

  8. #88
    nannerdw's Avatar Senior Member
    Join Date
    Jan 2013
    Posts
    1,268

    Re: Visual Flowchart Editor Tutorials {14} and counting...

    Share this post

  9. #89

    Re: Visual Flowchart Editor Tutorials {14} and counting...

    Nice one nanner!
    Share this post

  10. #90

    Re: Visual Flowchart Editor Tutorials {14} and counting...

    Making a tutorial for 3rd person camera controls now.
    Share this post