Difference between revisions of "0235"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{OpCode | games = {{Icon|VC}} | command = SET_GANG_PED_MODELS | description = Sets the ped models of the gang | syntax1 = 0235: set_gang [''i...")
 
m
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
| games      = {{Icon|VC}}
 
| games      = {{Icon|VC}}
 
| command    = SET_GANG_PED_MODELS
 
| command    = SET_GANG_PED_MODELS
| description = Sets the ped models of the [[Gang#Vice City|gang]]
+
| description = Sets the ped models of the [[gang]]
 
| syntax1    = 0235: set_gang [''int1''] models_to [''int2''] [''int3'']
 
| syntax1    = 0235: set_gang [''int1''] models_to [''int2''] [''int3'']
 
| p1t        = [''int1'']
 
| p1t        = [''int1'']
| p1d        = Gang index
+
| p1d        = [[Gang#Vice City|Gang index]]
 
| p2t        = [''int2'']
 
| p2t        = [''int2'']
 
| p2d        = Valid model index as defined in the [[PEDS|PEDS section]] of the [[IDE]] file; also acceptable is model's [[DFF]] name with a hash character
 
| p2d        = Valid model index as defined in the [[PEDS|PEDS section]] of the [[IDE]] file; also acceptable is model's [[DFF]] name with a hash character
Line 12: Line 12:
 
}}
 
}}
  
This opcode sets the ped models of the gang. Without this opcode, the game uses the default ped models. [[009A#Special Peds|Special characters]] are allowed as the gang's ped models.
+
This opcode sets the ped models of the gang. Without this opcode, the game uses the default ped models. [[009A#Special Peds|Special characters]] are allowed as the gang's ped models. The settings are saved in [[Saves (GTA VC)#Block 13: Gangs|block 13 of the save file]] in Vice City.
  
 
== Keywords ==
 
== Keywords ==
 
set, gang, ped, character, models
 
set, gang, ped, character, models

Latest revision as of 07:01, 25 January 2017

Vice City SET_GANG_PED_MODELS


Description
Sets the ped models of the gang
Syntax
0235: set_gang [int1] models_to [int2] [int3]
Parameter
[int1]
Gang index
[int2]
Valid model index as defined in the PEDS section of the IDE file; also acceptable is model's DFF name with a hash character
[int3]
Valid model index as defined in the PEDS section of the IDE file; also acceptable is model's DFF name with a hash character

This opcode sets the ped models of the gang. Without this opcode, the game uses the default ped models. Special characters are allowed as the gang's ped models. The settings are saved in block 13 of the save file in Vice City.

Keywords

set, gang, ped, character, models