Garry's Mod

Garry's Mod

[E2] SpriteCore
 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
N!kO  [kehittäjä] 3.12.2016 klo 6.47
Documentation
SpriteCore Console Commands:
Command
Default
Description
wire_spritecore_max
100
Max number of sprites allowed.
wire_spritecore_maxscale
16
Limits the scale of the spawned sprites.


SpriteCore Functions:
Function
Return
Description
spriteList()
Prints on chat the list of avaliable sprites.
spriteRList()
Prints on chat the list of avaliable render modes.
spriteSpawn(N)
E
Creates a Sprite and assigns it to the given index.
spriteSpawn(N,S)
E
Requires Sprite Texture Path (S)
spriteSpawn(N,S,V)
E
Requires Position (V)
spriteSpawn(N,S,V,V)
E
Requires Color (V)
spriteSpawn(N,S,V,V,N)
E
Requires Alpha (N)
spriteSpawn(N,S,V,V,N,N)
E
Requires Scale (N)
spriteSpawn(N,S,V,V,N,N,E)
E
Requires Parent Entity (E)
spriteSpawn(N,S,V,V,N,N,E,N)
E
Requires Render Mode (N)
spriteSpawn(N,S,V,V,N,N,E,N,N)
E
Requires Framerate (N)
spriteEnable(N,N)
Enables/Disables the sprite at the given index.
spriteSetPos(N,V)
Sets the position of the sprite at the given index.
spriteSetColor(N,V)
Sets the color of the sprite at the given index.
spriteSetAlpha(N,N)
Sets the opacity of the sprite at the given index. (0-255)
spriteSetScale(N,N)
Sets the scale of the sprite at the given index.
spriteSetParent(N,E)
Sets the parent of the sprite at the given index.
spriteSetRendermode(N,N)
Sets the rendermode of the sprite at the given index. See spriteRList()
spriteSetFramerate(N,N)
Sets the framerate of the sprite at the given index.
Viimeisin muokkaaja on N!kO; 3.12.2016 klo 6.54
< >
Näytetään 1-2 / 2 kommentista
there a way i can take a scale of a sprite and make it longer? or do i need more sprites?
SANDERS lähetti viestin:
there a way i can take a scale of a sprite and make it longer? or do i need more sprites?
Same. Need this function!
< >
Näytetään 1-2 / 2 kommentista
Sivua kohden: 1530 50