-
moving an object random style but sticking to the DL. *done*
if i have an object that i want to be in a different spot on the DL everytime i start my game (but only within a range of a few feet) how would you guys suggest i do it? im gona have a play with some ope stuff later but if any of the pros have some initial advice that would be super.
-
Senior Member
Re: moving an object random style but sticking to the DL.
you can't make anything random before the player has done anything, you can only achieve randomness through the things the player does(he doesn't need to know he did it)
you can always make the object a bit further so he doesn't see the opject change position
one way to achieve true randomness is for example tie the reseed of the random scource to position on the driveline
-
Member
Re: moving an object random style but sticking to the DL.
You could use global coordinates in conjunction with a random data source (with limits set to your choosing) being added to the axis parallel with the driving line for your object position event (x axis for example) but you cant just use a random data variable by itself as its not random enough (it will be the same everytime you play the track due to the seed being the same) but if you can base the seed number of the random data source from some other variable that is a bit more "random" (maybe something like velocity of bike as it passes a particular trigger) you should get the effect your looking for.
-
Re: moving an object random style but sticking to the DL.
using the bike/rider as the variable. thats a nice idea. thanks. if i can get the logic down this would be a perfect answer. im still new to track building so this is gona take some time (love a challenge
)
-
Member
Re: moving an object random style but sticking to the DL.
No probs.
Take your time and get used to what objects/logic are available to you and in no time you will be making things you wouldnt believe where possible
-
Re: moving an object random style but sticking to the DL.
thats exactly it isnt it, time. that suits me, i like tinkering. i was well chuffed when i figured out how the ope stuff works. copying cannabals video is one thing but understanding why it works, thats the magic moment
-
Re: moving an object random style but sticking to the DL. *d
i think i have done it. i have tied x axis values to random data sources for an object position event. and things do "seem" to move randomly so when my guy reaches them they are in a slightly diff position every time. obv its not totaly random regardless of how many random data sources are included because all they do is maths based on a seed number but, if each consecutive data source is seeded by one in the previous set of logic then at least the impression of "random" is in effect. i have some more testing to do on a bigger scale but to be honest, with some tweeking, what i have acomplished will serve my needs perfectly. considering it took me such a long time to get to grips with the basic OPE stuff i am super happy with my results here. when i have finished i will post my details up on the boards so you guys can tell me what you think.
would just like to add, @ oXCuBXo, thanks for your suggestion of tying my data sources to the speed of my rider. without this little gem i would not have got as far as i have. in this instance this is not the only variable that is being monitored. i have used this and height and tied them both to an RDA to get as close to actual randomness as i can. in terms of triggering the event i have used a hit trigger and some delay filters and a state event and as far as i can tell it works like a charm. afraid i cant take screens of my logic setup but would be happy to write it out if you guys would like. thanks again oXCuBXo you really helped
-
Member
Re: moving an object random style but sticking to the DL. *d
No problems, glad to help !