View unanswered posts | View active topics It is currently Thu Jan 02, 2025 8:54 pm



Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
 Small question... 
Author Message
User avatar

Joined: Mon Jun 28, 2010 10:06 pm
Posts: 461
Location: STEPPING INTO THE RING
Reply with quote
Post Re: Small question...
EDIT
ARG! NO MATTER WHAT I DO IT WONT LOAD MY GUN INI!

what is wrong with this code? All the paths are correct, nothing is an impossible value like a googleplex or something.
Code:
//Geti's Laser Code
AddAmmo = MOPixel
   PresetName = Laser Trail
   Mass = 0
   LifeTime = 100
   Sharpness = 0
   HitsMOs = 0
   GetsHitByMOs = 0
   Color = Color
      R = 255
      G = 0
      B = 0
   Atom = Atom
      Material = Material
         CopyOf = Air
      TrailColor = Color
         R = 255
         G = 0
         B = 0
      TrailLength = 100
   ScriptPath = OPGuns.rte\Guns\Handguns\Scripts\trail.lua

AddAmmo = MOPixel
   PresetName = Laser Point
   Mass = 0
   LifeTime = 100
   Sharpness = 0
   HitsMOs = 0
   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 = 0
   ScriptPath = OPGuns.rte\Guns\Handguns\Scripts\LAM.lua

AddEffect = AEmitter
   PresetName = LAM
   Mass = 0.01
   Sharpness = 0
   HitsMOs = 0
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = Base.rte/Null.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = 0
      Y = 0
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Air
      Resolution = 2
      Depth = 0
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Air
      Resolution = 4
      Depth = 10
   AddEmission = Emission
      EmittedParticle = MOPixel
         CopyOf = Laser Point
      ParticlesPerMinute = 2000
      BurstSize = 1
      Spread = 0
      MaxVelocity = 1
      MinVelocity = 1
      PushesEmitter = 0
   EmissionEnabled = 1
   EmissionsIgnoreThis = 0
   BurstScale = 1
   BurstTriggered = 1
   EmissionDamage = 0
   FlashOnlyOnBurst = 0

//Gun
AddAmmo = Round
   PresetName = Round DE
   ParticleCount = 2
   Particle = MOPixel
      PresetName = Particle DE
      Mass = 1
      RestThreshold = 500
      LifeTime = 400
      Sharpness = 15
      HitsMOs = 1
      GetsHitByMOs = 0
      Color = Color
         R = 255
         G = 0
         B = 0
      Atom = Atom
         Material = Material
            CopyOf = Bullet Metal
         TrailColor = Color
            R = 255
            G = 255
            B = 0
         TrailLength = 40
   Shell = MOSParticle
      CopyOf = Casing
   FireVelocity = 777
   ShellVelocity = 1
   Separation = 0

AddAmmo = Round
   CopyOf = Round DE
   PresetName = Round DE Tracer
   ParticleCount = 2
   Particle = MOPixel
      CopyOf = Particle DE
      PresetName = Particle DE Tracer
      RestThreshold = 500
      LifeTime = 250
      HitsMOs = 1
      GetsHitByMOs = 0
      Color = Color
         R = 247
         G = 247
         B = 147
      Atom = Atom
         Material = Material
            CopyOf = Bullet Metal
         TrailColor = Color
            R = 255
            G = 255
            B = 159
         TrailLength = 60
   FireVelocity = 220
   
AddAmmo = Magazine
   PresetName = Magazine DE
   Mass = 1 // kg
   HitsMOs = 0
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = OPGuns.rte\Guns\Handguns\DEMag.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 = Military Stuff
      Resolution = 2
      Depth = 0
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 3
      Depth = 1
   DeepCheck = 1
   JointStrength = 200
   JointStiffness = 1
   JointOffset = Vector
      X = 0
      Y = 0
   DrawAfterParent = 0
   RoundCount = 5
   RTTRatio = 0
   RegularRound = Round
      CopyOf = Round DE
   TracerRound = Round
      CopyOf = Round DE Tracer

AddDevice = HDFirearm
   PresetName = Mega Handgun
   AddToGroup = Weapons
   Description = A small, innocent handgun with an underslung laser guide...
   Mass = 2
   HitsMOs = 0
   GetsHitByMOs = 1
   SpriteFile = ContentFile
      FilePath = OPGuns.rte\Guns\Handguns\MegaDE.bmp
   FrameCount = 2
   SpriteOffset = Vector
      X = -6
      Y = -4
   EntryWound = AEmitter
      CopyOf = Dent Metal
   ExitWound = AEmitter
      CopyOf = Dent Metal
   GoldValue = 350
   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 = 2
   DeepCheck = 1
   JointStrength = 100
   JointStiffness = 0.5
   JointOffset = Vector
      X = -3
      Y = 1
   DrawAfterParent = 0
   OneHanded = 0
   StanceOffset = Vector
      X = 10
      Y = 2
   SharpStanceOffset = Vector
      X = 11
      Y = 0
   SupportOffset = Vector
      X = 2
      Y = 3
   SharpLength = 125
   Magazine = Magazine
      CopyOf = Magazine DE
      ParentOffset = Vector
         X = -5
         Y = 1
   Flash = Attachable
      CopyOf = Muzzle Flash Pistol

   FireSound = Sound
      AddSample = ContentFile
         FilePath = OPGuns.rte\Guns\Handguns\DEFire.mp3
   EmptySound = Sound
      AddSample = ContentFile
         FilePath = Base.rte/Devices/EmptyClick3.wav
   ReloadStartSound = Sound
      AddSample = ContentFile
         FilePath = OPGuns.rte\Guns\Handguns\DEReload.mp3
///   ReloadEndSound = Sound
///      AddSample = ContentFile
///         FilePath = Base.rte/Devices/ReloadEnd.wav
   RateOfFire = 120
   ReloadTime = 900
   FullAuto = 0
   FireIgnoresThis = 1
   ShakeRange = 10
   SharpShakeRange = 3
   NoSupportFactor = 0
   ParticleSpreadRange = 0
   ShellSpreadRange = 8
   ShellAngVelRange = 2
   MuzzleOffset = Vector
      X = 7
      Y = -3
   EjectionOffset = Vector
      X = -3
      Y = 2
   AddEmitter = AEmitter
      CopyOf = LAM
      ParentOffset = Vector
         X = 7
         Y = 1
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Spark Yellow 1
      Count = 3
      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 = MOSParticle
         CopyOf = Gib Metal Rust Micro A
      Count = 10
      Spread = 2.25
      MaxVelocity = 15
      MinVelocity = 5
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Grey Micro A
      Count = 4
      Spread = 2.25
      MaxVelocity = 15
      MinVelocity = 5
///   GibWoundLimit = 5

the /// instead of // is just something I always do for some reason...


Fri Jan 21, 2011 10:32 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 16 posts ]  Go to page Previous  1, 2

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.044s | 13 Queries | GZIP : Off ]