Quote:
Originally Posted by cbk1994
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.