:
Destination Time
:
Present Time
:
Last Time Departed
Sign in to follow this  
Evilraptor

Restricting Delorean Speeds to 88

Recommended Posts

create_thread @RSTRCT
:RSTRCT

if

   Player.Defined($PLAYER_CHAR)

else_jump @RSTRCT

00DA: $1 = player $PLAYER_CHAR car

if or

00DE:   player $PLAYER_CHAR driving_vehicle_type #INFERNUS

00DE:   player $PLAYER_CHAR driving_vehicle_type #SABRE

00DE:   player $PLAYER_CHAR driving_vehicle_type #DELUXO

00DE:   player $PLAYER_CHAR driving_vehicle_type #BANSHEE

00DE:   player $PLAYER_CHAR driving_vehicle_type #BAGGAGE

else_jump @RSTRCT

00AD: set_car $1 max_speed_to 125.0

jump @RSTRCT

Supposedly there's something wrong with this... logically, this makes sense to me, but it doesn't work so... any ideas?

Share this post


Link to post
Share on other sites
create_thread @RSTRCT
:RSTRCT

if

   Player.Defined($PLAYER_CHAR)

else_jump @RSTRCT

00DA: $1 = player $PLAYER_CHAR car

if or

00DE:   player $PLAYER_CHAR driving_vehicle_type #INFERNUS

00DE:   player $PLAYER_CHAR driving_vehicle_type #SABRE

00DE:   player $PLAYER_CHAR driving_vehicle_type #DELUXO

00DE:   player $PLAYER_CHAR driving_vehicle_type #BANSHEE

00DE:   player $PLAYER_CHAR driving_vehicle_type #BAGGAGE

else_jump @RSTRCT

00AD: set_car $1 max_speed_to 125.0

jump @RSTRCT

Supposedly there's something wrong with this... logically, this makes sense to me, but it doesn't work so... any ideas?

you put 00AD @

00AD: set_car $1 max_speed_to 125.0

Share this post


Link to post
Share on other sites

This code does not crash, but it doesn't work. This is the only code that allows me to write

Car.SetMaxSpeed(1@, 5.0)
:RSTRCT

thread 'RSTRCT'



:RSTRCT_10

wait 10 

if 

   Player.Defined($PLAYER_CHAR)

jf @RSTRCT_10 

if or

00DE:   player $PLAYER_CHAR driving_vehicle_type #INFERNUS

00DE:   player $PLAYER_CHAR driving_vehicle_type #SABRE

00DE:   player $PLAYER_CHAR driving_vehicle_type #DELUXO

00DE:   player $PLAYER_CHAR driving_vehicle_type #BANSHEE

00DE:   player $PLAYER_CHAR driving_vehicle_type #BAGGAGE

jf @RSTRCT_10 

03C1: 1@ = player $PLAYER_CHAR car 

if 

00E1:   key_pressed 0 16

jf @RSTRCT_10 

Car.SetMaxSpeed(1@, 5.0) 

jump @RSTRCT_10

Share this post


Link to post
Share on other sites
you put 00AD @

00AD: set_car $1 max_speed_to 125.0

It's still same Archer.

I do have a code that make Delorean to ultra speed.

:RSTRCT

thread 'RSTRCT'



:RSTRCT_10

wait 10 

if 

   Player.Defined($PLAYER_CHAR)

jf @RSTRCT_10 

if or

00DE:   player $PLAYER_CHAR driving_vehicle_type #INFERNUS

00DE:   player $PLAYER_CHAR driving_vehicle_type #SABRE

00DE:   player $PLAYER_CHAR driving_vehicle_type #DELUXO

00DE:   player $PLAYER_CHAR driving_vehicle_type #BANSHEE

00DE:   player $PLAYER_CHAR driving_vehicle_type #BAGGAGE

jf @RSTRCT_10 

03C1: 1@ = player $PLAYER_CHAR car 

if and

00E1:   key_pressed 0 16

00E1:   key_pressed 0 3

jf @RSTRCT_10 

04BA: set_car 1@ speed_instantly 250.0  

jump @RSTRCT_10

Share this post


Link to post
Share on other sites

Not really. I use jf. :P

Share this post


Link to post
Share on other sites

Nothing. The "Car.SetMaxSpeed(1@, 5.0) " code is for vehicle that has actor in it.

00A5: $KARR = create_car #HOTRING at -1066.072 -55.111 10.262

0129: $LDRIVER = create_actor 10 #BFORI in_car $KARR driverseat

Car.SetMaxSpeed($KARR, 10.0)

Car.SetToPsychoDriver($KARR)

Car.SetDriverBehaviour($KARR, KillThePlayer)

Examples only.

Edited by JohnyMan :P

Share this post


Link to post
Share on other sites

Ah so it doesn't work with the player?

Drat... oh well, not my problem :P

Share this post


Link to post
Share on other sites

It is you're problem actuallly. You're the one who made the code. At least you're getting into coding more. :bounce: :bounce:

Edited by JohnyMan :P

Share this post


Link to post
Share on other sites
It is you're problem actually. You're the one who made the code. At least you're getting into coding more. :bounce: :bounce:

Technically it ain't his problem. He was just "trying to help others" (see the topic's description), so technically it is those others' problem, not his. :P

Share this post


Link to post
Share on other sites

Lol.. Wlovever you say angeloe. I'll try to find other way to limit the delorean's speed.

Share this post


Link to post
Share on other sites
Lol.. Wlovever you say angeloe. I'll try to find other way to limit the delorean's speed.

Apparently, forgot to say this to you guys before, but Del tried that before. The result is indeed a vehicle limited to a speed of 88 mph, but a hell slow one.

And I'm not sure what is this "restricting DeLorean speeds to 88" for. It's probably for those who wants to keep the speedometer from reaching beyond 88, like in the movies. It would best to do that (have the speedometer to not display speeds more than 88 (on the DeLorean only)) than to make the DeLorean slower to keep it from going beyond 88. I would want that too, since I've been requesting the same thing to Del repeatedly ever since 0.2c (with the addition of not having the speedometer on non-time machine vehicles). :lol:

Share this post


Link to post
Share on other sites

I think I could do that.

Share this post


Link to post
Share on other sites

Holy s*it. why not add the not car 1@ airborne thingy?

Share this post


Link to post
Share on other sites

well than. Just need to change the handling line I think.

Share this post


Link to post
Share on other sites

oh well. Not MY problem. lol

Share this post


Link to post
Share on other sites
Sign in to follow this