View unanswered posts | View active topics It is currently Tue Jan 07, 2025 12:52 am



Reply to topic  [ 8 posts ] 
 Inherits Velocity 
Author Message
User avatar

Joined: Fri Mar 02, 2007 6:59 am
Posts: 1726
Location: NSW, Australia
Reply with quote
Post Inherits Velocity
Hi guys.

I'm making a mine-deployer weapon (similar to findude's rigger, but coded totally differently), and a problem I'm having is that depending on how the device is detonated, the explosives all go in weird directions.

for example: if a soldier shoots the mine from the left, all the explosives will travel mainly to the left.

first of all, that's backwards, and second of all, even if it wasn't it'd still make the device less useful.


Oh, and the 'explosive' is actually an AHuman. and has to be for the code to work.


Sun Nov 30, 2008 4:03 am
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Inherits Velocity
Maybe your AHuman mine is overdoing it with the recoil/impulse based detonation, and sending itself into a high velocity before gibbing.

And are the gibs set to inherit velocity?

I don't really understand your explanation of what it's doing and what you want it to be doing.


Sun Nov 30, 2008 4:07 am
Profile
User avatar

Joined: Tue Dec 12, 2006 3:10 pm
Posts: 495
Location: Uncertain quantum state
Reply with quote
Post Re: Inherits Velocity
GlobalAccScalar = 0 without pinning makes them
float about even without any velocity.


Sun Nov 30, 2008 10:27 am
Profile
User avatar

Joined: Fri Mar 02, 2007 6:59 am
Posts: 1726
Location: NSW, Australia
Reply with quote
Post Re: Inherits Velocity
That's probably it Azzuki, I modified the gun they wield to blow them up...
hmm, I'll work it out...


Sun Nov 30, 2008 11:21 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Inherits Velocity
just in case (as you havnt specified) all the gibs are "inheritsvel = 0" yeah? all of them. on the gun and the ahuman.
yes?


Mon Dec 01, 2008 9:28 am
Profile WWW
User avatar

Joined: Fri Mar 02, 2007 6:59 am
Posts: 1726
Location: NSW, Australia
Reply with quote
Post Re: Inherits Velocity
nope, I put that in.

And it crashed -.-


Mon Dec 01, 2008 12:07 pm
Profile
User avatar

Joined: Tue Dec 12, 2006 3:10 pm
Posts: 495
Location: Uncertain quantum state
Reply with quote
Post Re: Inherits Velocity
InheritsVel = 0 only goes to the GibParticle. Where the Spread and Count is.
Check the vanilla stuff!


Mon Dec 01, 2008 1:10 pm
Profile
User avatar

Joined: Fri Mar 02, 2007 6:59 am
Posts: 1726
Location: NSW, Australia
Reply with quote
Post Re: Inherits Velocity
Thanks Findude! I couldn't find it in the vanilla code, that's why I'd put it in the wrong place.


Tue Dec 02, 2008 6:41 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

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.038s | 13 Queries | GZIP : Off ]