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 09-30-2006, 11:46 PM
wild8900 wild8900 is offline
Mr. Brightside
wild8900's Avatar
Join Date: Dec 2005
Posts: 418
wild8900 is an unknown quantity at this point
Send a message via MSN to wild8900
Motion Blur

How do people achieve motion blur on graal? For example, when you are drunk on zodiac. Im not asking for a script, I just want to know, how did they do it? Im thinking they took a screenshot and added alpha transparency then put it onto the screen.
__________________
Reply With Quote
  #2  
Old 10-01-2006, 12:18 AM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
i was told its a "bug" when setting tilelayers[0].alpha in a timeout
Reply With Quote
  #3  
Old 10-01-2006, 12:22 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
It's a "bug" when setting tilelayers[0].alpha to anything other than what it should be.
Reply With Quote
  #4  
Old 10-01-2006, 12:36 AM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
well i think the strength of the effect depends on to what you set it
i guess its 0 - 1
dunno whats the strongest though, i would guess 1 is the strongest
Reply With Quote
  #5  
Old 10-01-2006, 12:37 AM
wild8900 wild8900 is offline
Mr. Brightside
wild8900's Avatar
Join Date: Dec 2005
Posts: 418
wild8900 is an unknown quantity at this point
Send a message via MSN to wild8900
Thats it? Wow I was expecting some huge explanation and stuff. I want to test this out.

I tried this script but got no result
Quote:
//#CLIENTSIDE
if (created||timeout){
tilelayers[0].alpha=0.7;
timeout=0.05;
}
__________________
Reply With Quote
  #6  
Old 10-01-2006, 12:50 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Quote:
Originally Posted by wild8900 View Post
Thats it? Wow I was expecting some huge explanation and stuff. I want to test this out.

I tried this script but got no result
I think you might want to try GS2 :o

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
onTimeOut();
}

function 
onTimeOut() {
  
tilelayers[0].alpha 0.7;
  
setTimer(0.05);

__________________
Deep into the Darkness peering...
Reply With Quote
  #7  
Old 10-01-2006, 12:58 AM
wild8900 wild8900 is offline
Mr. Brightside
wild8900's Avatar
Join Date: Dec 2005
Posts: 418
wild8900 is an unknown quantity at this point
Send a message via MSN to wild8900
Gah GS2 doesnt like me.
Thanks man Ill try this.

EDIT: Still no luck. Btw, I placed it in a weapon npc, can that be the reason?

EDIT2: I was on a gmap.... so thats why it didnt work. Thanks for the help guys. <3
__________________
Reply With Quote
  #8  
Old 10-01-2006, 05:30 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Yea, contiga told me about this. I used it to create a stoner gas on Era, I had to re-name it though... Don't let pissy globals on your server, ever. :]
__________________
Reply With Quote
  #9  
Old 10-01-2006, 05:41 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
You don't need a timeout for it @ Angel_Light, wild8900.
Reply With Quote
  #10  
Old 10-01-2006, 09:35 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by xAndrewx View Post
Yea, contiga told me about this. I used it to create a stoner gas on Era, I had to re-name it though... Don't let pissy globals on your server, ever. :]
Hahhaha.. how'd you get it to work on gmaps =o?
Reply With Quote
  #11  
Old 10-01-2006, 09:46 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
timeouts...
__________________
Reply With Quote
  #12  
Old 10-01-2006, 10:26 PM
Galdor Galdor is offline
░▒▓██▓▒░
Galdor's Avatar
Join Date: Feb 2004
Posts: 2,434
Galdor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond repute
wow! just checked it out it looks great!
__________________
Links
Draenin's Villains
Draenin's Quests

My Albums
Quote:
Originally Posted by Unixmad
This forums is going worst each day.
Reply With Quote
  #13  
Old 10-02-2006, 12:17 AM
Zero Hour Zero Hour is offline
Stiff Upper Lip
Zero Hour's Avatar
Join Date: Oct 2006
Location: Nova Scotia, Canada
Posts: 0
Zero Hour is on a distinguished road
Send a message via AIM to Zero Hour
Quote:
Originally Posted by Galdor View Post
wow! just checked it out it looks great!
You should post a small sample/screen shot for those of us who don't have access to client
__________________
Reply With Quote
  #14  
Old 10-07-2006, 12:09 AM
wild8900 wild8900 is offline
Mr. Brightside
wild8900's Avatar
Join Date: Dec 2005
Posts: 418
wild8900 is an unknown quantity at this point
Send a message via MSN to wild8900
oh here, this is for those of you who havnt seen it before.
On this one I had a script that spins the screen in an oval motion.
Reply With Quote
  #15  
Old 10-07-2006, 12:24 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Whoa that's neat
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 11:01 AM.


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