Author |
Message |
Feindfeuer
Joined: Thu Sep 13, 2007 4:01 pm Posts: 7 Location: Hessen
|
How to allign MOSRotating with Weapon angle ?
I used the search function and read through the tutorials but couldn't find an answer to my problem. Here it is:
Is it possible, and if yes how, to allign a projectile sprite to the angle the gun is aiming. Currently, my weapons fire their non-round non-particle projectiles in a rather weird manner. They keep the angle the sprite was drawn in, it's always facing right. The only Gun i found that fired sprited projectiles that were not round was the famous homing missile launcher, but i don't want to shoot tracking actors, just normal unguided rockets and bolts.
|
Thu Dec 13, 2007 5:37 pm |
|
|
TrouserDemon
Joined: Fri Dec 29, 2006 7:42 pm Posts: 1871 Location: UK
|
Re: How to allign MOSRotating with Weapon angle ?
Yes, can't be done, numgun tried with his stake launcher, but failed.
|
Thu Dec 13, 2007 5:39 pm |
|
|
Feindfeuer
Joined: Thu Sep 13, 2007 4:01 pm Posts: 7 Location: Hessen
|
Re: How to allign MOSRotating with Weapon angle ?
Thanks for the fast replay. That way i save myself a lot of time on an impossible gun weapon project.
|
Thu Dec 13, 2007 5:43 pm |
|
|
TrouserDemon
Joined: Fri Dec 29, 2006 7:42 pm Posts: 1871 Location: UK
|
Re: How to allign MOSRotating with Weapon angle ?
Of course, you could have an actor that doesn't track...
|
Thu Dec 13, 2007 5:46 pm |
|
|
Feindfeuer
Joined: Thu Sep 13, 2007 4:01 pm Posts: 7 Location: Hessen
|
Re: How to allign MOSRotating with Weapon angle ?
Yeah, i'll give it a try.
|
Thu Dec 13, 2007 5:59 pm |
|
|
TrouserDemon
Joined: Fri Dec 29, 2006 7:42 pm Posts: 1871 Location: UK
|
Re: How to allign MOSRotating with Weapon angle ?
Probably won't work though, actors are always emitted at the same angle I think.
|
Thu Dec 13, 2007 6:02 pm |
|
|
blipflip
Joined: Fri Dec 22, 2006 12:47 pm Posts: 181 Location: I am the monkey. I can go ANYWHERE.
|
Re: How to allign MOSRotating with Weapon angle ?
TD's right, actors are emitted the same way as MOSRotatings
|
Thu Dec 13, 2007 6:23 pm |
|
|
Feindfeuer
Joined: Thu Sep 13, 2007 4:01 pm Posts: 7 Location: Hessen
|
Re: How to allign MOSRotating with Weapon angle ?
Jep, just found out. Well, i'll stick with round "rockets" than.
|
Thu Dec 13, 2007 6:24 pm |
|
|
numgun
Joined: Sat Jan 13, 2007 11:04 pm Posts: 2932
|
Re: How to allign MOSRotating with Weapon angle ?
Feindfeuer wrote: Jep, just found out. Well, i'll stick with round "rockets" than. Whatever that is what youre doing, I'd suggest to make the round equally shaped like a square or a circle. This way you could make it really universal and not worry about the angle. You can also make the round as an emitter with a ball/square sprite that has a trail of any style and setting.
|
Thu Dec 13, 2007 8:43 pm |
|
|
Feindfeuer
Joined: Thu Sep 13, 2007 4:01 pm Posts: 7 Location: Hessen
|
Re: How to allign MOSRotating with Weapon angle ?
I have no Problem with conventional symtetrical round shapes, used them already. But i had the Idea to make a kind of speargun and a simple rocketlauncher (that launches somehting that looks like a rocket, and that seems to be imposible right now. Not a Problem, i have more time to figure out the crabmovement that way.
|
Thu Dec 13, 2007 8:50 pm |
|
|
Ringwall
Joined: Tue Apr 17, 2007 9:03 pm Posts: 46 Location: Canada- smeels reel gud
|
Re: How to allign MOSRotating with Weapon angle ?
I remember around build 14 someone made a rocket launcher in which the rocket was a part of the HDFirearm, and launched on the right angle.
|
Thu Dec 13, 2007 9:26 pm |
|
|
blipflip
Joined: Fri Dec 22, 2006 12:47 pm Posts: 181 Location: I am the monkey. I can go ANYWHERE.
|
Re: How to allign MOSRotating with Weapon angle ?
Ringwall wrote: I remember around build 14 someone made a rocket launcher in which the rocket was a part of the HDFirearm, and launched on the right angle. 'Twas I. I'll convert it someday, but it's got masses of code and most of it refers to old gibs and materials.
|
Fri Dec 14, 2007 12:37 pm |
|
|
|