View Single Post
  #1  
Old 11-04-2008, 11:41 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by cbk1994 View Post
It might be possible to have a weapon script that edits the tilelayers on clientside, and sets the transparency. I might try that later.
Of course it is, but Rufus said in a way that doesn't lag like hell, meaning a hard-coded method would be preferred over anything scripted. A filter is easily done by script.

Ideally you would specify a layer as a filter layer and provide an image to do it, then you would specify which tiles the filter would be drawn over, like grass tiles and such. Then Graal would apply the filter only over tiles that are in the allowed list, that way doesn't cover things like houses and paths and you wouldn't have to treat the filter as if it was another tile layer by manually placing them over the grass and such.

Better layering support could really allow for some awesome effects.
__________________
Reply With Quote