Graal Forums  

Go Back   Graal Forums > Development Forums > Gani Construction
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-10-2003, 07:04 PM
bashjgovers bashjgovers is offline
Registered User
Join Date: Aug 2003
Posts: 31
bashjgovers is on a distinguished road
Lightbulb lights

ive got a question

how do i use lights in ganis?
Reply With Quote
  #2  
Old 08-10-2003, 07:51 PM
Dude6252000 Dude6252000 is offline
More often known as Karsh
Dude6252000's Avatar
Join Date: May 2002
Location: USA.
Posts: 2,603
Dude6252000 is on a distinguished road
Send a message via AIM to Dude6252000
*snaps* Kai. I need to know the commands to make things appear as lights.

For now, though, add in the sprite you want to be a light in the appropriate(sp, half asleep) places, and once Kai tell you how to script it to be a light, then it should work IN GAME ONLY. It doesn't show as a light in graalshop.
__________________
BEING AWAY FROM THE FORUMS RULES

http://www.livejournal.com/users/karsheth/
Reply With Quote
  #3  
Old 08-10-2003, 09:52 PM
bashjgovers bashjgovers is offline
Registered User
Join Date: Aug 2003
Posts: 31
bashjgovers is on a distinguished road
i mean like the flashlight in era, light in ganis. I wanna make flashlights, torches etc
Reply With Quote
  #4  
Old 08-10-2003, 10:13 PM
Myomoto Myomoto is offline
Hollow
Myomoto's Avatar
Join Date: May 2003
Location: Nowhere
Posts: 2,689
Myomoto is on a distinguished road
Send a message via AIM to Myomoto Send a message via MSN to Myomoto
He just said it :o
Reply With Quote
  #5  
Old 08-10-2003, 10:25 PM
faenix faenix is offline
Registered User
Join Date: Jul 2003
Posts: 56
faenix is on a distinguished road
newfeatures2002.txt

Quote:
- there is now support for real transperency:
seteffectmode mode;
changeimgmode index,mode;
EFFECTMODE sprite mode (gani file command)

The command seteffectmode can be used to change
the way the npc image is drawn when using the
setcoloreffect red,green,blue,alpha; command (alpha<1):
by default the image colors are added to the graphics
below, with the intensity of 'alpha', which makes the
image appear like a light since it is making the
graphics below appear more bright; now there are different
modes:
0 - lights (colors are added, alpha specifies intensity)
1 - transparency (alpha specifies how much visible)
2 - holes (colors are subtracted)
Add this code to the script section of the gani and you have a light. If you need an example, go into your ganis folder and open angel.gani with notepad and look at the scripting.
__________________
In a mad world, only the mad are sane.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.