Quantcast

Jump to content

» «
Photo

TbM2k's Unflip Car Mod

11 replies to this topic
spaceeinstein
  • spaceeinstein

    巧克力

  • Members
  • Joined: 17 Jul 2003
  • None

#1

Posted 05 July 2005 - 10:46 PM Edited by spaceeinstein, 22 July 2005 - 11:39 PM.

CONVERTED FOR SAN ANDREAS!

Created by (I think) TbM2k for Vice City. Converted to San Andreas by spaceeinstein. This is a script mod that unflips your vehicle (ANY vehicles) if your vehicle is completely upside down and stopped.

Installation for intermediate scripters only. Please download Barton's mission builder using Craig's link.

CODE
004F: create_thread ££UNFLIP

:UNFLIP
0001: wait  250 ms
00D6: if  0
0256:   player  $PLAYER_CHAR defined
004D: jump_if_false ££UNFLIP
00D6: if  0
00DF:   actor $PLAYER_ACTOR driving
004D: jump_if_false ££UNFLIP
03C0: @0 = actor $PLAYER_ACTOR car
00D6: if  1
01F4:   car  @0 flipped
01C1:   car  @0 stopped
004D: jump_if_false ££UNFLIP
00AA: store_car @0 position_to @1 @2 @3
0009:  @3 +=  2
0174:  @4 = car  @0 z_angle
00AB: put_car  @0 at  @1  @2  @3
0175: set_car  @0 z_angle_to  @4
0001: wait  2000 ms
0002: jump ££UNFLIP

So much conversions.

upsetting_pear
  • upsetting_pear

    Trick

  • Members
  • Joined: 02 Apr 2005
  • Australia

#2

Posted 06 July 2005 - 12:18 AM

I was waiting for this code, good job.

tapsuu
  • tapsuu

    Player Hater

  • Members
  • Joined: 22 Jun 2005

#3

Posted 06 July 2005 - 06:09 AM

Ehh, im so n00b that can u give me o DL, or give the whole code and tell where to put it!!

[DRuG]NikT
  • [DRuG]NikT

    DRuG Baron

  • Members
  • Joined: 27 Jan 2004

#4

Posted 06 July 2005 - 12:32 PM

Awesome work dude - popped it on and it worked a treat after the valet stuff at line 5475... added the create_thread with the others towards the top.


Thanks!

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#5

Posted 10 July 2005 - 09:26 AM

You should've converted my Armor All mod. It does that and a whole lot more wink.gif

RainingAcid
  • RainingAcid

    Hustler

  • Members
  • Joined: 28 Mar 2005

#6

Posted 13 July 2005 - 10:32 PM

Mind if I include this in my farewell mod?

Un3462
  • Un3462

    Mack Pimp

  • Members
  • Joined: 27 Jun 2002

#7

Posted 13 July 2005 - 11:41 PM

three questions:
- what exactly did you convert about this? there's nothing sa or vc specific in that code, as far as i can see.
- shouldn't that be 2.0?
- why waste globals where locals would suffice?

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#8

Posted 14 July 2005 - 02:20 AM

QUOTE (CyQ @ Jul 13 2005, 18:41)
- why waste globals where locals would suffice?

Ever since you taught me that, I've TRIED to spread the word confused.gif

spaceeinstein
  • spaceeinstein

    巧克力

  • Members
  • Joined: 17 Jul 2003
  • None

#9

Posted 14 July 2005 - 07:58 PM

I don't know what you mean by
QUOTE
- what exactly did you convert about this? there's nothing sa or vc specific in that code, as far as i can see.
- shouldn't that be 2.0?


I just got it from the Liberty City mod which TBM2k said he accidentally inputted into it. I can reedit it to make it more "code" friendly if you want.

jaeger_swe
  • jaeger_swe

    Player Hater

  • Members
  • Joined: 11 Jun 2005

#10

Posted 05 September 2005 - 01:00 PM

Could someone tell me how to use scriptmods???

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#11

Posted 05 September 2005 - 01:54 PM

Could you ask in "EDITING DISCUSSION" instead of bumping a 2 month old thread? Or perhaps read around in that same section first on the off chance that a pinned topic was pinned for such reasons?

jaeger_swe
  • jaeger_swe

    Player Hater

  • Members
  • Joined: 11 Jun 2005

#12

Posted 07 September 2005 - 02:30 PM

QUOTE (Demarest @ Sep 5 2005, 13:54)
Could you ask in "EDITING DISCUSSION" instead of bumping a 2 month old thread? Or perhaps read around in that same section first on the off chance that a pinned topic was pinned for such reasons?

OMfg! omfg! Oh no, the world is ending! oh no..




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users