View unanswered posts | View active topics It is currently Tue Jan 14, 2025 5:02 pm



Reply to topic  [ 9 posts ] 
 Trouble with Rounds in B19 
Author Message
User avatar

Joined: Fri Dec 22, 2006 10:14 am
Posts: 29
Location: California, USA, Earth, Sol System
Reply with quote
Post 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.


Tue Dec 11, 2007 3:15 am
Profile
User avatar

Joined: Tue Dec 12, 2006 1:09 am
Posts: 698
Location: Plymouth, NC
Reply with quote
Post 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?


Tue Dec 11, 2007 3:34 am
Profile
User avatar

Joined: Fri Dec 22, 2006 10:14 am
Posts: 29
Location: California, USA, Earth, Sol System
Reply with quote
Post 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.


Tue Dec 11, 2007 3:47 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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.


Tue Dec 11, 2007 3:52 am
Profile
User avatar

Joined: Fri Dec 22, 2006 10:14 am
Posts: 29
Location: California, USA, Earth, Sol System
Reply with quote
Post 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


Tue Dec 11, 2007 4:05 am
Profile
User avatar

Joined: Tue Dec 12, 2006 1:09 am
Posts: 698
Location: Plymouth, NC
Reply with quote
Post Re: Trouble with Rounds in B19
Seriously, turn down the FireVelocity. It's going so fast you can't see it.


Tue Dec 11, 2007 4:30 am
Profile
User avatar

Joined: Fri Dec 22, 2006 10:14 am
Posts: 29
Location: California, USA, Earth, Sol System
Reply with quote
Post 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.


Last edited by The Pope Man on Tue Dec 11, 2007 4:34 am, edited 1 time in total.



Tue Dec 11, 2007 4:32 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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.


Tue Dec 11, 2007 4:33 am
Profile
User avatar

Joined: Fri Dec 22, 2006 10:14 am
Posts: 29
Location: California, USA, Earth, Sol System
Reply with quote
Post 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.


Tue Dec 11, 2007 4:35 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: Google [Bot]


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.049s | 14 Queries | GZIP : Off ]