View unanswered posts | View active topics It is currently Thu Jan 09, 2025 11:45 pm



Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
 Haow to make shaped charge like explosion 
Author Message
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Haow to make shaped charge like explosion
I have tried to change spread on the gibs being ejected but that makes them only work when firing them one way. Dunno what to do. halp guys

I need it for my armor piercing rocket launcher

Image


Mon May 04, 2009 4:48 pm
Profile

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post Re: Haow to make shaped charge like explosion
Have the gibs have a special material with 0 bounce and -1 friction.
Thats something Darlos did in his darkstorm sniper rifle.


Mon May 04, 2009 5:30 pm
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Haow to make shaped charge like explosion
Ah, I think I'll go steal some code then. Thanks a lot numgun.


edit: Weird, can't seem to get it to work. Now it does the same thing, just the other way :|


Mon May 04, 2009 5:50 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Haow to make shaped charge like explosion
you put the custom material on the fired particle. what darlos uses is a TDExplosive with a MOPixel behind it, but the material is on the TDExplosive. i use this all the time for anything that shoots explosives, but usually have it to a smaller value than -1. usually something like -0.6
make sure you include a new instance/presetname line so its not just the same material.
good luck.


Tue May 05, 2009 5:24 am
Profile WWW
User avatar

Joined: Mon Jul 16, 2007 9:50 am
Posts: 1512
Location: Tallahassee, FL
Reply with quote
Post Re: Haow to make shaped charge like explosion
Okay, here's the important bit:

What you need to do is make sure the damaging gibs that come from the rocket have InheritsVel = 1 set. Then make sure the velocities and spread are set to low numbers, to allow some variation in where the gibs go, but to have them still mostly go on the same direction the rocket initially was.

The whole thing with Bounce = -1 was something I did because it didn't hurt, but it didn't seem to help a whole lot either. I forgot who initially suggested it to me.


Tue May 12, 2009 3:14 am
Profile YIM
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Haow to make shaped charge like explosion
Bounce = -1 makes it so the explosion (with inheritsVel = 1) doesnt bounce away from craft. with any normal bounce variable, the explosion will happen in the opposite direction, 0 should negate any inertia at all (but i cant remember if it does or not) and -1 emulates a shaped charge. But yeah, we should have specified InheritsVel = 1, though it defaults to on if not defined (ie if you dont have a line in the gib definition changing it, the game assumes it is 1).


Tue May 12, 2009 10:19 am
Profile WWW
User avatar

Joined: Mon Jul 16, 2007 9:50 am
Posts: 1512
Location: Tallahassee, FL
Reply with quote
Post Re: Haow to make shaped charge like explosion
Geti wrote:
Bounce = -1 makes it so the explosion (with inheritsVel = 1) doesnt bounce away from craft. with any normal bounce variable, the explosion will happen in the opposite direction, 0 should negate any inertia at all (but i cant remember if it does or not) and -1 emulates a shaped charge. But yeah, we should have specified InheritsVel = 1, though it defaults to on if not defined (ie if you dont have a line in the gib definition changing it, the game assumes it is 1).

Hm, good point. But I don't know whether or not InheritsVel = 0 had been specifically specified. Probably not, but if that's the case, then I don't understand why he says the explosion is only ever going in one direction. It shouldn't. Unless of course he has very high velocities set, which he shouldn't since the gibs only really need to inherit the velocity of the rocket.


Tue May 12, 2009 4:50 pm
Profile YIM
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Haow to make shaped charge like explosion
Can't get this shiz to work

Image


Tue May 12, 2009 7:23 pm
Profile
User avatar

Joined: Mon Jul 16, 2007 9:50 am
Posts: 1512
Location: Tallahassee, FL
Reply with quote
Post Re: Haow to make shaped charge like explosion
Sigh.

Give me your code.

Might as well do something until B23.


Wed May 13, 2009 3:10 am
Profile YIM
User avatar

Joined: Mon Jun 04, 2007 5:55 am
Posts: 1627
Location: Ohio
Reply with quote
Post Re: Haow to make shaped charge like explosion
um.... there's a spread variable. set it to 360, and tell the particles to inherit parent velocity. you somehow have it set to use those specific angles.


Wed May 13, 2009 4:20 am
Profile YIM WWW
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Haow to make shaped charge like explosion
Miles_T3hR4t wrote:
um.... there's a spread variable. set it to 360, and tell the particles to inherit parent velocity. you somehow have it set to use those specific angles.


Oh jesus CHRIST I love you miles.

Spread is in radians.

Spread has been in radians since D.I.R.T.

3.14 is the maximum amount radians go to. ♥♥♥♥. PERIOD.

Do you really not think he's tried every combination of spread and inheritsvel that you can? (he has)

I've also tried using velocity and even weird materials. Nothing ♥♥♥♥ works. But if you'd like to step up to the plate and actually DO some ♥♥♥♥ modding rather than speculating idly (stupidly) all the time, please, feel free to do so. I'd be happy to eat my words if you managed to accomplish this.


Wed May 13, 2009 5:51 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Haow to make shaped charge like explosion
spread is in radians, but give us your code. me or darlos will fix it up for you.


Wed May 13, 2009 6:07 am
Profile WWW
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Haow to make shaped charge like explosion
There ya go, not sure if you had my DAPRL mod so I just uploaded the whole thing


Attachments:
DummyAPRL.rteSCLE.rar [16.82 KiB]
Downloaded 207 times
Wed May 13, 2009 8:52 am
Profile

Joined: Sat May 16, 2009 10:58 am
Posts: 3
Reply with quote
Post Re: Haow to make shaped charge like explosion
Quote:
3.14 is the maximum amount radians go to. fudge. PERIOD.


Pi radians = 180 degrees...


Mon May 18, 2009 6:46 pm
Profile

Joined: Sat Aug 30, 2008 1:58 am
Posts: 104
Reply with quote
Post Re: Haow to make shaped charge like explosion
TheDalaiLama wrote:
Quote:
3.14 is the maximum amount radians go to. fudge. PERIOD.


Pi radians = 180 degrees...


LMAO please tell me you're joking.

I think we all know how radians work thanks... still doesn't change the fact that 3.14 is the maximum amount radians go to.

Unfortunately.


Mon May 18, 2009 9:06 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 16 posts ]  Go to page 1, 2  Next

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.037s | 15 Queries | GZIP : Off ]