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 12-04-2007, 03:29 PM
Shakaraja Shakaraja is offline
Developer In Practice
Join Date: Oct 2007
Location: netherlands
Posts: 29
Shakaraja is on a distinguished road
none of those..
i meen like a special trail part of a person its like when u get hit on era with a bottle my a NPC in some quest thing then u go drunk or something like that,
then when u walk everything slowly fades like
instead of instant moving (---->) it goes trailed (----> ---> --> -> >)
do i need to create a video to show what i meen xD?
Reply With Quote
  #2  
Old 12-04-2007, 04:04 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
I know what you mean. You call that motion blur. Its actually a bug with the tile layers alpha value. Well, Stefan once said its not a bug, I still think it is. Basically, what you do is change the alpha value of the default tile layer.

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
tilelayers[0].alpha .5;
  
player.gmap.tilelayers[0].alpha .5;

It has to be set below 1 and above 0. How strong the motion blur is depends on the alpha value. Smaller = stronger.
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 04:51 AM.


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