Data Realms Fan Forums
http://45.55.195.193/

Trouble with Rounds in B19
http://45.55.195.193/viewtopic.php?f=1&t=9000
Page 1 of 1

Author:  The Pope Man [ Tue Dec 11, 2007 3:15 am ]
Post subject:  Trouble with Rounds in B19

I am a noob having trouble with creating a custom round type, no matter what I do I cant get it to work in-game, I have tried copying base files, checked the "The Ultimate Modding Tutorial" by Electrolan, looked at templates, it just doesn't fire anything.
Here is my Ammo.ini :
Code:
AddAmmo = Round
   InstanceName = Round .50
   ParticleCount = 1
   Particle = MOPixel
      InstanceName = Particle .50
      Mass = 0.014
      RestThreshold = 500
      LifeTime = 2000
      Sharpness = 350
      HitsMOs = 1
      GetsHitByMOs = 0
      Color = Color
         R = 143
         G = 143
         B = 143
      Atom = Atom
         Material = Material
            CopyOf = Bullet Metal
         TrailColor = Color
            R = 155
            G = 155
            B = 155
         TrailLength = 40
   Shell = MOSParticle
      CopyOf = Casing Tsu
   FireVelocity = 850
   ShellVelocity = 8
   Separation = 5

AddAmmo = Round
   CopyOf = Round .50
   InstanceName = Round .50 Tracer
   ParticleCount = 1
   Particle = MOPixel
      CopyOf = Particle .50
      InstanceName = Particle .50 Tracer
      RestThreshold = 500
      LifeTime = 2000
      HitsMOs = 1
      GetsHitByMOs = 0
      Color = Color
         R = 247
         G = 247
         B = 247
      Atom = Atom
         Material = Material
            CopyOf = Bullet Metal
         TrailColor = Color
            R = 255
            G = 255
            B = 159
         TrailLength = 120

AddAmmo = Magazine
   InstanceName = Magazine Tsu
   Mass = 2
   HitsMOs = 0
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = Tsunami.rte/TsuMag.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -1
      Y = -2
   EntryWound = AEmitter
      CopyOf = Dent Metal
   ExitWound = AEmitter
      CopyOf = Dent Metal
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Bullet Metal
      Resolution = 2
      Depth = 0
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Bullet Metal
      Resolution = 3
      Depth = 1
   DeepCheck = 1
   JointStrength = 200
   JointStiffness = 1
   JointOffset = Vector
      X = 0
      Y = 0
   ParentOffset = Vector
      X = 5
      Y = 1
   DrawAfterParent = 0
   RoundCount = 5
   RTTRatio = 10
   RegularRound = Round
      CopyOf = Round .50
   TracerRound = Round
      CopyOf = Round .50 Tracer
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Spark Yellow 1
      Count = 5
      Spread = 2.25
      MaxVelocity = 20
      MinVelocity = 8
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Rust Micro A
      Count = 4
      Spread = 2.25
      MaxVelocity = 15
      MinVelocity = 5
   GibWoundLimit = 2


I would be very pleased if anyone would help me.

Author:  Control [ Tue Dec 11, 2007 3:34 am ]
Post subject:  Re: Trouble with Rounds in B19

Eh, could you be a bit more specific in the error you're getting? The only thing that I see could be a problem is the:

Code:
   Shell = MOSParticle
      CopyOf = Casing Tsu


Maybe the casing isn't defined before the round?

Author:  The Pope Man [ Tue Dec 11, 2007 3:47 am ]
Post subject:  Re: Trouble with Rounds in B19

Control wrote:
Eh, could you be a bit more specific in the error you're getting? The only thing that I see could be a problem is the:

Code:
   Shell = MOSParticle
      CopyOf = Casing Tsu


Maybe the casing isn't defined before the round?

No, I have it initializing the effects first, and for errors; I don't get any errors when starting, all that happens is when I try to fire it, nothing comes out, but the shell discharges and the muzzleflash flashes.

I basically copied the variables from the template then modified them, tried my weapon; didn't work, tried the template weapon; worked perfectly.

Author:  Grif [ Tue Dec 11, 2007 3:52 am ]
Post subject:  Re: Trouble with Rounds in B19

FireVelocity = 850?

It's going to fast to be seen, lol.

Seriously, make it 80, I bet you'll see it.

Author:  The Pope Man [ Tue Dec 11, 2007 4:05 am ]
Post subject:  Re: Trouble with Rounds in B19

Grif wrote:
FireVelocity = 850?

It's going to fast to be seen, lol.

Seriously, make it 80, I bet you'll see it.

look at the InstanceName again, then you will understand :grin:

plus, the FireVelocity of the 7.62x39 (AK-47) Ammo is only 110

Author:  Control [ Tue Dec 11, 2007 4:30 am ]
Post subject:  Re: Trouble with Rounds in B19

Seriously, turn down the FireVelocity. It's going so fast you can't see it.

Author:  The Pope Man [ Tue Dec 11, 2007 4:32 am ]
Post subject:  Re: Trouble with Rounds in B19

Control wrote:
Seriously, turn down the FireVelocity. It's going so fast you can't see it.

but it isn't leaving damage in clone tissue or the scene material, I fire it at grass and nothing happens to the grass sprites.

just to check, I'll lower the FireVelocity and see if it makes a difference.

Author:  Grif [ Tue Dec 11, 2007 4:33 am ]
Post subject:  Re: Trouble with Rounds in B19

Protip: Try our advice before automatically dismissing it as not being the problem.

Believe it or not, Control and I actually DO know a little bit about the game.

Author:  The Pope Man [ Tue Dec 11, 2007 4:35 am ]
Post subject:  Re: Trouble with Rounds in B19

Grif wrote:
Protip: Try our advice before automatically dismissing it as not being the problem.

Believe it or not, Control and I actually DO know a little bit about the game.

you posted that just as I edited, but yes, I have seen both of your works, funny thing is, it was control's template weapon that I based mine on

Heh, thanks guys, that worked, I guess I should take any advice given to me if I'm desperate enough to ask for help.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/