Data Realms Fan Forums
http://45.55.195.193/

Error reading line
http://45.55.195.193/viewtopic.php?f=1&t=17182
Page 1 of 1

Author:  Femmansol [ Sun Nov 22, 2009 11:19 am ]
Post subject:  Error reading line

Hello!

I'm making a mod right now but it doesn't seems to be working. First I made a new folder for it and put it in the CC root folder. I created an Index.ini-file and all that, this didn't work. Then I tried to put only the .ini-file in the Coalition pack, and wrote the file in the Index-file, but that didn't work either. I'm getting a crash after booting Cortex that "Someting went wrong reading the line in Cortex Command/.... When I had it in a separate folder I got an error in the Index.ini.-file. Then when I had it in Coalition I got an error in the weapon/mod-file. The crash always tells me that the fault lays on the first line, Line 1. I can't see anything wrong, I'll post my mod ini-file for you to see:

Code:
AddEffect = MOSParticle
   PresetName = Mark
   Mass = 30
   LifeTime = 650
   Sharpness = 3
   HitsMOs = 1
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = Coalition.rte/Devices/Sprites/Mark.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -9
      Y = -4
   AngularVel = 0
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Bullet Metal
      Resolution = 14
      Depth = 0
   DeepCheck = 0

AddAmmo = Round
   PresetName = Round HandCannon
   ParticleCount = 1
   Particle = MOParticle
      CopyOf = Mark
   Shell = None
   FireVelocity = 180
   ShellVelocity = 0
   Separation = 0

AddAmmo = Magazine
   PresetName = Magazine HandCannon
   Mass = 10
   HitsMOs = 1
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = Coalition.rte/Devices/Sprites/Mag.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -5
      Y = -9
   ParentOffset = Vector
      X = 2
      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 = 6
      Depth = 1
   DeepCheck = 0
   JointStrength = 800
   JointStiffness = 1
   JointOffset = Vector
      X = 0
      Y = 0
   DrawAfterParent = 0
   RoundCount = 50
   RTTRatio = 0
   RegularRound = Round
      CopyOf = Round HandCannon
   TracerRound = None

AddDevice = HDFirearm
   PresetName = HandCannon
   AddToGroup = Weapons
   Description = An amazing hand shoots out marquers.
   Mass = 8
   HitsMOs = 1
   GetsHitByMOs = 1
   SpriteFile = ContentFile
      FilePath = Coalition.rte/Devices/Sprites/HandCannon.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -28
      Y = -9
   EntryWound = AEmitter
      CopyOf = Dent Metal
   ExitWound = AEmitter
      CopyOf = Dent Metal
   GoldValue = 120
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 28
      Depth = 10
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 28
      Depth = 10
   DeepCheck = 0
   JointStrength = 100
   JointStiffness = 0.5
   JointOffset = Vector
      X = -5
      Y = 12
   DrawAfterParent = 0
   OneHanded = 1
   StanceOffset = Vector
      X = 4
      Y = 12
   SharpStanceOffset = Vector
      X = 4
      Y = 12
   SupportOffset = Vector
      X = 4
      Y = 12
   SharpLength = 130
   Magazine = Magazine
      CopyOf = Magazine HandCannon
   Flash = None
   FireSound = Sound
      AddSample = ContentFile
         FilePath = Base.rte/Devices/Pistols/BlasterFire.wav
   EmptySound = Sound
      AddSample = ContentFile
         FilePath = Base.rte/Devices/EmptyClick3.wav
   ReloadStartSound = Sound
      AddSample = ContentFile
         FilePath = Base.rte/Devices/ReloadStart.wav
   ReloadEndSound = Sound
      AddSample = ContentFile
         FilePath = Base.rte/Devices/ReloadEnd.wav
   RateOfFire = 650
   ReloadTime = 50
   FullAuto = 1
   FireIgnoresThis = 1
   ShakeRange = 5
   SharpShakeRange = 2
   NoSupportFactor = 1.5
   ParticleSpreadRange = 0.1
   ShellSpreadRange = 8
   ShellAngVelRange = 2
   MuzzleOffset = Vector
      X = 15
      Y = 0
   EjectionOffset = Vector
      X = 15
      Y = 0


Thank you!

Femmans

Author:  Lizardheim [ Sun Nov 22, 2009 12:49 pm ]
Post subject:  Re: Error reading line

Whe nit's on line 1, it's usually a problem with the previously loaded file.

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