Difference between revisions of "0372"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{OpCode | ini = 0372=3,%1d% %2d% %3d% | description = Plays an animation on an actor | p1 = Actor handle | p2 = Animation value | p3 = Time in milliseco...)
 
Line 18: Line 18:
 
|-
 
|-
 
| 2
 
| 2
| ?
+
| Yes
| ?
+
| No
 
| Stands still with hands behind the back
 
| Stands still with hands behind the back
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-2.png Link]
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-2.png Link]
 
|-
 
|-
 
| 3
 
| 3
| ?
+
| Yes
| ?
+
| No
| Leans back and looks left and right
+
| Leans back and looks left and right; if not looped, will exit animation at the set time
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-3.png Link]
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-3.png Link]
 
|-
 
|-
 
| 8
 
| 8
| ?
+
| No
| ?
+
| No
| Stands still with hands behind the back then scratches head
+
| Stands still with hands behind the back then scratches head; if looped, hands will be kept behind the back
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-8.png Link]
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-8.png Link]
 
|-
 
|-
 
| 9
 
| 9
| ?
+
| No
| ?
+
| Yes
 
| Bounces and stumbles backwards
 
| Bounces and stumbles backwards
 
|  
 
|  
 
|-
 
|-
 
| 10
 
| 10
| ?
+
| No
| ?
+
| No
 
| Turns around 180 degrees
 
| Turns around 180 degrees
 
|  
 
|  
 
|-
 
|-
 
| 11
 
| 11
| ?
+
| No
| ?
+
| Yes
 
| Bounces, stumbles backwards, then scratches head
 
| Bounces, stumbles backwards, then scratches head
 
|  
 
|  
 
|-
 
|-
 
| 12
 
| 12
| ?
+
| Yes
| ?
+
| No
 
| Bends over and catches breath
 
| Bends over and catches breath
 
|  
 
|  
 
|-
 
|-
 
| 13
 
| 13
| ?
+
| No
| ?
+
| No
|  
+
| Stands still with hands behind the back for a while
 
|  
 
|  
 
|-
 
|-
 
| 14
 
| 14
| ?
+
| No
| ?
+
| No
 
| Steps away and bends down as if protecting itself
 
| Steps away and bends down as if protecting itself
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-14.png Link]
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-14.png Link]
 
|-
 
|-
 
| 15
 
| 15
| ?
+
| No
| ?
+
| Yes
|  
+
| Surprised while stepping back
 
|  
 
|  
 
|-
 
|-
 
| 16
 
| 16
| ?
+
| No
| ?
+
| No
| Hails a taxi
+
| Hails a taxi; if looped, will keep hailing
| | [http://img.photobucket.com/albums/v41/spaceeinstein/0372-16.png Link]
+
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-16.png Link]
 
|-
 
|-
 
| 17
 
| 17
| ?
+
| No
| ?
+
| Yes
| Steps back then raises both hands up
+
| Steps back then raises both hands up; if looped, animation will repeat
 
|  
 
|  
 
|-
 
|-
 
| 18
 
| 18
| ?
+
| No
| ?
+
| Yes
|  
+
| Surprised while stepping back
 
|  
 
|  
 
|-
 
|-
 
| 19
 
| 19
| ?
+
| No
| ?
+
| No
| Various hand gestures suggesting a conversation
+
| Various hand gestures suggesting a conversation; if looped, animation will repeat
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-19.png Link]
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-19.png Link]
 
|-
 
|-
 
| 20
 
| 20
| ?
+
| Yes
| ?
+
| No
 
| Bends over and catches breath then leans back and looks left and right; if looped will continuously bend over to catch a breath
 
| Bends over and catches breath then leans back and looks left and right; if looped will continuously bend over to catch a breath
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-20.png Link]
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-20.png Link]
 
|-
 
|-
 
| 21
 
| 21
| ?
+
| No
| ?
+
| No
| Sits down or stands up from sitting position
+
| Sits down
 
|  
 
|  
 
|-
 
|-
 
| 22
 
| 22
| ?
+
| No
| ?
+
| No
|  
+
| Keeps a sitting position
 
|  
 
|  
 
|-
 
|-
 
| 23
 
| 23
| ?
+
| No
| ?
+
| No
|  
+
| Stands up from sitting position
 
|  
 
|  
 
|-
 
|-
 
| 24
 
| 24
| ?
+
| No
| ?
+
| No
 
| Sits down, looks around, then stands up; if looped, will continuously sit down
 
| Sits down, looks around, then stands up; if looped, will continuously sit down
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-24.png Link]
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-24.png Link]
 
|-
 
|-
 
| 25
 
| 25
| ?
+
| No
| ?
+
| No
| Hand gestures suggesting using an ATM
+
| Hand gestures suggesting using an ATM; if looped, animation repeats
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-25.png Link]
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-25.png Link]
 
|-
 
|-
 
| 28
 
| 28
| ?
+
| Yes
| ?
+
| No
| Sunbathe
+
| Sunbathe; it is not affected by the set time
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-28.png Link]
 
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-28.png Link]
 
|-
 
|-
 
| 30
 
| 30
| ?
+
| No
| ?
+
| No
 
| Falls over backwards, if looped will stay fallen on the floor
 
| Falls over backwards, if looped will stay fallen on the floor
 
|  
 
|  
 
|-
 
|-
 
| 31
 
| 31
| ?
+
| No
| ?
+
| No
| Hand gestures suggesting activating a detonator
+
| Hand gestures suggesting activating a detonator; if looped, animation repeats
|  
+
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-31.png Link]
 
|-
 
|-
 
| 33
 
| 33
| ?
+
| No
| ?
+
| No
| Kicks the floor
+
| Kicks the floor; if looped, animation repeats
|  
+
| [http://img.photobucket.com/albums/v41/spaceeinstein/0372-33.png Link]
 
|}
 
|}
Some animations requires the opcode to be looped in order to see the animation correctly. Those that should be looped is checked under the "Should be looped?" column. All animations can be looped but some will look bad or not right. Those that should not be looped is x-ed in that column. Some animations will force the actor to stray away from the original position. Those that does that is checked under the "Deviate from position?" column.
+
Some animations requires the opcode to be looped in order to see the animation correctly. Those that should be looped is under the "Should be looped?" column. All animations can be looped but some will look bad or not right. Those that should not be looped is not under that column. Some animations will force the actor to stray away from the original position. Those that does that is under the "Deviate from position?" column.
  
 
Values 29, 32, and 34 crashes the game. All unlisted values has no effect.
 
Values 29, 32, and 34 crashes the game. All unlisted values has no effect.

Revision as of 03:01, 25 November 2009

{{{games}}}


Description
Plays an animation on an actor
Syntax
{{{syntax1}}}
Parameter

This opcode plays an animation on an actor. Some animations can play for a set amount of time but some animations require to be looped in order to work. If played on the player, most animations allow some extent of control as the animations tries to play.

List of animation values

Value Should
be
looped?
Deviate
from
position?
Description Image
2 Yes No Stands still with hands behind the back Link
3 Yes No Leans back and looks left and right; if not looped, will exit animation at the set time Link
8 No No Stands still with hands behind the back then scratches head; if looped, hands will be kept behind the back Link
9 No Yes Bounces and stumbles backwards
10 No No Turns around 180 degrees
11 No Yes Bounces, stumbles backwards, then scratches head
12 Yes No Bends over and catches breath
13 No No Stands still with hands behind the back for a while
14 No No Steps away and bends down as if protecting itself Link
15 No Yes Surprised while stepping back
16 No No Hails a taxi; if looped, will keep hailing Link
17 No Yes Steps back then raises both hands up; if looped, animation will repeat
18 No Yes Surprised while stepping back
19 No No Various hand gestures suggesting a conversation; if looped, animation will repeat Link
20 Yes No Bends over and catches breath then leans back and looks left and right; if looped will continuously bend over to catch a breath Link
21 No No Sits down
22 No No Keeps a sitting position
23 No No Stands up from sitting position
24 No No Sits down, looks around, then stands up; if looped, will continuously sit down Link
25 No No Hand gestures suggesting using an ATM; if looped, animation repeats Link
28 Yes No Sunbathe; it is not affected by the set time Link
30 No No Falls over backwards, if looped will stay fallen on the floor
31 No No Hand gestures suggesting activating a detonator; if looped, animation repeats Link
33 No No Kicks the floor; if looped, animation repeats Link

Some animations requires the opcode to be looped in order to see the animation correctly. Those that should be looped is under the "Should be looped?" column. All animations can be looped but some will look bad or not right. Those that should not be looped is not under that column. Some animations will force the actor to stray away from the original position. Those that does that is under the "Deviate from position?" column.

Values 29, 32, and 34 crashes the game. All unlisted values has no effect.

Keywords

animation, wait state time, play