Quantcast

Jump to content

» «
Photo

GTAIII: Car Bail Script

1 reply to this topic
Zedane
  • Zedane

    Player Hater

  • BUSTED!
  • Joined: 02 Jan 2012

#1

Posted 04 January 2012 - 05:10 PM Edited by Zedane, 04 January 2012 - 05:41 PM.

GTAIII Car Bail Script

Ever Wondered why Claude can't bail out of a car? Because he didn't learn to do it. Hopefully this modification, which I made allows you to Bail from your car while in motion. There is no animation currently but it works perfect. Below is the WIP code. It is ready and is being tested before being put into a script.
CODE
:3BailScript
0001: wait 0 ms
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @3BailScript_200
00D6: if
00E1:   pad 0 key_pressed 15
004D: jump_if_false @3BailScript_147
00D6: if
00E0:   player $PLAYER_CHAR driving
004D: jump_if_false @3BailScript_147
03C1: $4313 = player $PLAYER_CHAR car
02E3: $4314 = car $4313 speed
0227: $4315 = car $4313 health
0054: store_player $PLAYER_CHAR position_to $4316 $4317 $4318
00D6: if or
0020:   $4314 > 15.0 // floating-point values
001A:   250 > $4315 // integer values
02BF:   car $4313 sunk
004D: jump_if_false @3BailScript
0009: $4318 += 1.0 // floating-point values
012A: put_player $PLAYER_CHAR at $4316 $4317 $4318 and_remove_from_car
02EB: restore_camera_with_jumpcut

:3BailScript_147
00D6: if
00E1:   pad 0 key_pressed 15
004D: jump_if_false @3BailScript
0001: wait 100 ms
0002: jump @3BailScript_147

:3BailScript_200
0001: wait 1000 ms
0002: jump @3BailScript

I think I shall make a cleo version but I'm not sure of the opcodes a CLEO version. Please post your feedback. Just a final test and the Mod will be uploaded.

Aron2hip
  • Aron2hip

    Player Hater

  • Members
  • Joined: 02 Aug 2012

#2

Posted 12 November 2012 - 11:58 PM

Would this work for mobile version since the android version is an almost exact port




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users