AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Entity has transparent sprite? (https://forums.alliedmods.net/showthread.php?t=20192)

LynX 11-03-2005 11:27

Entity has transparent sprite?
 
Right.

I spawn some entity and give it a sprite. But it always has those blak edges. So is it possible to make that sprite transparent or smthing? Thnx.

v3x 11-03-2005 11:32

set_rendering?

LynX 11-03-2005 11:50

0o

I'm gonna try, thx

Zenith77 11-03-2005 12:22

Do this...



Code:
entity_set_int(ent , EV_INT_rendermode, 5)

cTn 11-03-2005 12:34

u make a special sprite? or? i was wondering wwhat u dooing ...

LynX 11-03-2005 13:20

default sprite 0o

haimmaik 11-03-2005 13:59

i think the under command is the visability
Code:
entity_set_int(ePlasmaBall, EV_INT_rendermode, 5)//randermode entity_set_float(ePlasmaBall, EV_FL_renderamt, 255.0)//visable

cTn 11-03-2005 14:01

u mean with entity a picture? somewhere on map ? m englis is not that good .. can u post a screenshot? what u make?


All times are GMT -4. The time now is 00:02.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.