Quantcast

Jump to content

» «
Photo

[SA|REL|TUT] Sliding Doors

2 replies to this topic
Automan
  • Automan

    Grandfather Modder

  • Members
  • Joined: 13 Dec 2008
  • Italy

#1

Posted A week ago Edited by Automan, A week ago.

:)

 

-Video:

 

 

-Script:

{$CLEO .cs}

thread 'SlidoorL'

0000: NOP
:SR_start

wait 0

if

Actor.DrivingVehicleType($PLAYER_ACTOR, #CABBIE)

jf @SR_start

03C0: [email protected] = actor $PLAYER_ACTOR car
095F: get_car [email protected] door 4 angle_to [email protected]

wait 0

if

   not [email protected] == 0.0

else_jump @SR_start
:SR_open_enter1

095F: get_car [email protected] door 4 angle_to [email protected]

[email protected] *= 10

0085: [email protected] = [email protected] // (int)

wait 0

if

   [email protected] > 8 

else_jump @SR_open_enter1

073C: car [email protected] damage_component 4
:SR_open_enter2

095F: get_car [email protected] door 4 angle_to [email protected]

wait 0

if

   0.8 > [email protected]

else_jump @SR_open_enter2
:SR_open_enter3

095F: get_car [email protected] door 4 angle_to [email protected]

wait 0

if

   [email protected] == 0.0

else_jump @SR_open_enter3

068A: set_car [email protected] repair_componentA 4

jump @SR_start
0A93: end_custom_thread

{$CLEO .cs}

thread 'SlidoorR'

0000: NOP
:SR_start

wait 0

if

Actor.DrivingVehicleType($PLAYER_ACTOR, #CABBIE)

jf @SR_start

03C0: [email protected] = actor $PLAYER_ACTOR car
095F: get_car [email protected] door 5 angle_to [email protected]

wait 0

if

   not [email protected] == 0.0

else_jump @SR_start
:SR_open_enter1

095F: get_car [email protected] door 5 angle_to [email protected]

[email protected] *= 10

0085: [email protected] = [email protected] // (int)

wait 0

if

   [email protected] > 8

else_jump @SR_open_enter1

073C: car [email protected] damage_component 5
:SR_open_enter2

095F: get_car [email protected] door 5 angle_to [email protected]

wait 0

if

   0.8 > [email protected]

else_jump @SR_open_enter2
:SR_open_enter3

095F: get_car [email protected] door 5 angle_to [email protected]

wait 0

if

   [email protected] == 0.0

else_jump @SR_open_enter3

068A: set_car [email protected] repair_componentA 5

jump @SR_start
0A93: end_custom_thread

-ZM2 Screen:
Slidoor_ZM2a.jpg

.

Slidoor_ZM2b.jpg

.

Slidoor_ZM2c.jpg

 

-Download Test:
http://www.mediafire...lidingDoors.rar


Gramps
  • Gramps

    ★★★★★

  • GTA Mods Staff
  • Joined: 23 May 2008
  • New-Zealand
  • Helpfulness Award
    Contribution Award [Mods]

#2

Posted A week ago

Did you mean 'suicide doors'?

  • The_Human likes this

Automan
  • Automan

    Grandfather Modder

  • Members
  • Joined: 13 Dec 2008
  • Italy

#3

Posted A week ago Edited by Automan, A week ago.

Did you mean 'suicide doors'?

Suicide doors it is necessary to operate the sliding doors, because they move the axes outwards, and the effect of the rotation is dimmed. :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users