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 06-12-2001, 11:13 AM
Geovanie Legend Geovanie Legend is offline
Graunch Programmer
Geovanie Legend's Avatar
Join Date: May 2001
Location: Missouri
Posts: 931
Geovanie Legend is an unknown quantity at this point
Send a message via ICQ to Geovanie Legend Send a message via AIM to Geovanie Legend Send a message via MSN to Geovanie Legend Send a message via Yahoo to Geovanie Legend
Exclamation Lighting Effects

Ok my NPC scripter has a slight problem, he can't do lighting effects cause the game don't like his voodoo 2 card for some reason so could someone either post the script on here or send me a pm of how to make a lighting effect that makes it look like the light is coming in through the doorway?
Reply With Quote
  #2  
Old 06-12-2001, 11:20 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Smile ok for the npc

put the gif of the npc to

frolic_doorway.png

or it might be called

frolic_door_up.png

and tell me what color you want it to be (then I will tell you the code)
__________________
Thanks,
-KJL
Reply With Quote
  #3  
Old 06-12-2001, 02:11 PM
toad1413 toad1413 is offline
toad@graal:~$ ./Oldbie
Join Date: May 2001
Location: Aust.
Posts: 3,819
toad1413 is on a distinguished road
Send a message via ICQ to toad1413
Can you just post it here KJS? I would like to know too please.
__________________
Creator of the original 'spam' icon. Worst mistake I ever made on these forums.
Reply With Quote
  #4  
Old 06-12-2001, 08:50 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
I made a cool one...

For my pet shop on TOT I made one. Im willing to give the code away. no big secret or nutting. its just common sence really..

NPC Code:

if (created) {
this.x = 32 //X position of the light
this.y = 35 // Y position of the light
showimg 0,light2.png,this.x,this.y;
changeimgcolors 0,1,.89,.38,.99;
changeimgvis 0,1;
changeimgpart 0,48,0,32,64;
}



The only reason I didnt putt he #s directly on the showimg is so you could see where the X and y should go... That basicially it. not much work.
__________________

subliminal message: 1+1=3
Reply With Quote
  #5  
Old 06-12-2001, 09:36 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Quote:
Originally posted by toad1413
Can you just post it here KJS? I would like to know too please.
he pmed me...

and I sent him my way of making it...

I also knew how to make falados way... it is not that hard either way...

but it wasn't what he was looking for...

he wants something like this

|
|||
||||||
||||||||
||||||||||
||||||||||||
|||||||||||||||
|||||||||||||||||
|||||||||||||||||||

I told him he would have to make a gif for that...
humm I am going to test something mabie I can get it to work with light2.png...

I will post it if I get it to work...
__________________
Thanks,
-KJL
Reply With Quote
  #6  
Old 06-12-2001, 09:41 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Cool here

here I beleve this will work for what he is talking about

//#CLIENTSIDE
if (created) {
drawaslight;
setimgpart light2.png,60,30,32,32;
setcoloreffect .9,.8,0,.9;
dontblock;
}
__________________
Thanks,
-KJL
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 03:58 PM.


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