View Single Post
  #98  
Old 08-27-2005, 09:43 PM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally Posted by Bl0nkt
It's a code used to create light effects in ganis. You have to open it in a .txt form and enter the sprite index you want to add light effects to.

Those black circles on the sabre that you see are light effects before they are light effects. The white part of the circle is the brightest part and the dark spots are the less light parts. It runs on a channel known as Alpha (the A in R G B A).

The code is COLOREFFECT INDEX COLOR COLOR COLOR ALPHA. The problem is that I don't know the order of the colors. When I was making these ganis, I made it

COLOREFFECT INDEX RED GREEN BLUE ALPHA

, but apparently that's wrong.

i,R,G,B,A is correct.... It's always RGB. And Alpha is at the end, and the index comes before all of that.

Quote:
Originally Posted by newfeatures2001.txt
- COLOREFFECT 20 1 1 0 0.99
-> sprite_index red green blue alpha
sets the alpha transparency / colors for the sprite
Reply With Quote