Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Knight and Mysteries of the Sith Editing Forum → sprites
sprites
2001-06-04, 6:02 PM #1
I havent seen any transluecent sprites, so Im assuming JK doesnt allow them. Why is it you can have a transluecent mat but not a sprite?
2001-06-04, 6:43 PM #2
Dunnno , sprites arn't amde to be trancluent ... just put the sprite on a small thin wall 3do and set it to Tranculent
2001-06-05, 6:03 AM #3
Ok, thanks. Then could that 3do be set to always face single player head on with a cog or something? Or maybe it would be a little slow in repositioning its orientation if you move quick.
2001-06-05, 6:50 AM #4
Quite easy to do with cog actually: (The repositioning, not the Translucency)

Code:
symbols

thing       transsprite

int           player	                 local

message  startup               local
message  pulse                   local

end
code

startup:
    player=GetLocalPlayerThing();
    SetPulse(0.001);

return;

pulse:

     SetThingLook(transsprite, VectorSub(GetThingPos(transsprite), GetThingPos(player)));

return;

end


------------------
LordVirus: His pot is blacker than his kettle!

Visit Virus Productions!
"And lo, let us open up into the holy book of Proxy2..." -genk
His pot is blacker than his kettle!
2001-06-05, 10:04 AM #5
Actually I think sprites can be made translucent.

Below is an example SPR file:

Code:
#material   type  width  height  geo  light  tex  extralight  xoff  yoff  zoff
debrisx.mat 0     0.05   0.05    4    0      0    0.0         0.0   0.00  0.0


Now to make this sprite translucent change the type to 2. I'm 99.9% sure this will work.
Member since March 4, 2000.
R.I.P. MaDaVentor - You are greatly missed.

↑ Up to the top!