Lua Request
Moderator: Moderators
Lua Request
I've tweaked the blobshadow widget so that all units have basic shadows (very nice because I get >15 fps with real shadows enabled). The next best thing to happen would be for projectiles to cast a similar basic shadow.
Last edited by Sheekel on 01 Oct 2007, 16:54, edited 1 time in total.
Re: Lua Question
How and screenshot?Sheekel wrote:Is it possible to have lua interact with projectiles?
I've tweaked the blobshadow widget so that all units have basic shadows
The blobshadow widget gives all air units a basic blob shadow. All I did was change it so that the same shadow was for all units, not just the aircraft.
It certainly doesnt compare to the current shadow system, its just a grey blob below the units. But its better than nothing and doesnt seem to affect frame rate.
It certainly doesnt compare to the current shadow system, its just a grey blob below the units. But its better than nothing and doesnt seem to affect frame rate.
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
It is bundled with the unit height prebuffering collection (here) and it is new ca svn.clericvash wrote:That is why i am interested, it is still a leap for people who want shadows with a crap graphics card.
(also my intention wasn't to replace the shadow system, blobshadows give only a much better way to see the height of aircraft that's why it is limited to it in my version)
One thing im interested in is resising them for the size of the unit. The teamplatter widget already does this, its just a matter of changing them from a huge platter to a small shadow.
Another cool thing would be to have multiple shadow images (the widget works by projecting a transparent texture below the unit) for different units. A circle for units, a square for buildings. For buildings it would be neat if you could somehow detect the angle of the sun from the .smf and offset all the building shadows a little bit in the opposite direction of the sun.
As you can see, its pretty basic. I run spring at 1024x768, all minimum settings except for ground decals. All boxes unchecked except of course for LUA.

Another cool thing would be to have multiple shadow images (the widget works by projecting a transparent texture below the unit) for different units. A circle for units, a square for buildings. For buildings it would be neat if you could somehow detect the angle of the sun from the .smf and offset all the building shadows a little bit in the opposite direction of the sun.
As you can see, its pretty basic. I run spring at 1024x768, all minimum settings except for ground decals. All boxes unchecked except of course for LUA.
