Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-10-2003, 11:33 PM
Soul-Blade Soul-Blade is offline
US Marine
Soul-Blade's Avatar
Join Date: Jul 2001
Location: Coeur d'Alene, ID
Posts: 945
Soul-Blade is an unknown quantity at this point
Send a message via AIM to Soul-Blade
Light radius

I need the effect mode, and color settings to remove light from a light effect. Don't get this confused with light effects, which add light in order to make a lamp light effect...this is using a light effect to cancel out the light create with set effect, creating a normal light area within the radius (I made that way to complicated x-x)

Take a look at the screen to visually see what I need to do (image edited in PSP)
Attached Thumbnails
Click image for larger version

Name:	graal.png
Views:	125
Size:	482.6 KB
ID:	23744  
Reply With Quote
  #2  
Old 05-11-2003, 01:27 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Hmmm, I would say just make two images, one with the circle, leave about 20 pixels out of each side filled with black. Then an image, doesn't matter the size, I would say 150x150 is fine.

Center the circle, then calculate how many times you'll have to draw the block image to fill the screen, don't overlay though. It would prove difficult, but can be done.
__________________
[signature]insert here[/signature]
Reply With Quote
  #3  
Old 05-11-2003, 03:02 AM
Androk Androk is offline
Registered User
Androk's Avatar
Join Date: Apr 2003
Posts: 614
Androk is on a distinguished road
Create a hole effect and then cancel it out with a white circle around the player, which is just a normal light effect:

NPC Code:

seteffectmode 2;
seteffect .5,.5,.5,.1;

showimg 0, circle.png,screenwidth/2-(circlewidth/2),screenhieght-(circlehieght/2);
changeimgcolors 0,.5,.5,.5,.1;
changeimgvis 0, 4;



That should work x.X
__________________

Name: Androk
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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:20 AM.


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