Difference between revisions of "03AD"
Jump to navigation
Jump to search
(Created page with '{{OpCode | ini = 03ad=1,set_rubbish %1b:visible/invisible% | description = Enables rubbish (like flying newspapers), on streets. | p1 = integer value (0/1) | gam…') |
(rewrite) |
||
Line 1: | Line 1: | ||
− | {{ | + | [[File:03AD.jpg|thumb|250px|Rubbish in Vice City]] |
− | + | {{Icon|3}} {{Icon|VC}} '''SWITCH_RUBBISH''' | |
− | | | + | <hr /> |
− | + | <onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| | |
− | + | '''Description''' | |
− | + | : Switches the visibility of rubbish | |
+ | '''Syntax''' | ||
+ | : 03AD: set_rubbish [''int''] | ||
+ | '''Parameter''' | ||
+ | : [''int''] | ||
+ | :: 0 = hide rubbish, 1 = show rubbish | ||
− | + | This opcode switches the visibility of rubbish, which includes newspapers and leaves that fly around the environment on the ground. When rubbish is switched off, rubbish will slowly fade out of view, and when switched on will fade into view. The rubbish uses textures from the <code>particle.txd</code> file: <code>gameleaf01_64</code>, <code>gameleaf02_64</code>, <code>newspaper01_64</code>, <code>newspaper02_64</code>. Rubbish is switched on by default. In Vice City, texture <code>newspaper02_64</code> is switched off by default. Use opcode [[055A]] to switch the texture on. | |
+ | }}</onlyinclude> | ||
− | + | == Keywords == | |
+ | set, toggle, trash, leaf, leaves, newspaper, newspapers | ||
− | + | [[Category:OpCodes]] | |
− |
Latest revision as of 01:33, 12 February 2012
Description
- Switches the visibility of rubbish
Syntax
- 03AD: set_rubbish [int]
Parameter
- [int]
- 0 = hide rubbish, 1 = show rubbish
This opcode switches the visibility of rubbish, which includes newspapers and leaves that fly around the environment on the ground. When rubbish is switched off, rubbish will slowly fade out of view, and when switched on will fade into view. The rubbish uses textures from the particle.txd
file: gameleaf01_64
, gameleaf02_64
, newspaper01_64
, newspaper02_64
. Rubbish is switched on by default. In Vice City, texture newspaper02_64
is switched off by default. Use opcode 055A to switch the texture on.
Keywords
set, toggle, trash, leaf, leaves, newspaper, newspapers