Garry's Mod

Garry's Mod

[E2] SpriteCore
 Toto téma bylo přilepeno, takže je nejspíš důležité
N!kO  [vývojář] 3. pro. 2016 v 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.
Naposledy upravil N!kO; 3. pro. 2016 v 6.54
< >
Zobrazuje se 12 z 2 komentářů
there a way i can take a scale of a sprite and make it longer? or do i need more sprites?
SANDERS původně napsal:
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!
< >
Zobrazuje se 12 z 2 komentářů
Na stránku: 1530 50