Difference between revisions of "0245"
Jump to navigation
Jump to search
(page rewrite) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{OpCode | {{OpCode | ||
− | | | + | | games = {{Icon|t}} |
− | | description = Sets | + | | command = SET_ANIM_GROUP_FOR_CHAR |
− | | | + | | description = Sets the animation group for the character |
− | | | + | | syntax1 = {{Icon|3}} {{Icon|VC}} 0245: set_actor [''char handle''] walk_style_to [''int''] |
− | | | + | | syntax2 = {{Icon|SA}} 0245: set_actor [''char handle''] walk_style_to "[''string'']" |
+ | | p1t = [''char handle''] | ||
+ | | p1d = The handle of the character | ||
+ | | p2t = [''int''] | ||
+ | | p2d = Animation group (see below) | ||
+ | | p3t = [''string''] | ||
+ | | p3d = [[Animgrp.dat#Walkstyles|Animation group]] | ||
}} | }} | ||
− | This opcode sets an | + | This opcode sets the animation group for the character, notably changing the way the character walks. The character's initial animation group is defined in the [[PEDS|PEDS section]] of the [[IDE]] file. Many values are invalid and can crash the game. Setting an animation group for the player produces no effect.. |
− | == | + | == GTA III == |
+ | {|class="wikitable" | ||
+ | !Anim<br>group ||Enum | ||
+ | |- | ||
+ | |9 ||ANIM_GANG2_PED | ||
+ | |- | ||
+ | |15 ||ANIM_SEXY_WOMANPED | ||
+ | |- | ||
+ | |18 ||ANIM_PANIC_CHUNKYPED | ||
+ | |} | ||
− | + | == Vice City == | |
+ | {|class="wikitable" | ||
+ | !Anim<br>group ||[[SCM language III/VC definitions#ANIM|Enum]] | ||
+ | |- | ||
+ | |0 ||ANIM_STD_PED | ||
+ | |- | ||
+ | |30 ||ANIM_PLAYER_PED | ||
+ | |- | ||
+ | |31 ||ANIM_PLAYER_ROCKET_PED | ||
+ | |- | ||
+ | |32 ||ANIM_PLAYER_1ARMED_PED | ||
+ | |- | ||
+ | |33 ||ANIM_PLAYER_2ARMED_PED | ||
+ | |- | ||
+ | |34 ||ANIM_PLAYER_BBBAT_PED | ||
+ | |- | ||
+ | |35 ||ANIM_PLAYER_CHAINSAW_PED | ||
+ | |- | ||
+ | |36 ||ANIM_SHUFFLE_PED | ||
+ | |- | ||
+ | |37 ||ANIM_OLD_PED | ||
+ | |- | ||
+ | |38 ||ANIM_GANG1_PED | ||
+ | |- | ||
+ | |39 ||ANIM_GANG2_PED | ||
+ | |- | ||
+ | |40 ||ANIM_FAT_PED | ||
+ | |- | ||
+ | |41 ||ANIM_OLDFAT_PED | ||
+ | |- | ||
+ | |42 ||ANIM_JOGGER_PED | ||
+ | |- | ||
+ | |43 ||ANIM_STD_WOMANPED | ||
+ | |- | ||
+ | |44 ||ANIM_SHOPPING_WOMANPED | ||
+ | |- | ||
+ | |45 ||ANIM_BUSY_WOMANPED | ||
+ | |- | ||
+ | |46 ||ANIM_SEXY_WOMANPED | ||
+ | |- | ||
+ | |47 ||ANIM_FAT_WOMANPED | ||
+ | |- | ||
+ | |48 ||ANIM_OLD_WOMANPED | ||
+ | |- | ||
+ | |49 ||ANIM_JOGGER_WOMANPED | ||
+ | |- | ||
+ | |50 ||ANIM_PANIC_CHUNKYPED | ||
+ | |} | ||
− | + | == Keywords == | |
− | + | set, character, actor, anim, animation, group, walk, style | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ==Keywords== | ||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 21:58, 3 June 2016
- Description
- Sets the animation group for the character
- Syntax
- 0245: set_actor [char handle] walk_style_to [int]
- 0245: set_actor [char handle] walk_style_to "[string]"
- Parameter
- [char handle]
- The handle of the character
- [int]
- Animation group (see below)
- [string]
- Animation group
This opcode sets the animation group for the character, notably changing the way the character walks. The character's initial animation group is defined in the PEDS section of the IDE file. Many values are invalid and can crash the game. Setting an animation group for the player produces no effect..
GTA III
Anim group |
Enum |
---|---|
9 | ANIM_GANG2_PED |
15 | ANIM_SEXY_WOMANPED |
18 | ANIM_PANIC_CHUNKYPED |
Vice City
Anim group |
Enum |
---|---|
0 | ANIM_STD_PED |
30 | ANIM_PLAYER_PED |
31 | ANIM_PLAYER_ROCKET_PED |
32 | ANIM_PLAYER_1ARMED_PED |
33 | ANIM_PLAYER_2ARMED_PED |
34 | ANIM_PLAYER_BBBAT_PED |
35 | ANIM_PLAYER_CHAINSAW_PED |
36 | ANIM_SHUFFLE_PED |
37 | ANIM_OLD_PED |
38 | ANIM_GANG1_PED |
39 | ANIM_GANG2_PED |
40 | ANIM_FAT_PED |
41 | ANIM_OLDFAT_PED |
42 | ANIM_JOGGER_PED |
43 | ANIM_STD_WOMANPED |
44 | ANIM_SHOPPING_WOMANPED |
45 | ANIM_BUSY_WOMANPED |
46 | ANIM_SEXY_WOMANPED |
47 | ANIM_FAT_WOMANPED |
48 | ANIM_OLD_WOMANPED |
49 | ANIM_JOGGER_WOMANPED |
50 | ANIM_PANIC_CHUNKYPED |
Keywords
set, character, actor, anim, animation, group, walk, style