Difference between revisions of "00D8"

From GTAMods Wiki
Jump to navigation Jump to search
(San Andreas)
Line 1: Line 1:
 
{{research}}
 
{{research}}
{{OpCode
+
{{Icon|trilogy}} '''MISSION_HAS_FINISHED'''
| ini        = 00D8=0,
+
<hr />
| description = Mission cleanup
+
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
'''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]] or within a [[Create a mission|mission]]. It will not work elsewhere.
 
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]] or within a [[Create a mission|mission]]. It will not work elsewhere.
 +
}}</onlyinclude>
  
 
==Vice City==
 
==Vice City==
{|{{Prettytable}} class="sortable"
+
{| class="wikitable sortable"
 
!Effect
 
!Effect
 
!Related opcode
 
!Related opcode
 
|-
 
|-
|car density set to 1.0 || [[01EB]]
+
|force random ped type set to -1 || [[03DF]]
 +
|-
 +
|car density multiplier set to 1.0 || [[01EB]]
 +
|-
 +
|ped density multiplier set to 1.0 || [[03DE]]
 
|-
 
|-
|ped density set to 1.0 || [[03DE]]
+
|wanted multiplier set to 1.0 || [[03C7]]
 
|-
 
|-
 
|remove police roadblock || [[04C1]]
 
|remove police roadblock || [[04C1]]
Line 27: Line 37:
 
|-
 
|-
 
|reset sky colors || [[04FA]]
 
|reset sky colors || [[04FA]]
 +
|-
 +
|clear two mission audios || [[040D]]
 
|-
 
|-
 
|release weather || [[01B7]]
 
|release weather || [[01B7]]
 
|-
 
|-
|flash hud set to -1 || [[03E7]]
+
|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 text box || [[03E6]]
+
|police ignore player set to 0 || [[01F7]]
 
|-
 
|-
|pause timer set to 0 || [[0396]]
+
|everyone ignore player set to 0 || [[03BF]]
 
|-
 
|-
|unfrozen state set to 1 || [[01B4]]
+
|player control set to 1 || [[01B4]]
 
|-
 
|-
 
|drunk visuals set to 0 || [[052C]]
 
|drunk visuals set to 0 || [[052C]]
Line 43: Line 63:
 
|-
 
|-
 
|drive by mode set to 1 || [[0501]]
 
|drive by mode set to 1 || [[0501]]
 +
|-
 +
|rc contact detonation set to 0 || [[04D6]]
 +
|-
 +
|rc detonation set to 0 || [[048A]]
 +
|-
 +
|riot noise set to 0 || [[0552]]
 
|}
 
|}
 
==San Andreas==
 
==San Andreas==
{|{{Prettytable}} class="sortable"
+
{| class="wikitable sortable"
 
!Effect
 
!Effect
 
!Related opcode
 
!Related opcode
Line 65: Line 91:
 
* {{GTAF|post|107998|1059813730|Vice City's cleanup routine}}
 
* {{GTAF|post|107998|1059813730|Vice City's cleanup routine}}
 
* [http://gtag.gtagaming.com/forums/index.php?showtopic=311 San Andreas' cleanup routine]
 
* [http://gtag.gtagaming.com/forums/index.php?showtopic=311 San Andreas' cleanup routine]
 +
 +
[[Category:OpCodes]]

Revision as of 10:53, 11 March 2012

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 or within a mission. It will not work elsewhere.

Vice City

Effect Related opcode
force random ped type set to -1 03DF
car density multiplier set to 1.0 01EB
ped density multiplier set to 1.0 03DE
wanted multiplier set to 1.0 03C7
remove police roadblock 04C1
restore camera 015A
widescreen set to 0 02A3
white scanline set to 0 0507
green scanline set to 0 04C7
reset sky 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
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
handling responsiveness set to 0 03FD
drive by mode set to 1 0501
rc contact detonation set to 0 04D6
rc detonation set to 0 048A
riot noise 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

External links