-
Re: Visual Tutorials using Google Docs
Added a tutorial earlier for a simple physics event. If you follow the example it will set up an elevator with an associated sound effect (choose elevator 1 in looping sounds). I get tired of seeing complex example elevators in custom maps, so hopefully this will enable peope to make their own versions that have the sound as well.
This is the lik to it: https://docs.google.com/folder/d/0B1...Wgw-YmLLvHFOS0
-
Re: Visual Tutorials using Google Docs
Quote:
Originally Posted by MetalHead
Hello everyone, really like the idea of this thread, gonna learn some useful tricks within the editor and hope to add a few tutorials myself.
Welcome aboard MetalHead. Just added your tutorials to the list. I'll get you added in as a collaborator this weekend. You seem to have some pretty advanced knowledge of the editor. Let everyone know your gamertag if you have some tracks we could download and check out!
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
to MetalHead:
I've got a few comments on the Scroll through menu with Y button tutorial.
It looks like this code is exploiting the sequence of events delay between the impulse sent to the generic filters and the time taken for the set value event to update the variable data source.
I don't see the point of the second variable data source, unless it's used to give the generic filters enough time to update before the set value finishes calculating. It looks like this setup could possibly become unstable, depending on how much background code is running and how many generic filters are used.
The color gets set on true, but you still have to change it back on false.
Also, I think the 3rd generic filter should be "equals 2," and there should be a 4th one that's "greater than 2."
Would you mind if I took a shot at writing an alternate version of this?
Your code looks like an elegant solution, but I'm not sure I'd trust it to work 100% of the time if it's taking advantage of the delay in processing time to work correctly.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Thanks aWebDesigner, my gamertag is Retro NI i only have a few tracks nothing special http://forum.redlynx.com/forum/image...icon/smile.gif , nannerdw it seems to work ok in the skill game im making, but i see your point on the second variable data source being useless and using an extra generic filter too. Also feel free if you want to write an alternate version.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
New tutorial: Scroll menu with Y button (alternate)
This one places the generic filters inline for short-circuit evaluation instead of using a splitter.
It also checks the current value of the variable data source before using a set value event. The original method would still be preferable for bidirectional menu selection.
I also made a change to "Switch Between Checkpoints (Advanced)." The generic filters do not need to run constantly 60 times per second, so I replaced the interval triggers with a splitter after the reset to CP event. I also added an impulse to the player event upon reset to start.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Just double checked my skill game and it seems you were right nannerdw. I have the third generic filter that "equals 2" before the forth which is "greater than 2" http://forum.redlynx.com/forum/image...n_rolleyes.gif.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by nannerdw
It looks like this code is exploiting the sequence of events delay between the impulse sent to the generic filters and the time taken for the set value event to update the variable data source.
I don't see the point of the second variable data source, unless it's used to give the generic filters enough time to update before the set value finishes calculating. It looks like this setup could possibly become unstable, depending on how much background code is running and how many generic filters are used.
i tried to avoid this by using impulse clamps in the skillgame i'm building ran into some isues thou
but still tweaking it a bit, forgot to test it before i added the clamp filters though http://forum.redlynx.com/forum/image...s/icon/doh.gif
will look into it a bit more
in my problem is that i use a set event to send a number to some coding and that coding would give me a another number
the coding is up to 9 generic filters long and has 3 set events to go throu before the number is produced
however my other coding thats needs this value i could use a set event to send the value and another set event behind it to use the produced value
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by sparkierjonesz
in my problem is that i use a set event to send a number to some coding and that coding would give me a another number
the coding is up to 9 generic filters long and has 3 set events to go throu before the number is produced
however my other coding thats needs this value i could use a set event to send the value and another set event behind it to use the produced value
Try adding a short delay filter (1 to 3 ticks depending on how much background code is running) to give the set value events enough time to calculate.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
thought about that too, probably the easiest fix
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by nannerdw
I also made a change to "Switch Between Checkpoints (Advanced)." The generic filters do not need to run constantly 60 times per second, so I replaced the interval triggers with a splitter after the reset to CP event. I also added an impulse to the player event upon reset to start.
Nice! I knew there would be someway to tweak my code http://forum.redlynx.com/forum/image...icon/smile.gif
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
I'd be interested in seeing some tutorial requests coming in tbh. What do the community want a tutorial for? I'm happy to do any simple things to save people like Luthanick and nanner for the more time consuming advanced stuff that I dont understand. So any kind of request can be catered for from a simple rotational physics joint to building a supercomputer ( at least it sounds like you guys could do that! http://forum.redlynx.com/forum/image.../icon/razz.gif ).
So, people of Trials, what do you want to see?
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by James24993
Send me a PM with your email and gamertag.
@Barry... good idea for the requests. I am going to search through the threads here and see if there are some recurring problems that people seem to keep having.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by Barrybarfly
I'd be interested in seeing some tutorial requests coming in tbh. What do the community want a tutorial for? I'm happy to do any simple things to save people like Luthanick and nanner for the more time consuming advanced stuff that I dont understand. So any kind of request can be catered for from a simple rotational physics joint to building a supercomputer ( at least it sounds like you guys could do that!
http://forum.redlynx.com/forum/image.../icon/razz.gif ).
So, people of Trials, what do you want to see?
+1000
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
OPE's seem to be a popular problem, but we already have a global ope tutorial. And I often see complex example lifts in tracks which is why I added the lift tutorial. So even if its just something we see in tracks a lot we should add a tutorial for it imo. Some people may not post on the forums but read them and others may feel embarrassed about posting asking how to do an effect event or something when we have such technical stuff being done by some of the guys in the thread.
But I remember when I started out editing (which was in evo) and I had some real simple questions I needed answers to. I'm sure others are still stuck in that position at the moment so I dont think anyone should be ashamed to ask for any tutorial at all. In theory, the templates could even be used for making a curved driving line or increasing the size of a hill/surface and things like that. So ask away!
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by bobozilla
Quote:
Originally Posted by nannerdw
I also made a change to "Switch Between Checkpoints (Advanced)." The generic filters do not need to run constantly 60 times per second, so I replaced the interval triggers with a splitter after the reset to CP event. I also added an impulse to the player event upon reset to start.
Nice! I knew there would be someway to tweak my code
http://forum.redlynx.com/forum/image...icon/smile.gif
I just tried this out. The interval trigger IS needed, but only for 1 tick so you can't press LB at the start. Your addition is still implemented. http://forum.redlynx.com/forum/image...on/biggrin.gif
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
I thought I had found a way to prevent the switch between checkpoints code from adding to the fault counter, but it turns out my "Extra-Buttons" option had just gotten re-enabled in the editor. Oh well, I don't pay any attention to the faults in testing anyway.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by nannerdw
I thought I had found a way to prevent the switch between checkpoints code from adding to the fault counter, but it turns out my "Extra-Buttons" option had just gotten re-enabled in the editor. Oh well, I don't pay any attention to the faults in testing anyway.
http://forum.redlynx.com/forum/image...s/icon_lol.gif Yea it re-enables every time you restart the editor. I don't think there's any way to skip CP's without adding faults. http://forum.redlynx.com/forum/image...s/icon/sad.gif
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Turn off the reset physics toggle on the reset to checkpoint player event. just tried it. no faults when switching.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
I have some code for a simple digital number readout that I used to test the scores for Project Spin. I had to make it trials during testing, so I put in a custom score readout that floated above the rider. That way I could get some baseline scores for medal times. The code is not very well optimized though, so it's pretty laggy if you update it every tick. Should I add this one?
Also, bobozilla, I'm pretty sure you don't need those interval triggers. I added a filter to prevent the LB when it gets to the first checkpoint to the simple version. All you need to use is the impulse from the LB button.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
for checkpoints
i would
on press RB->set value event(set,value=min(number of checkpoints,stored checkpoint value+1)).target=stored checkpoint value
on press LB->set value event(set,value=max(0,stored checkpoint value-1)).target=stored checkpoint value
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by Luthanick
Also, bobozilla, I'm pretty sure you don't need those interval triggers. I added a filter to prevent the LB when it gets to the first checkpoint to the simple version. All you need to use is the impulse from the LB button.
With the unnecessary SVE's and VDS's, they were. But now that I've seen your updated simple version with the GF, I was able to simplify the advanced version quite a bit http://forum.redlynx.com/forum/image...on_mrgreen.gif
Quote:
Originally Posted by Luthanick
I have some code for a simple digital number readout that I used to test the scores for Project Spin. I had to make it trials during testing, so I put in a custom score readout that floated above the rider. That way I could get some baseline scores for medal times. The code is not very well optimized though, so it's pretty laggy if you update it every tick. Should I add this one?
You should try to optimize it as much as possible before making a tut.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by dasraiser
for checkpoints
i would
on press RB->set value event(set,value=min(number of checkpoints,stored checkpoint value+1)).target=stored checkpoint value
on press LB->set value event(set,value=max(0,stored checkpoint value-1)).target=stored checkpoint value
let me explain this.
RB on press target=
SVE(set,value=2IO(Min,OP1=number of checkpoints,OP2=2IO(ADD,VDS(CheckPointIndex),1)),t arget=VDS(CheckPointIndex))
LB on press target=
SVE(set,value=2IO(Max,OP1=0,OP2=2IO(Subtract,VDS(C heckPointIndex),1)),target=VDS(CheckPointIndex))
no need for generic filters, its just
1xVDS
2xSVE
4x2IO (Two Input Operator)
and the 2xbutton events
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by dasraiser
Quote:
Originally Posted by dasraiser
for checkpoints
i would
on press RB->set value event(set,value=min(number of checkpoints,stored checkpoint value+1)).target=stored checkpoint value
on press LB->set value event(set,value=max(0,stored checkpoint value-1)).target=stored checkpoint value
let me explain this.
RB on press target=
SVE(set,value=2IO(Min,OP1=number of checkpoints,OP2=2IO(ADD,VDS(CheckPointIndex),1)),t arget=VDS(CheckPointIndex))
LB on press target=
SVE(set,value=2IO(Max,OP1=0,OP2=2IO(Subtract,VDS(C heckPointIndex),1)),target=VDS(CheckPointIndex))
no need for generic filters, its just
1xVDS
2xSVE
4x2IO (Two Input Operator)
and the 2xbutton events
I'm not understanding how that's supposed to be connected. http://forum.redlynx.com/forum/image...n/confused.gif
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
yeah i understand the need for the template system your knocking up, great work by the way http://forum.redlynx.com/forum/image...on/biggrin.gif
the () are set up like maths brackets and have to be expanded.
so
place a VDS, this is the checkpoint index
place a 2IO, set to Add, operand1=VDS, operand2=1 :- call this "VDS+1"
place a 2IO, set to Min, operand1=total number of checkpoints, operand2="VDS+1" call this "Clamp Upper"
place a SVE, set to "Set", point value to "Clamp Upper" and set target to the VDS call this "Out Upper"
place your RB and pass the impulse to the "Out Upper"
place a 2IO, set to Subtract, operand1=VDS, operand2=1 :- call this "VDS-1"
place a 2IO, set to Max, operand1=zero, operand2="VDS-1" call this "Clamp Lower"
place a SVE, set to "Set", point value to "Clamp Lower" and set target to the VDS call this "Out Lower"
place your LB and pass the impulse to the "Out Lower"
this is equivalent to
for RB:
Check Point Index=use the minimum value of either "Maximum Number of Checkpoints" or "Check Point Index+1"
and for LB:
Check Point Index=use the maximum value of either "zero" or "Check Point Index-1"
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by dasraiser
yeah i understand the need for the template system your knocking up, great work by the way
http://forum.redlynx.com/forum/image...on/biggrin.gif
the () are set up like maths brackets and have to be expanded.
so
place a VDS, this is the checkpoint index
place a 2IO, set to Add, operand1=VDS, operand2=1 :- call this "VDS+1"
place a 2IO, set to Min, operand1=total number of checkpoints, operand2="VDS+1" call this "Clamp Upper"
place a SVE, set to "Set", point value to "Clamp Upper" and set target to the VDS call this "Out Upper"
place your RB and pass the impulse to the "Out Upper"
place a 2IO, set to Subtract, operand1=VDS, operand2=1 :- call this "VDS-1"
place a 2IO, set to Max, operand1=zero, operand2="VDS-1" call this "Clamp Lower"
place a SVE, set to "Set", point value to "Clamp Lower" and set target to the VDS call this "Out Lower"
place your LB and pass the impulse to the "Out Lower"
this is equivalent to
for RB:
Check Point Index=use the minimum value of either "Maximum Number of Checkpoints" or "Check Point Index+1"
and for LB:
Check Point Index=use the maximum value of either "zero" or "Check Point Index-1"
I know this is supposed to be simple, but I just can't grasp it. I'm trying to make super simple, very easy-to-understand setups, and this just makes no sense. I have no doubt it works, but it's too nonsensical for a layman like myself and most Evo users to understand.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
2IO = Two Input Operator
SVE = Set Value Event
VDS = Variable Data Source
sorry i thought you used these abbreviations!!?!?
RB = Right Bumper Object
LB = Left Bumper Object
the "label name" was so you can identify the thing that needed to be connected.
ie "Clamp Upper" is just the Two Input Operator that's set to Min and has Operand1 set to the total number of checkpoints and Operand2=the checkpoint index with 1 added.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by dasraiser
2IO = Two Input Operator
SVE = Set Value Event
VDS = Variable Data Source
sorry i thought you used these abbreviations!!?!?
RB = Right Bumper Object
LB = Left Bumper Object
the "label name" was so you can identify the thing that needed to be connected.
ie "Clamp Upper" is just the Two Input Operator that's set to Min and has Operand1 set to the total number of checkpoints and Operand2=the checkpoint index with 1 added.
I know the abbreviations. Hooking it up makes no sense. I appreciate you trying to clarify, but some things I just can't understand, no matter how well they're explained, and it pisses me off so ******* much! http://forum.redlynx.com/forum/image.../icon_evil.gif It would be great if you could make it on google docs.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by bobozilla
It would be great if you could make it on google docs.
oh i thought i needed to be part of the group, be invited or the like, i'll take a gander give me a bit to familiar myself with it.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
dasraiser, you should hop on and make some tutorials http://forum.redlynx.com/forum/image...icon/smile.gif
Just send one of us your email and we will hook you up.
I like seeing how you set up the checkpoint system. I think we need to think about new examples at this point. Here's another idea: Say you have a hard obstacle, the person crashes X number of times at that obstacle. After X number of crashes the obstacle is made easier (plank added or piece falls off). This can be done using the trigger from the checkpoint. I just put up a diagram of this one. It's called Easy Way Out (maybe someone else has a better name). It's a simple set up: checkpoint, object to be adjusted, and four logic cards. I haven't used this yet, but it could make some frustrating levels a bit easier. It won't break any leaderboards because it won't work on a zero fault run.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by dasraiser
Quote:
Originally Posted by bobozilla
It would be great if you could make it on google docs.
oh i thought i needed to be part of the group, be invited or the like, i'll take a gander give me a bit to familiar myself with it.
I thought you were http://forum.redlynx.com/forum/image...s/icon/eek.gif http://forum.redlynx.com/forum/image...s/icon_lol.gif Just PM your email to one of the guys http://forum.redlynx.com/forum/image...con_asleep.gif don't know how to invite people) and they'll add you http://forum.redlynx.com/forum/image.../icon_cool.gif
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
I was just looking at the two checkpoint things now. I don't think we need the "simple" one anymore. Everything there is in the other one anyway. I made mine invisible to the public. I don't see any need for it now. Just makes it the list look bad having two of the same things in it.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by Luthanick
I was just looking at the two checkpoint things now. I don't think we need the "simple" one anymore. Everything there is in the other one anyway. I made mine invisible to the public. I don't see any need for it now. Just makes it the list look bad having two of the same things in it.
I went ahead and removed "advanced" from the name of mine so it wouldn't confuse people
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by bobozilla
Does it have to be any e-mail account in particular? I want to make tutorials too but really have no idea how this thing works. http://forum.redlynx.com/forum/image...icon/smile.gif
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
PM me your email. I believe any email will work, we have someone with a hotmail on already.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by Luthanick
PM me your email. I believe any email will work, we have someone with a hotmail on already.
I PM'd you. http://forum.redlynx.com/forum/image...icon/smile.gif
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
You should have access now.
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by Luthanick
You should have access now.
Yeah, I do, thanks. http://forum.redlynx.com/forum/image...icon/smile.gif
Are these just done in normal documents?
-
Re: Visual Flowchart Editor Tutorials {14} and counting...
Go to the tutorial template and I will show you. PM me if you get lost http://forum.redlynx.com/forum/image...icon/smile.gif