Difference between revisions of "038F"

From GTAMods Wiki
Jump to navigation Jump to search
(page rewrite)
Line 6: Line 6:
 
: 038F: load_texture "[''string'']" as [''int'']
 
: 038F: load_texture "[''string'']" as [''int'']
 
'''Parameter'''
 
'''Parameter'''
 +
: [''int'']
 +
:: Memory slot
 
: [''string'']
 
: [''string'']
 
:: The name of the texture
 
:: The name of the texture
: [''int'']
 
:: Memory slot
 
  
 
This opcode loads the texture from the texture dictionary loaded through opcode [[0390]] into the memory slot. Any upper case letters (A-Z) are converted to lower case by the game internally. Opcode [[038D]] is used to draw the texture onto the screen. This opcode was never called in the [[Main.scm|original script]] of GTA III and Vice City.
 
This opcode loads the texture from the texture dictionary loaded through opcode [[0390]] into the memory slot. Any upper case letters (A-Z) are converted to lower case by the game internally. Opcode [[038D]] is used to draw the texture onto the screen. This opcode was never called in the [[Main.scm|original script]] of GTA III and Vice City.

Revision as of 00:31, 20 November 2016

GTA III Vice City San Andreas LOAD_SPRITE


Description

Loads the texture

Syntax

038F: load_texture "[string]" as [int]

Parameter

[int]
Memory slot
[string]
The name of the texture

This opcode loads the texture from the texture dictionary loaded through opcode 0390 into the memory slot. Any upper case letters (A-Z) are converted to lower case by the game internally. Opcode 038D is used to draw the texture onto the screen. This opcode was never called in the original script of GTA III and Vice City.

Keywords

load, texture, txd, sprite