View unanswered posts | View active topics It is currently Fri Jan 10, 2025 2:15 am



Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4, 5
 LFoW's Prove That Concept 
Author Message
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post Re: LFoW's Prove That Concept
411570N3 wrote:
Use child objects. You can't actually animate the bunker module itself.

Well I just want a part of the foreground to animate. It's a part of the guts.
What child object could I add? I've never toyed with the idea before.
Would the part get destroyed like the module would?


Sun Jul 05, 2009 11:09 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: LFoW's Prove That Concept
You could probably go with an animated MOSRotating, but you'd need something to make sure it interacts the way you want it to. Either Lua or certain .ini solutions, depending on what it is you want it to do.


Sun Jul 05, 2009 11:24 am
Profile WWW
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post Re: LFoW's Prove That Concept
Completely unrelated request.
I need the old crab gun.

Or some code that properly shoots an ACrab. Mine isn't working. :oops:


Sun Jul 12, 2009 4:08 am
Profile
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post Re: LFoW's Prove That Concept
LowestFormOfWit wrote:
411570N3 wrote:
Use child objects. You can't actually animate the bunker module itself.

Well I just want a part of the foreground to animate. It's a part of the guts.
What child object could I add? I've never toyed with the idea before.
Would the part get destroyed like the module would?


Embed the MOSRot child object in question in the bunker module. Make it animated. Look at the guts of my Organic Bunker mod for more details.


Sun Jul 12, 2009 5:37 am
Profile YIM WWW
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: LFoW's Prove That Concept
LowestFormOfWit wrote:
Or some code that properly shoots an ACrab. Mine isn't working. :oops:

Try this:
Attachment:
File comment: Its old, very old.
Cannon.rte.zip [53.66 KiB]
Downloaded 129 times

It shoots out an AHuman.


Sun Jul 12, 2009 8:23 am
Profile WWW
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post Re: LFoW's Prove That Concept
Roon3 wrote:
LowestFormOfWit wrote:
Or some code that properly shoots an ACrab. Mine isn't working. :oops:

Try this:
Attachment:
Cannon.rte.zip

It shoots out an AHuman.


That's perfect! Just what I needed to know.

Now, what variable determines the rotation of a shot when it comes out? I want this thing to orient the dreadnoughts sideways as it's shot out, not facing upright.


Mon Jul 13, 2009 1:33 am
Profile
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: LFoW's Prove That Concept
Man.RotAngle = self.AimAngle?


Mon Jul 13, 2009 10:03 am
Profile WWW
User avatar

Joined: Mon Jun 30, 2008 9:13 pm
Posts: 499
Location: Finland
Reply with quote
Post Re: LFoW's Prove That Concept
But you'd need to use Sparkle Magic on the gun to do that. Just use a copyof of the dready with an OrientToVel of 1.


Mon Jul 13, 2009 10:14 am
Profile
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: LFoW's Prove That Concept
That won't work, a regular object with OrientToVel = 1 is rotated sideways 90 degrees. The dreadnought on the other hand is up right, so angle would be wrong.
The way to do it is:
Man.RotAngle = self.AimAngle +90 (if its calculated in degrees that is)


Mon Jul 13, 2009 10:59 am
Profile WWW
User avatar

Joined: Mon Jun 30, 2008 9:13 pm
Posts: 499
Location: Finland
Reply with quote
Post Re: LFoW's Prove That Concept
True that. But it would be dready.RotAngle = self.Vel.AbsRadAngle - math.pi / 2 since it's radians.


Mon Jul 13, 2009 11:02 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 70 posts ]  Go to page Previous  1, 2, 3, 4, 5

Who is online

Users browsing this forum: No registered users


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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.039s | 14 Queries | GZIP : Off ]