-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paratroopers have 2 shadows #7603
Comments
Is one of them for the parachute? |
I'd wager the upper one is from the rifleman and the bottom one is the parachute. The logical solution is to not have it draw shadows for infantry while they are being paradropped. |
No, both shadows are for the rifleman. One is the shadow inside the e1.shp (the one on its feet), one is a separate shadow image at ground level for paradropped units.
Agreed, or even better, this should be toggle-able at yaml level for any actor. This is the part that no one has bothered to deal with yet. |
Had a look at supporting this at the yaml layer; one idea is to have a "WithoutShadow" trait. As mentioned though, the shadow itself is baked in to the asset. Is there any way of multiplying it out? So call ".Except()" across a few of the palettes. Feels hacky though. Is there a better way? |
A hackish - however more feasible - approach could be to duplicate the frame without shadow into a new SHP, include it and upgrade WithInfantryBody to WithSpriteBody with the parachute upgrade. |
Present in release-20190314. |
The text was updated successfully, but these errors were encountered: