1. #1

    OPE Trouble

    Hey guys,

    Got a bit of a problem as regards as OPE's

    I've got the main part out of the way but the last bit is the issue.

    I have OPE's linked to an object going through a pipe going round curves and everything, got that bit great, but at the end I can't get the whole thing to go back to the beginning to reset the whole process, like a looping phase but with all the OPE's.

    A good example is the electronic thing in Heetsauces Powertrip.
    Share this post

  2. #2

    Re: OPE Trouble

    Set everything to reset when disabled, use a data source to disable everything at the end, then a delay, then enable it all again? Not too sure off the top of my head, but that might work.
    Share this post

  3. #3

    Re: OPE Trouble

    Originally Posted by Barrybarfly
    Set everything to reset when disabled, use a data source to disable everything at the end, then a delay, then enable it all again? Not too sure off the top of my head, but that might work.
    this should work if its done with global movement


    if its locally which i guess it is
    -first you rotate it so it faces its original direction again
    -you take its original coords and substract the new coords
    -add this number to make it jump to the original location
    Share this post

  4. #4

    Re: OPE Trouble

    The interval trigger has a reset when enabled but that is it, the others I have reset when disabled already ticked. I tried this way, but just can't get it back to it's original spot. :/

    Need a video tutorial if applicable.
    Share this post

  5. #5

    Re: OPE Trouble

    Could you use a global OPE to send the object back to its starting position and reset the OPE's from there?
    Share this post

  6. #6

    Re: OPE Trouble

    Originally Posted by NovaDarkStorm
    The interval trigger has a reset when enabled but that is it, the others I have reset when disabled already ticked. I tried this way, but just can't get it back to it's original spot. :/

    Need a video tutorial if applicable.
    are you using curved datasources or set events that change vds that feed the ope?

    a tutorial will be hard because it depends on how you made it(its one of the complexer ope issues)

    but reset your rotation first so you face the original direction again
    then add the difference in coords(x,y,z) to new location
    -if u used cds then reset rotation first, after that reset te distance cds, then add coord difference
    -if u used set events then reset rotation, then add coord difference
    Share this post

  7. #7

    Re: OPE Trouble

    I am using curved data sources atm, and delays before triggering the other curved data sources on alternate ope's but they're attached to the same object. It goes as follows.

    Interval Trigger to the OPE, getting data for Y, which is going up at first from the get go, then it goes into a Delayed Impulse to an On State event for another OPE which has another linear data source on it but all I am doing after this is using the Pitch and Bank movements after these to change it's way of moving, this way I can keep the speed of the main OPE, without altering it's time/speed. This process goes on for 3 linear's before I want it to go back and repeat the process.

    All of the OPE's are local.
    Share this post

  8. #8

    Re: OPE Trouble

    also i would use a delay just incase to make sure you reset rotation before coords

    and as long as rotation is right, teleporting back should be easy

    to make things easy i would recomend use only 1 ope per obect/gluegroup(unless i'm missing something why people keep using several ope's for 1 object )
    use snapping to make sure that the local axis you start with are the same as the global axis to make conversion from global->local easy
    Share this post

  9. #9

    Re: OPE Trouble

    I can't get it to work but I don't think it really matters just yet anyhow but thanks for the help. It's a tough situation but the reason I'm doing the multi ope's is so I can maintain the speed and time without disrupting up when using other stuff like this.

    Use one the axis for time and speed.

    X axis
    Y axis am using this one because of how it starts)
    Z axis

    The rest of the OPE's now use these;

    Yaw
    Pitch
    Bank

    I use these for turning the orb left and right, back and forth now. You'd have to see it cause I have it all working fine but to get it restarting again is a doozie.
    Share this post

  10. #10

    Re: OPE Trouble

    well the way how i did my td game was

    have 1 ope
    link a few vds to it that control movement and angles

    the way i set it up was

    i had 1 set event adding the x axis to have a constant speed
    i had a chain of delays and state events
    the state events would trigger some other set events (sometimes these could be reused)
    the set events would increase the yaw pitch or bank depending on what i wanted

    i could reset my object anytime i wanted to the starting location, you have it a bit easier because you always reset at the same time
    now what i did to reset my object was
    reset the angles to 0
    delay1tick just in case
    get the curent coords of the object and compare them to start coords
    add the difference to x,y,z (this is the important step because you object needs to be snapped twice so local and global axis are aligned(although x axis might be y axis or so this just needs some testing and messing)
    afterwards i could just retrigger the chain of movement(had to disable some other stuff too etc because i needed to reset at random times)
    Share this post