Show only shadows
Post #2
UnholyUrine
Aug 19 2010, 5:47 pm
Post #3
payne
Aug 19 2010, 6:38 pm
Post #8 shmeeps Aug 19 2010, 7:33 pm
|
I tried it with a marine, but I only noticed a bit of distortion at the feed, where normally the shadow would meet the unit.
Edit: It's when you click above the unit and it runs over where the arrows show up on the ground, you can see the outline of the unit against it. That's what I was seeing. ![]() ![]() ![]() ![]() ![]() ![]() |
Post #9
payne
Aug 19 2010, 7:34 pm
|
Addicted to SEN Games -Add more!-
|
I think you could simply remove the model of the actual unit, not sure though. The best solution would be to make a custom model that is a shadow (so that even people playing on the lowest settings can see it) ![]() ![]() ![]() ![]() ![]() ![]() |
Post #11
HCM™DavidJCobb
Aug 20 2010, 4:27 am
|
↑ STUDENT DRIVER ↑
|
I don't know if SCII uses raytracing or realistic/dynamic shadows, but if it does and you use a shadow model, you'd need to either guarantee that the light will always come from one direction relative to the unit... or settle for a plain, late-90s-console-game-style circular shadow. I think.
![]() ![]() ![]() ![]() ![]() ![]() ░░░▒▒▒▓▓▓▓███▀▀░▄▄▄▄▄▄░▀▀███▓▓▓▓▒▒▒░░░ ░░▒▒▒▓▓▓████░▄██████████▄░████▓▓▓▒▒▒░░ ░▒▒▒▓▓▓████▐▀▀▀█████▀▀▀▀██▌████▓▓▓▒▒▒░ ░▒▒▓▓▓████▐░██░░███▌██░░░██░████▓▓▓▒▒░ ▒▒▒▓▓▓███▌▐░██▌░███▌███▌░██▌▐███▓▓▓▒▒▒ ▒▒▓▓▓████▌██▄▄▄▄████▄▄▄▄▄███▐████▓▓▓▒▒ ▒▒▓▓▓████▌██▀▀▀▀▀▀▀▀▀▀▀▀▀███▐████▓▓▓▒▒ ▒▒▓▓▓████▌███▌▓▒▓▒▓▒▓▒▒▒▌███▐████▓▓▓▒▒ ▒▒▒▓▓▓███▌▐██▌▒▓▒▓▒▒▒▒▒▒▌██▌▐███▓▓▓▒▒▒ ░▒▒▓▓▓████░███▐▒▓▒█████▌███░████▓▓▓▒▒░ ░▒▒▒▓▓▓████░▀██▄▀▀▀▀▀▀▄██▀░████▓▓▓▒▒▒░ ░░▒▒▒▓▓▓████▄░▀▀██████▀▀░▄████▓▓▓▒▒▒░░ ░░░▒▒▒▓▓▓▓█████▄▄▄▄▄▄▄▄█████▓▓▓▓▒▒▒░░░ |
Post #13
HCM™DavidJCobb
Aug 20 2010, 7:15 am
|
↑ STUDENT DRIVER ↑
|
I wonder if it might be possible to use a texture or shader on the model that renders as invisible but still casts shadows... Have you tried looking into altering the model's textures?
![]() ![]() ![]() ![]() ![]() ![]() ░░░▒▒▒▓▓▓▓███▀▀░▄▄▄▄▄▄░▀▀███▓▓▓▓▒▒▒░░░ ░░▒▒▒▓▓▓████░▄██████████▄░████▓▓▓▒▒▒░░ ░▒▒▒▓▓▓████▐▀▀▀█████▀▀▀▀██▌████▓▓▓▒▒▒░ ░▒▒▓▓▓████▐░██░░███▌██░░░██░████▓▓▓▒▒░ ▒▒▒▓▓▓███▌▐░██▌░███▌███▌░██▌▐███▓▓▓▒▒▒ ▒▒▓▓▓████▌██▄▄▄▄████▄▄▄▄▄███▐████▓▓▓▒▒ ▒▒▓▓▓████▌██▀▀▀▀▀▀▀▀▀▀▀▀▀███▐████▓▓▓▒▒ ▒▒▓▓▓████▌███▌▓▒▓▒▓▒▓▒▒▒▌███▐████▓▓▓▒▒ ▒▒▒▓▓▓███▌▐██▌▒▓▒▓▒▒▒▒▒▒▌██▌▐███▓▓▓▒▒▒ ░▒▒▓▓▓████░███▐▒▓▒█████▌███░████▓▓▓▒▒░ ░▒▒▒▓▓▓████░▀██▄▀▀▀▀▀▀▄██▀░████▓▓▓▒▒▒░ ░░▒▒▒▓▓▓████▄░▀▀██████▀▀░▄████▓▓▓▒▒▒░░ ░░░▒▒▒▓▓▓▓█████▄▄▄▄▄▄▄▄█████▓▓▓▓▒▒▒░░░ |
Post #15
payne
Aug 20 2010, 6:01 pm
|
Addicted to SEN Games -Add more!-
|
If you want a unit with only a shadow you can use actor events to do it. Create a new event for the actor you want. Set the event to Actor Creation and set the message to set opacity. Change the opacity to something very small (0.01). Any chance you could write a wiki? http://www.staredit.net/w2/index.php?title=Show_only_the_shadow_of_units&action=edit&redlink=1 ![]() ![]() ![]() ![]() ![]() ![]() |
Post #16 shmeeps Aug 20 2010, 6:21 pm
|
It's pretty simple, go do Modules->Data->Actors, and find the actor for the unit you want. In my case I found Marine. Then look under the events (Event - Events+ in table view mode). Right click the box, hit add event. Change the event MSG Type to Unit Birth, and the action MSG Type to Set Opacity. The just change the value in the second box to .0001.
![]() ![]() ![]() ![]() ![]() ![]() |
Post #19 shmeeps Aug 20 2010, 7:17 pm
|
If it is set to 0, neither the unit nor the shadow will render. It's essentially the same as using the No Draw flag, but you can still select and order the unit, which I believe you can't if you just use the No Draw Flag.
As far as actor creation vs unit birth, unit birth is whenever the actor is attached to a newly created unit (I believe), whereas actor creation is when the actor itself is created. They both work, but Unit Birth would work if you just used the actor without attaching it to the unit. I think. ![]() ![]() ![]() ![]() ![]() ![]() |
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)
+ guest(s)
[11:39 pm]
[11:37 pm]




.. as you Pee
. There is no shadow model you would need to create your own. Thats why it wasn't my first suggestion, it is not very practical for everyone.
![[close]](/images/up.gif)