Not really =( I know that's being a pain, but it's almost complete and would rather wait to put it up for grabs until it's done.
If this helps, imagine you're looking at a cup on the table from the side, and then all of a sudden you're looking at it from above the table. You didn't slowly move from the side to above it. It just happened. Oh, and the side of the table you are standing on changes too.
Alright, in my map I use a top-down camera for the normal camera. For attacks, I use a close-up side view camera. When I switch to either of the cameras, there is a slight hitch where you can see the camera snap to the new camera's rotation, and then it zooms in/out over the duration. Is there a way to smooth the transition and get rid of the snap when it changes to a different camera rotation?
Camera-Unlockcamerainputforplayer1Camera-Unlockcamerainputforplayer2Camera-ApplyGameStuff.GameCamera[1]forplayer1over10.0secondswithExistingVelocity%initialvelocity,10%deceleration,andDon't Include TargetCamera-ApplyGameStuff.GameCamera[2]forplayer2over10.0secondswithExistingVelocity%initialvelocity,10%deceleration,andDon't Include TargetCamera-ApplycameraobjectAngleOfAttack73.0forplayer1over0.0secondswithExistingVelocity%initialvelocityand10%decelerationCamera-ApplycameraobjectAngleOfAttack73.0forplayer2over0.0secondswithExistingVelocity%initialvelocityand10%deceleration
Edit: Also, when i change back to the normal camera, player 2's camera loses the 270 degree rotation i put on it at the beginning of the match. Can I prevent this without having to reapply the rotation every time i go back to normal camera?
So would I do a model swap in the original unit's actor events to do the death anim model? Or just call the death model actor when the original unit dies in it's own events?
I think have everything unchecked for it. But I know it's the cloak because the host and attached model show up the way I want when I turn off the cloak flag on my host unit.
I followed part of prozaic's intro to attachments tutorial to attach a model to a unit. However, as soon as I finished I received an error stating the model failed to initialize.
I looked back at the actor events and noticed I didn't set the UnitBirth.'unitname'. fully. So i set it to UnitBirth.'unitname'.normal and the error went away. But now the model still does not appear. I am also using actor filters, so maybe I have those set wrong. I will play with them and see if it changes anything.
Otherwise, does anyone have any idea?
Edit: Ok, so I have the model attaching and showing up properly for the owner of the unit. It seems it's inheriting the cloak/bury from the behavior I have on the host unit. The filters for hiding the model from the owner seems to work but I still cannot see the enemy unit's attached model.
I am using the cloak/bury behavior to mimic a hidden unit. However, when I kill the unit, the death animation is visible to everyone. Is there a way around this?
I am doing the kill with a trigger, so I tried just removing the unit instead and sending an actor message to play the death anim, but it looks wonky in a pick each unit action.
I am looking for models of Tychus and Swann without their flashlights or someone to edit them for me. If anyone would like to edit or knows of where I can find them already done, I would be mega happy.
I am expecting it to return false ONLY if the current region is 5 or 15 AND targeting one of the other four regions. The current region is where the unit is when the trigger runs and the target region is where the mouse click is.
Hello, I have this if/then I am using for a movement system and it's supposed to check the current position of the unit versus the target position and return true/false based on my requirements. Here is the first if/then and it is proceeding to the 'then' actions (return false) even if the current position is not 5 or 15. It seems my use of And/Or in this instance is not correct. Any help is much appreciated.
0
Not really =( I know that's being a pain, but it's almost complete and would rather wait to put it up for grabs until it's done.
If this helps, imagine you're looking at a cup on the table from the side, and then all of a sudden you're looking at it from above the table. You didn't slowly move from the side to above it. It just happened. Oh, and the side of the table you are standing on changes too.
Edit: All fixed, thanks to Zandose in irc.
0
Anyone? It's not game breaking, but it would be nice to fix it.
0
Alright, in my map I use a top-down camera for the normal camera. For attacks, I use a close-up side view camera. When I switch to either of the cameras, there is a slight hitch where you can see the camera snap to the new camera's rotation, and then it zooms in/out over the duration. Is there a way to smooth the transition and get rid of the snap when it changes to a different camera rotation?
switching to the attack camera (side view):
switching to the top-down camera:
Edit: Also, when i change back to the normal camera, player 2's camera loses the 270 degree rotation i put on it at the beginning of the match. Can I prevent this without having to reapply the rotation every time i go back to normal camera?
0
@DrSuperEvil: Go
And that is why I posed the second question.
Edit: This is working now with a separate model for the death anim.
0
So would I do a model swap in the original unit's actor events to do the death anim model? Or just call the death model actor when the original unit dies in it's own events?
0
I'm using the cloak and bury combo to mimic a hidden unit for everyone but the owner.
Edit: Also, I can see both models with only the Bury flag checked. With both bury and cloak, then I cannot see the flag.
Edit: And that worked Kueken, sweet :)
0
I think have everything unchecked for it. But I know it's the cloak because the host and attached model show up the way I want when I turn off the cloak flag on my host unit.
i'm stumped.
0
I followed part of prozaic's intro to attachments tutorial to attach a model to a unit. However, as soon as I finished I received an error stating the model failed to initialize.
I looked back at the actor events and noticed I didn't set the UnitBirth.'unitname'. fully. So i set it to UnitBirth.'unitname'.normal and the error went away. But now the model still does not appear. I am also using actor filters, so maybe I have those set wrong. I will play with them and see if it changes anything.
Otherwise, does anyone have any idea?
Edit: Ok, so I have the model attaching and showing up properly for the owner of the unit. It seems it's inheriting the cloak/bury from the behavior I have on the host unit. The filters for hiding the model from the owner seems to work but I still cannot see the enemy unit's attached model.
0
I am using the cloak/bury behavior to mimic a hidden unit. However, when I kill the unit, the death animation is visible to everyone. Is there a way around this?
I am doing the kill with a trigger, so I tried just removing the unit instead and sending an actor message to play the death anim, but it looks wonky in a pick each unit action.
0
Probably. Though all they really need is idle and walk. I should ask Iskatumesk and see if he could tweak the originals for me.
0
I am looking for models of Tychus and Swann without their flashlights or someone to edit them for me. If anyone would like to edit or knows of where I can find them already done, I would be mega happy.
0
Ok. I will give it a try in a little bit. Left the room to spend time with my daughter. She got tired of sitting in one place at the computer lol.
0
I am expecting it to return false ONLY if the current region is 5 or 15 AND targeting one of the other four regions. The current region is where the unit is when the trigger runs and the target region is where the mouse click is.
0
Hello, I have this if/then I am using for a movement system and it's supposed to check the current position of the unit versus the target position and return true/false based on my requirements. Here is the first if/then and it is proceeding to the 'then' actions (return false) even if the current position is not 5 or 15. It seems my use of And/Or in this instance is not correct. Any help is much appreciated.
0
Cool, it worked. Thanks Kueken.