:
Destination Time
:
Present Time
:
Last Time Departed
Carlos_McFly

Carlos McFly's Coding Practices and Mods for BTTF

Recommended Posts

These are the codes:

:MALF

thread 'MALF'



:MALF_0

wait 0

0209: $1 = random_int 30000 300000 

03CF: load_wav 'CARREV' as 2



:MALF_1

wait $1

if

   00DE:   player $PLAYER_CHAR driving_vehicle_type $FLYINGDEL

   $TCON == 1

   $TC_CONTROL == 1

   03D0:   wav 2 loaded

else_jump @MALF_1

wait 1000

$TC_CONTROL = 0

wait 1000

gosub @MALF_3

wait 1000

$TC_CONTROL = 1

jump @MALF_0



:MALF_2

wait 0

03D1: play_wav 2 

$MONTH = 1 // integer values 

$DAYT = 0 // integer values 

$DAYO = 1 // integer values 

$YEAR1 = 1 // integer values 

$YEAR2 = 8 // integer values 

$YEAR3 = 8 // integer values 

$YEAR4 = 5 // integer values 

$YEAR = 1885 // integer values 

$HOUR = 0 // integer values 

$HOURN = 0 // integer values 

$TENS = 0 // integer values 

$ONES = 0 // integer values

wait 600

$MONTH = 8 // integer values 

$DAYT = 8 // integer values 

$DAYO = 8 // integer values 

$YEAR1 = 8 // integer values 

$YEAR2 = 8 // integer values 

$YEAR3 = 8 // integer values 

$YEAR4 = 8 // integer values 

$YEAR = 8 // integer values 

$HOUR = 88 // integer values 

$HOURN = 88 // integer values 

$TENS = 8 // integer values 

$ONES = 8 // integer values

wait 300 

$MONTH = 11 // integer values 

$DAYT = 1 // integer values 

$DAYO = 2 // integer values 

$YEAR1 = 1 // integer values 

$YEAR2 = 9 // integer values 

$YEAR3 = 5 // integer values 

$YEAR4 = 5 // integer values 

$YEAR = 1955 // integer values 

$HOUR = 6 // integer values 

$HOURN = 6 // integer values 

$TENS = 0 // integer values 

$ONES = 0 // integer values

return



:MALF_3

gosub @MALF_2 

wait 100

gosub @MALF_2 

wait 100

gosub @MALF_2 

wait 100

040D: unload_wav 2 

return

I dunno if there's something wrong, cuz when Time Circuits are off, the sound is played, or sometimes the sound unfits with the numbers.

Edited by Carlos_McFly

Share this post


Link to post
Share on other sites

You should have them malfunction on NOV 12 1955 10:00pm or, so you get struck my lightning and get sent back that time

Share this post


Link to post
Share on other sites

I think that the buggy Time Circuits of your DeLorean is interesting :)

But I really like the decceleration sound

Edited by Microman

Share this post


Link to post
Share on other sites

DEL SPAWNING MOD UPDATE: I've changed Hook Del's code, I added the Time circuits, but still dunno how to put the hook code without enter in the garage.

I tried with this but it doesn't work

0506: vehicle_model 141 set_next_variation -1 3

Edited by Carlos_McFly

Share this post


Link to post
Share on other sites

Hello, I need some help with coding. Is possible make an actor kill other actor with an opcode or something?

Share this post


Link to post
Share on other sites

Do not double post Carlos ^_^

it's against the site rules xD

and GTA FORUMS it's your best friend for learning about modding GTA ;)

-Shizuma-

Edited by 88milesperhour!

Share this post


Link to post
Share on other sites
:EIDI

gosub @EIDI_0

if

wasted_or_busted

else_jump @EIDI_CLEAN

gosub @EIDI_FAIL



...



:EIDI_CLEANUP

$ONMISSION = 0

mission_cleanup

return

Looks like you have :EIDI_CLEAN labeled as :EIDI_CLEANUP

I'm a beginner at this, but let me know if this helps :)

Or maybe you don't have :EIDI_CLEAN showing there...I'm honestly just throwing a wild guess.

Share this post


Link to post
Share on other sites

Oh, I forgot write that label here, but i have it in the main.scm, I will edit the code above.

Edited by Carlos_McFly

Share this post


Link to post
Share on other sites

NEW EXPLOSIONS FOR DE LOREAN RE-ENTRY UPDATED: I ADDED SMOKE TO THE EXPLOSION EFFECT.

Edited by Carlos_McFly

Share this post


Link to post
Share on other sites

Cool! Is this an scm edit, or a txd edit?

Share this post


Link to post
Share on other sites

@Daniel TXD

Share this post


Link to post
Share on other sites

You could make some of the deloreans have the delay like in BTTF 1 and 3 with tutorials on how to put them in, or mission addons. Ask and you shall recive.

Share this post


Link to post
Share on other sites

Your explosions reminds me MY explosions X-D

EDIT :

I found an old video of my DeLorean explosion :

Edited by Microman

Share this post


Link to post
Share on other sites

Why is it that at the end on the rentry explosion it is slightly green?

Wait I just remembered a post by someone that said,

"

i was just thinking, you know how like at the start of the third movie, just before it cuts to the first scene, there is something like this

Saturday

November 12 1955

10:03 PM

and then it fades out.

now if you could have a similar type thing when the screen fades out to black after you time travel, that would be great.

maybe something like this, EG: time circuts= MAY 03 1994 3:08 PM

then after you time travel it fades to black and comes up with that little sparkle music thing.

May 3rd

1994

3:08 PM

fades back in to screen and see three explotions.......bla bla bla

you could change the existing cutscene time travel or create a whole new type of time travel

For EG....

Instant Time Travel.

Cutscene Time Travel.

Movie Time Travel.

what do you think?"

Edited by skypokemon

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...