View unanswered posts | View active topics It is currently Wed May 08, 2024 5:04 pm



Reply to topic  [ 2 posts ] 
 Error reading line 
Author Message

Joined: Sun Nov 22, 2009 11:10 am
Posts: 1
Reply with quote
Post 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


Sun Nov 22, 2009 11:19 am
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Error reading line
Whe nit's on line 1, it's usually a problem with the previously loaded file.


Sun Nov 22, 2009 12:49 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.047s | 17 Queries | GZIP : Off ]