I made a unit that has a couple attachments. When I send an opacity change to the main unit actor through events (i.c. set opactiy....) the main unit and attachments both change to the same opacity, but the shadow of the attachment is normal and dark while the main shadow has faded due to the opactiy. This makes the unit look weird....
I've tried playing with the inherit properties etc.... I've tried turning off the core model shadows (low quality blobs I mean, though I'm not using low visual settings). I've tried playing with about every field I could that would impact it. I've sent change opacity events in the attachment actors....
I've tried a lot of things, all of which seem to not work.
Does anyone have any insight on how to control opacity change of both the actor model & shadow?
(I changed another units opacity and both the main unit and attachment unit shadows are dark, while the models have faded, how can i fade or control the fade of the shadows in relation to opacity change?)
What I'm wanting is to change the opacity to fade for both the visual actor units and shadows simultaneously.
Hope you can help!
If life's a bitch, better make everyday your wife!!
Under the Properties: Inherited Properties field the Cast Shadow and Opacity flags should do it. Make sure all the attachments have those enabled.
Contribute to the wiki (Wiki button at top of page)
Considered easy altering of the unit textures?
For my public assets look here!
I did that. Ive messed with this thing then after 20 mins I move on and come back to it. I tried playing with it again today, and it seems its the model itself from what i can tell. The model that the shadow is not changing with opacity is "infestedterranspawnmissile" (basic green egg thingy). I swapped it out with just the model with the main unit model and they all followed the opacity.
So I used the same actor and attachments etc... I only changed the model "Art: Model blahblahblah" under the model tab. So without changing any variable / settings the shadows opacity works with some models and not with others.
This makes me wonder if its something like the emissive layers etc... (one of those obscure model texture layers etc...)
Alas I'm no good with custom model editing, heck I can hardly manage to get a texture to swap in game let alone pull a model out, edit it properly and put it back in....
If any model gurus are out there I imagine this is a problem best explained by one of you at this point. I thought this was data, but Ill make this post in the model forum as well.
Thanks for the reply (ive played with all those "cast shadow" inherit properties etc... settings on every tab I could find originally....)
Further info ascertained;
I play with my graphics on ULTRA. Cause I'm like that. I like to make maps pretty. Ultra is the only setting that allows for transparent shadows. Anything with less than ultra shadow settings will show a straight dark shadow for everything all the time, or the blob for low quality. These settings work as they are intended, at least for my purposes.
When shadow settings are on ultra, and if i attach the same unit model to itself, the shadows transparency works correctly, (from my post above I had trialed and used identical models as attachements, so its not JUST that model, its ANYTHING OTHER than the base actor model it seems) but if the attachment is another type of model, the shadow always stays dark and doesn't fade with the base actor units opactiy / base unit shadow opacity.
So, it's not a modeling thing / texture thing. Maybe im thinking my attachment doesnt have a host field or something set up appropriately to link the shadow opacity????
Heres what im using;
Main actor; UNIT - GENERICUNITBASE for brutalisk actor
in the events i use a 'actor created - create actor BLAHBLAH"
the attachment is set up as a MODEL MODELANIMATIONSTYLECONTINUOUS for attachment w/ hostsiteoperations ->attach BLAHBLAH
Dr Supergood, its gonna take one of the attachment / editor gurus to understand this one, as i think its a problem rarely noticed / occuring as opacity with attachments on ultra shadow settings are not something people use in every map.
In the meantime ill just stick to high graphic settings unless I can figure it out. Not a bad thing i spose, most people on bnet probably have it on high or medium anyways as the sloppy maps make so much lag. The lighting sure does look nice on ultra settings though.... :(
Tried the Art: Shadow Radius field of the Models data type?
yeah, though I'm not trying to change the size of the shadow or make it appear / dissappear, just to alter the opacity. But i hear ya, when in doubt, change a field... hah
You must login to post a comment. Don't have an account? Register to get one!