View unanswered posts | View active topics It is currently Sat Dec 28, 2024 2:51 pm



Reply to topic  [ 12 posts ] 
 How to allign MOSRotating with Weapon angle ? 
Author Message

Joined: Thu Sep 13, 2007 4:01 pm
Posts: 7
Location: Hessen
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Dec 29, 2006 7:42 pm
Posts: 1871
Location: UK
Reply with quote
Post 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
Profile

Joined: Thu Sep 13, 2007 4:01 pm
Posts: 7
Location: Hessen
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Dec 29, 2006 7:42 pm
Posts: 1871
Location: UK
Reply with quote
Post 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
Profile

Joined: Thu Sep 13, 2007 4:01 pm
Posts: 7
Location: Hessen
Reply with quote
Post Re: How to allign MOSRotating with Weapon angle ?
Yeah, i'll give it a try.


Thu Dec 13, 2007 5:59 pm
Profile
User avatar

Joined: Fri Dec 29, 2006 7:42 pm
Posts: 1871
Location: UK
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Dec 22, 2006 12:47 pm
Posts: 181
Location: I am the monkey. I can go ANYWHERE.
Reply with quote
Post 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
Profile

Joined: Thu Sep 13, 2007 4:01 pm
Posts: 7
Location: Hessen
Reply with quote
Post 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
Profile

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post 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
Profile

Joined: Thu Sep 13, 2007 4:01 pm
Posts: 7
Location: Hessen
Reply with quote
Post 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. :grin:


Thu Dec 13, 2007 8:50 pm
Profile
User avatar

Joined: Tue Apr 17, 2007 9:03 pm
Posts: 46
Location: Canada- smeels reel gud
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Dec 22, 2006 12:47 pm
Posts: 181
Location: I am the monkey. I can go ANYWHERE.
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 12 posts ] 

Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.031s | 15 Queries | GZIP : Off ]