Difference between revisions of "03AF"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 03af=1,set_streaming %1b:enabled/disabled% | description = This opcode enables/disables streaming of peds, cars and maps. | p1 = value (0/1) |…')
 
m (wiki links)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''SWITCH_STREAMING'''
| ini        = 03af=1,set_streaming %1b:enabled/disabled%
+
<hr />
| description = This opcode enables/disables streaming of peds, cars and maps.
+
'''Description'''
| p1          = value (0/1)
+
: Sets the streaming of models
| game        = [[GTA III]], [[Vice City]], [[San Andreas]]
+
'''Syntax'''
}}
+
: 03AF: set_streaming [''int'']
 +
'''Parameter'''
 +
: [''int'']
 +
:: 0 = off, {{hint|1|or any value other than 0}} = on (default)
  
== Sanny Builder example ==
+
This opcode sets the streaming of additional [[model]]s like peds, cars, and maps. The opcode is primarily used during [[cutscene]] setups, most likely to prioritize the explicit loading of models for cutscenes. In Vice City, setting this to 0 will treat the map as if the player has not moved from the spot where the opcode was called. Traveling further away from the spot will not load the map, showing [[LOD]] models and allowing you to fall through the map. Any ped and car models not loaded beforehand will not be loaded, in effect diminishing the variety of peds and cars that spawn naturally in the streets.
  
<source lang="scm">03AF: set_streaming 1 </source>
+
== Keywords ==
 +
stream, streaming
  
==Keywords==
+
[[Category:OpCodes]]
stream, streaming
 

Latest revision as of 12:18, 1 January 2015

GTA III Vice City San Andreas SWITCH_STREAMING


Description

Sets the streaming of models

Syntax

03AF: set_streaming [int]

Parameter

[int]
0 = off, 1 = on (default)

This opcode sets the streaming of additional models like peds, cars, and maps. The opcode is primarily used during cutscene setups, most likely to prioritize the explicit loading of models for cutscenes. In Vice City, setting this to 0 will treat the map as if the player has not moved from the spot where the opcode was called. Traveling further away from the spot will not load the map, showing LOD models and allowing you to fall through the map. Any ped and car models not loaded beforehand will not be loaded, in effect diminishing the variety of peds and cars that spawn naturally in the streets.

Keywords

stream, streaming