0243

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City SET_CHAR_PERSONALITY


Description
Sets the ped stat of the character
Syntax
0243: set_actor [char handle] ped_stats_to [int]
Parameter
[char handle]
The handle of the character
[int]
Ped stat (see below)

This opcode sets the ped stat of the character. The ped stat value corresponds to the line number (starting with 0) in the pedstats.dat file. The original scripts of GTA III and Vice City primarily used "tough guy" and "geek guy" throughout them.

Ped stats

Ped stat Games Enum[1]
0 GTA III Vice City PEDSTAT_PLAYER
1 GTA III Vice City PEDSTAT_COP
2 GTA III Vice City PEDSTAT_MEDIC
3 GTA III Vice City PEDSTAT_FIRE
4 GTA III Vice City PEDSTAT_GANG1
5 GTA III Vice City PEDSTAT_GANG2
6 GTA III Vice City PEDSTAT_GANG3
7 GTA III Vice City PEDSTAT_GANG4
8 GTA III Vice City PEDSTAT_GANG5
9 GTA III Vice City PEDSTAT_GANG6
10 GTA III Vice City PEDSTAT_GANG7
11 GTA III Vice City PEDSTAT_STREET_GUY
12 GTA III Vice City PEDSTAT_SUIT_GUY
13 GTA III Vice City PEDSTAT_SENSIBLE_GUY
14 GTA III Vice City PEDSTAT_GEEK_GUY
15 GTA III Vice City PEDSTAT_OLD_GUY
16 GTA III Vice City PEDSTAT_TOUGH_GUY
17 GTA III Vice City PEDSTAT_STREET_GIRL
18 GTA III Vice City PEDSTAT_SUIT_GIRL
19 GTA III Vice City PEDSTAT_SENSIBLE_GIRL
20 GTA III Vice City PEDSTAT_GEEK_GIRL
21 GTA III Vice City PEDSTAT_OLD_GIRL
22 GTA III Vice City PEDSTAT_TOUGH_GIRL
23 GTA III Vice City PEDSTAT_TRAMP_MALE
24 GTA III Vice City PEDSTAT_TRAMP_FEMALE
25 GTA III Vice City PEDSTAT_TOURIST
26 GTA III Vice City PEDSTAT_PROSTITUTE
27 GTA III Vice City PEDSTAT_CRIMINAL
28 GTA III Vice City PEDSTAT_BUSKER
29 GTA III Vice City PEDSTAT_TAXIDRIVER
30 GTA III Vice City PEDSTAT_PSYCHO
31 GTA III Vice City PEDSTAT_STEWARD
32 GTA III Vice City PEDSTAT_SPORTSFAN
33 GTA III Vice City PEDSTAT_SHOPPER
34 GTA III Vice City PEDSTAT_OLDSHOPPER
35 Vice City PEDSTAT_BEACH_GUY
36 Vice City PEDSTAT_BEACH_GIRL
37 Vice City PEDSTAT_SKATER
38 Vice City PEDSTAT_STD_MISSION
39 Vice City PEDSTAT_COWARD
  1. ^ Enums for GTA III are inferred from Vice City's enums.

Keywords

set, actor, character, ped, stat, stats, pedstats, personality