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



Reply to topic  [ 2 posts ] 
 CFG Pulse Emitter 
Author Message
User avatar

Joined: Sat Apr 11, 2009 9:29 pm
Posts: 62
Reply with quote
Post CFG Pulse Emitter
I was trying to make a gun that only hurt robots. Right now it only works on humans and makes them explode. I'd like it to only work on robots and leave them intact.

Code:

AddEffect = MOPixel
   InstanceName = Particle CFG
   Mass = 0.00025
   RestThreshold = 500
   LifeTime = 20
   Sharpness = 500
   HitsMOs = 1
   GetsHitByMOs = 0
   Color = Color
      R = 255
      G = 0
      B = 255
   Atom = Atom
      Material = Material
         CopyOf = Bullet Metal
      TrailColor = Color
         R = 255
         G = 0
         B = 255
      TrailLength = 100000



AddAmmo = Round
   InstanceName = Round CFG
   ParticleCount = 200
   Particle = MOPixel
      CopyOf = Particle CFG
   FireVelocity = 275
   ShellVelocity = 10
   Separation = 5

AddAmmo = Magazine
   InstanceName = Magazine CFG
   Mass = 0.1
   HitsMOs = 0
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = Base.rte/Null.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -1
      Y = -1
   EntryWound = AEmitter
      CopyOf = Dent Metal
   ExitWound = AEmitter
      CopyOf = Dent Metal
   AtomGroup = AtomGroup
      InstanceName = Atom Group Null
      AutoGenerate = 1
      Material = Material
         CopyOf = Air
      Resolution = 0
      Depth = 0
   DeepGroup = AtomGroup
      InstanceName = Atom Group Null
      AutoGenerate = 1
      Material = Material
         CopyOf = Air
      Resolution = 0
      Depth = 0
   DeepCheck = 0
   JointStrength = 200
   JointStiffness = 1
   JointOffset = Vector
      X = 0
      Y = -3
   DrawAfterParent = 0
   RoundCount = 1
   RTTRatio = 0
   RegularRound = Round
      CopyOf = Round CFG
   TracerRound = None
   Discardable = 0


AddDevice = HDFirearm
   InstanceName = CFG
   AddToGroup = Weapons
   Mass = 6
   HitsMOs = 0
   GetsHitByMOs = 1
   SpriteFile = ContentFile
      FilePath = New Weapons.rte/CFG/CFG.bmp
   FrameCount = 2
   SpriteOffset = Vector
      X = -9
      Y = -7
   EntryWound = AEmitter
      CopyOf = Dent Metal
   ExitWound = AEmitter
      CopyOf = Dent Metal
   GoldValue = 40
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 4
      Depth = 0
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 4
      Depth = 10
   DeepCheck = 1
   JointStrength = 75
   JointStiffness = 0.5
   JointOffset = Vector
      X = -5
      Y = 2
   DrawAfterParent = 0
   StanceOffset = Vector
      X = 3
      Y = 7
   SharpStanceOffset = Vector
      X = 5
      Y = -2
   SupportOffset = Vector
      X = 2
      Y = 3
   SharpLength = 150
   Magazine = Magazine
      CopyOf = Magazine CFG
   FireSound = Sound
      AddSample = ContentFile
         FilePath = New Weapons.rte/CFG/CFG.wav
   ReloadStartSound = Sound
      AddSample = ContentFile
         FilePath = New Weapons.rte/CFG/charge.wav
   RateOfFire = 100
   ReloadTime = 1000
   FullAuto = 0
   FireIgnoresThis = 1
   ShakeRange = 1
   SharpShakeRange = 1
   NoSupportFactor = 1
   ParticleSpreadRange = 25
   ShellSpreadRange = 8
   ShellAngVelRange = 2
   MuzzleOffset = Vector
      X = 11
      Y = -4
   EjectionOffset = Vector
      X = -4
      Y = -2
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Spark Yellow 1
      Count = 6
      Spread = 2.25
      MaxVelocity = 20
      MinVelocity = 8
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Spark Yellow 2
      Count = 5
      Spread = 2.25
      MaxVelocity = 20
      MinVelocity = 8
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Drop Oil
      Count = 4
      Spread = 2.25
      MaxVelocity = 10
      MinVelocity = 1
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Rust Micro A
      Count = 6
      Spread = 2.25
      MaxVelocity = 15
      MinVelocity = 5
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Grey Micro A
      Count = 5
      Spread = 2.25
      MaxVelocity = 15
      MinVelocity = 5
   AddGib = Gib
      GibParticle = MOSRotating
         CopyOf = Gib Device Small H
      Count = 1
      Spread = 2.25
      MaxVelocity = 10
      MinVelocity = 1
   AddGib = Gib
      GibParticle = MOSRotating
         CopyOf = Gib Device Small J
      Count = 1
      Spread = 2.25
      MaxVelocity = 10


Any ideas? (yes, it's copied off the H-43)


Sat Apr 11, 2009 9:43 pm
Profile
Banned
User avatar

Joined: Thu Feb 05, 2009 6:39 pm
Posts: 413
Reply with quote
Post Re: CFG Pulse Emitter
You can't only hurt robots. Try it with lua in the next build, or make a scene especially for it now.


Sat Apr 11, 2009 9:47 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 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.035s | 13 Queries | GZIP : Off ]