Difference between revisions of "00D8"

From GTAMods Wiki
Jump to navigation Jump to search
(035B)
Line 36: Line 36:
 
|-
 
|-
 
|clear help box || [[03E6]]
 
|clear help box || [[03E6]]
 +
|-
 +
|remove all drop-off packages || [[035B]], only in a thread [[03A4|named]] "love3"
 
|-
 
|-
 
|freeze onscreen timer set to 0 || [[0396]]
 
|freeze onscreen timer set to 0 || [[0396]]

Revision as of 23:02, 7 February 2015

GTA III Vice City San Andreas MISSION_HAS_FINISHED


Description

Mission cleanup

Syntax

00D8: mission_cleanup

Parameter

none

This opcode resets ("cleans up") multiple settings that are usually set during missions and in some threads. This helps in getting the game back to "normal" without the need to keep track of multiple settings. This opcode will only be activated if it is within a thread created by 00D7[1] or within a mission. It will not work elsewhere.

GTA III

Effect Related opcode
force random ped type set to -1 03DF
ped density multiplier set to 1.0 03DE
car density multiplier set to 1.0 01EB
wanted multiplier set to 1.0 03C7
restore camera 015A
unload four special characters 0296
streaming set to 0 03AF
flash hud object set to -1 03E7
clear help box 03E6
remove all drop-off packages 035B, only in a thread named "love3"
freeze onscreen timer set to 0 0396

Vice City

Effect Related opcode
force random ped type set to -1 03DF
enter car range multiplier set to 1 0481
car density multiplier set to 1.0 01EB
threat reaction range multiplier set to 1 0482
ped density multiplier set to 1.0 03DE
wanted multiplier set to 1.0 03C7
remove all script roadblocks 04C1
remove all routes 03AC
restore camera 015A
widescreen set to 0 02A3
white scanline set to 0 0507
green scanline set to 0 04C7
clear extra colors 04FA
clear two mission audios 040D
release weather 01B7
unload 21 special characters 0296
streaming set to 0 03AF
flash hud object set to -1 03E7
clear help box 03E6
freeze onscreen timer set to 0 0396
remove 16 texture dictionaries 0391
police ignore player set to 0 01F7
everyone ignore player set to 0 03BF
player control set to 1 01B4
drunk visuals set to 0 052C
player drunkenness set to 0 03FD
player can do drive by set to 1 0501
shut player up set to 0 04E2
rc detonate on contact set to 0 04D6
rc detonation set to 0 048A
clear taxi shortcut 0557
riot intensity set to 0 0552

San Andreas

Effect Related opcode
car density set to 1.0 01EB
ped density set to 1.0 03DE
gang spawn set to 1 08EA
unknown_gang_war set to 1 0983
police patrols set to 1 099E
destroys scripted trains 06D8

Notes

  • ^ it's only valid in mission scripts of GTA 3 and GTA VC. In San Andreas a thread created with 00D7 acts as a common thread created with 004F.

External links