0243

From GTAMods Wiki
Revision as of 04:13, 9 January 2015 by Spaceeinstein (talk | contribs) (page updates + named values)
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 value

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.

List of ped stats

GTA III

Value Enum
14 PEDSTAT_GEEK_GUY
16 PEDSTAT_TOUGH_GUY

Vice City

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

Keywords

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