View unanswered posts | View active topics It is currently Sun Dec 29, 2024 5:42 am



Reply to topic  [ 4 posts ] 
 Troubled with the ini codes 
Author Message
User avatar

Joined: Mon Feb 07, 2011 5:06 am
Posts: 23
Reply with quote
Post Troubled with the ini codes
Here's the story: Currently I'm making a new HEAT type ammo in B25 (Since the incendiary bugs of the old HEAT ammo has been fixed, which turns the good ol' reliable HEAT launcher into a HE launcher, which bugs me :P ) by firing a bullet which explodes when impacted, releasing another "core" that can penetrates steel and concrete and everything else. Now here's when wierd stuff happens: the "core" always penetrate correctly when fired straight, but when fired at an angle, the "core" will always deflect, sometimes with devastating results (like blowing the head off 6 consecutive Coalition Heavies when I were aiming 1 floor above them), even when I was aiming at the dirt. I've changed the weight of the "core", the initial velocity, and the sharpness, but the frikkin' core still denies to blast through steel. That's why I'm giving you guys the codes and stuffs so you can help me figure this out. Thanks.

In short: I'm trying to make stuffs and bugs happen, so I need help from a pro coder. if a 500kg flying bullet can't blast through a thin strip of steel, something's definitely wrong. :???:


Attachments:
RifledArms.rte.rar [6.4 KiB]
Downloaded 134 times
Thu Aug 11, 2011 3:21 pm
Profile
User avatar

Joined: Wed Jul 06, 2011 5:11 pm
Posts: 226
Reply with quote
Post Re: Troubled with the ini codes
All you have to do is add "InheritsVel = 1" to the Cores gib code. It should look like this:

Code:
   AddGib = Gib
      GibParticle = AEmitter
         CopyOf = 50Cal Core
      Count = 1
      Spread = 0
      MaxVelocity = 100
      MinVelocity = 100
      LifeVariation = 1
      InheritsVel = 1


Notice the InhertisVel = 1 was added at the last line.

InheritsVel = 1 makes the gibbed particle inherit the velocity of the parent, so if the bullet is flying in a certain direction, the gib will go in that direction.


Fri Aug 12, 2011 7:17 am
Profile
User avatar

Joined: Mon Feb 07, 2011 5:06 am
Posts: 23
Reply with quote
Post Re: Troubled with the ini codes
Hmn... I tried that, but when I point the rifle at the ground or the ceiling, the bullet still deflects to the right of the map. I will make a GIF to demonstrate that soon.


Sat Aug 13, 2011 12:15 pm
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Troubled with the ini codes
Mehman's tutorial on: How to make shaped charges/directional gibbing


Sat Aug 13, 2011 2:20 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 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.029s | 14 Queries | GZIP : Off ]