#1 14-07-2010 15:46

Sim
Registered: 14-07-2010
Posts: 4

Auto-driver[req]

Hello, I'm new to Cleo and i don't know much about it, but I want to do a script, that will drive for me (like a certain path). I tried the rrr thing and I managed to get it working, but it just drives through other cars and i don't like it. I want it to drive realistic (00AE: set_car 0@ traffic_behaviour_to 2). Is that possible with that rrr thing? Any help is good.

Offline

#2 14-07-2010 15:48

~AquaZ~
Registered: 01-03-2010
Posts: 726

Re: Auto-driver[req]

No. rrr (or r3) ignoring game physics.

Offline

#3 14-07-2010 16:03

Sim
Registered: 14-07-2010
Posts: 4

Re: Auto-driver[req]

Well, then how I am I able to do a realistic Auto-Driver script, that will drive the route that I want? Can I set multiple coordinates for "02C2: car 71@ drive_to 2644.462 -2016.282 12.5547"? If so, then how? Any help appreciated.

Offline

#4 14-07-2010 16:13

~AquaZ~
Registered: 01-03-2010
Posts: 726

Re: Auto-driver[req]

Multiple coordinates? Why?

Offline

#5 14-07-2010 16:19

Sim
Registered: 14-07-2010
Posts: 4

Re: Auto-driver[req]

Because i need it to drive through a certain path. If i add only one, it will drive as it wishes, not through a path that i want it to drive.

Offline

#6 14-07-2010 17:02

Sw[ee]t
From: Нижний Новгород
Registered: 16-02-2009
Posts: 686
Website

Re: Auto-driver[req]

Try to set action sequences for 02C2 opcode. It's like:

0615: define_action_sequences 0@ // sequences begin
02C2: car 71@ drive_to {coordinates here}
// put it as much times as you need
0616: define_action_sequences_end 15@ // sequences ends here
0618: assign_actor $Player_actor to_action_sequences 0@ // assign sequences to actor (sry, but i didnt find something to assign sequences trough car
061B: remove_references_to_action_sequences 0@// removing references to sequence

Offline

#7 14-07-2010 17:19

Sim
Registered: 14-07-2010
Posts: 4

Re: Auto-driver[req]

Thanks, i will give it a try.

Offline

Board footer

Powered by FluxBB