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 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
  #16  
Old 10-07-2006, 01:23 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Funny how scripts can be made awesome due to a scripting error/bug.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #17  
Old 10-07-2006, 09:12 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
I wonder how people thought of this. Maybe someone was bored and decided to see if they can set the alpha of of the tile layers. Who was the first to find this "bug"?
Reply With Quote
  #18  
Old 10-07-2006, 04:26 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It's not a bug The alpha value is for making upper tile layers transparent (tile layer support is not finished yet). You can also change red/green/blue, or x/y for moving the ground without moving objects. For gmaps may be you can use player.gmap.tilelayers
Reply With Quote
  #19  
Old 10-07-2006, 05:23 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Stefan View Post
For gmaps may be you can use player.gmap.tilelayers
Interesting idea
Reply With Quote
  #20  
Old 10-08-2006, 01:11 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
Quote:
It's not a bug The alpha value is for making upper tile layers transparent (tile layer support is not finished yet). You can also change red/green/blue, or x/y for moving the ground without moving objects. For gmaps may be you can use player.gmap.tilelayers
Oh, thats cool, Ill have to lay with that a bit!
Reply With Quote
  #21  
Old 10-08-2006, 01:29 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
I am still very eager to see a screen shot of this
__________________
Reply With Quote
  #22  
Old 10-08-2006, 02:04 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
Quote:
Originally Posted by Zero Hour View Post
I am still very eager to see a screen shot of this
Your dreams have come true (a few posts ago)
http://img247.imageshack.us/my.php?i...eenshotoo3.jpg
Reply With Quote
  #23  
Old 10-08-2006, 03:19 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 excaliber7388 View Post
Your dreams have come true (a few posts ago)
http://img247.imageshack.us/my.php?i...eenshotoo3.jpg
Sorry to have missed that - looks really cool. I can think of some really neat "tunnel vision" things to do with it
__________________
Reply With Quote
  #24  
Old 10-08-2006, 09:12 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Hmm..
When I change the x or y of it, I'm not blocked by any tiles.
Is that normal?
Reply With Quote
  #25  
Old 10-08-2006, 09:49 PM
Chris Chris is offline
:pluffy:
Chris's Avatar
Join Date: Jan 2005
Location: im n ur comp, takn up pixelz
Posts: 1,867
Chris is on a distinguished road
Quote:
Originally Posted by Zero Hour View Post
Sorry to have missed that - looks really cool. I can think of some really neat "tunnel vision" things to do with it
I thought you saw that on Era before? Andy added gas shells/tear gas npcs that did that very same thing months ago.
__________________
Reply With Quote
  #26  
Old 10-08-2006, 09:53 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
Quote:
Originally Posted by Chris View Post
I thought you saw that on Era before? Andy added gas shells/tear gas npcs that did that very same thing months ago.
__________________
Reply With Quote
  #27  
Old 10-09-2006, 01:42 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Quote:
Originally Posted by Yen View Post
Hmm..
When I change the x or y of it, I'm not blocked by any tiles.
Is that normal?
Normally it is only changing the display of the tiles, the blocking behaviour should stay the same
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 09:46 PM.


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