as it says in the title when i go to start my game with my first gun the game crashes when it gets to loading my mod and then syas it crashed on line 1 but to my knowlege there is nothing wrong with line 1 any help plz

What error does it give? E.G Missing property on line 1Also, the line of code in question might be helpful.

Tue May 06, 2014 11:23 pm

jonah12888

Joined: Fri May 02, 2014 8:04 pmPosts: 3

Re: weapon ini crashes on line 1

the error message says " could not match property error happened in AI.rte/devices/m4/m4.ini at line 1the file is

AddAmmo = Round // Creates a round that can be used by an HDFirearm. InstanceName = M4 Round // what the name of the round will be. ParticleCount = 1 // how many particles will be created when this round is fired. Particle = MOPixel // What type of particle will be fired. InstanceName = M4 Bullet // what the name of the particle will be. Mass = 0.05 // How heavy the particle will be in kilograms. AirResistance = 0.018 // Will slow down the bullet every frame, I don't exactly know by how much. GlobalAccScalar = 0.1 // How will gravity affect the bullet (can be applied to other objects as well) for example(0 : no gravity ; 0.5 half gravity ; -1 inverse gravity) RestThreshold = 500 // After how many thousandths of a second vith no velocity and in contact with the terrain it will become terrain. LifeTime = 500 // How long the particle will exist in thousandths of a second, before it ceases to exist. Sharpness = 150 // How much penetration the particle will have, refer to ( viewtopic.php?f=1&t=14662 ) for more information. HitsMOs = 1 // Will it hit other objects? 1 = yes, 0 = no. GetsHitByMOs = 0 // Will it get hit by other objects? 1 = yes, 0 = no. Never set a MOPixel to GetsHitByMOs = 1, the game will crash. Color = Color // The colour of the pixel. R = 143 // The amount of Red in the colour. G = 143 // The amount of Green in the colour. B = 143 // The amount of Blue in the colour. Atom = Atom // Defines what the particle is made out of. Material = Material // What material the particle is made out of. CopyOf = Bullet Metal // Insert material here. TrailColor = Color // Colour of the rounds motion trail. R = 155 // The amount of Red in the colour. G = 155 // The amount of Green in the colour. B = 155 // The amount of Blue in the colour. TrailLength = 15 // How long the trail will be, in pixels when velocity = 100. Cannot exceed the distance that the pixel travels in one frame update. ScreenEffect = ContentFile // Defines what glow effect is displayed. FilePath = Base.rte/Effects/Glows/YellowTiny.bmp // The location of the .bmp file used to create the glow. EffectStartTime = 0 // How long the effect will take to be displayed, in thousandths of a second, after the particle is created. EffectStartStrength = 0.7 // At what opacity the effect will start out in. EffectStopTime = 100 // How long the effect will take to stop, in thousandths of a second, after the particle is created. EffectStopStrength = 0.0 // At what opacity the effect will end at. will fade to this opacity for the duration of the particles existence. Shell = AEmitter // Defines what type of particle will be created as a shell casing for the round. CopyOf = Casing // Insert particle here. FireVelocity = 120 // How fast the round will travel, in pixels, in one second. ShellVelocity = 10 // How fast the shell casing will travel, in pixels, in one second. Separation = 0 // Variation, in pixels of the original position of the particles the variation is parallel to the aim angle. Too much separation can make some particles appear behind the actor.

AddAmmo = Round // Creates a round that can be used by an HDFirearm. InstanceName = M4 Tracer Round // what the name of the round will be. ParticleCount = 1 // how many particles will be created when this round is fired. Particle = MOPixel // What type of particle will be fired. InstanceName = M4 Tracer // what the name of the particle will be. Mass = 0.05 // How heavy the particle will be in kilograms. AirResistance = 0.018 // Will slow down the bullet every frame, I don't exactly know by how much. GlobalAccScalar = 0.1 // How will gravity affect the bullet (can be applied to other objects as well) for example(0 : no gravity ; 0.5 half gravity ; -1 opposite gravity) RestThreshold = 500 // After how many thousandths of a second vith no velocity and in contact with the terrain it will become terrain. LifeTime = 500 // How long the particle will exist in thousandths of a second, before it ceases to exist. Sharpness = 150 // How much penetration the particle will have, refer to ( viewtopic.php?f=1&t=14662 ) for more information. HitsMOs = 1 // Will it hit other objects? 1 = yes, 0 = no. GetsHitByMOs = 0 // Will it get hit by other objects? 1 = yes, 0 = no. Never set a MOPixel to GetsHitByMOs = 1, the game will crash. Color = Color // The colour of the pixel. R = 183 // The amount of Red in the colour. G = 183 // The amount of Green in the colour. B = 183 // The amount of Blue in the colour. Atom = Atom // Defines what the particle is made out of. Material = Material // What material the particle is made out of. CopyOf = Bullet Metal // Insert material here. TrailColor = Color // Colour of the rounds motion trail. R = 255 // The amount of Red in the colour. G = 255 // The amount of Green in the colour. B = 255 // The amount of Blue in the colour. TrailLength = 35 // How long the trail will be, in pixels when velocity = 100. Cannot exceed the distance that the pixel travels in one frame update. ScreenEffect = ContentFile // Defines what glow effect is displayed. FilePath = Base.rte/Effects/Glows/YellowTiny.bmp // The location of the .bmp file used to create the glow. EffectStartTime = 0 // How long the effect will take to be displayed, in thousandths of a second, after the particle is created. EffectStartStrength = 1 // At what opacity the effect will start out in. EffectStopTime = 500 // How long the effect will take to stop, in thousandths of a second, after the particle is created. EffectStopStrength = 0.5 // At what opacity the effect will end at. will fade to this opacity for the duration of the particles existence. Shell = AEmitter // Defines what type of particle will be created as a shell casing for the round. CopyOf = Casing // Insert particle here. FireVelocity = 115 // How fast the round will travel, in pixels, in one second. ShellVelocity = 11 // How fast the shell casing will travel, in pixels, in one second. Separation = 0 // Variation, in pixels of the original position of the particles the variation is parallel to the aim angle. Too much separation can make some particles appear behind the actor.

AddAmmo = Magazine // Creates a Magazine that can be used by an HDFirearm. InstanceName = M4 Magazine // What the name of the magazine will be. Mass = 2 // How heavy the Magazine will be in kilograms. HitsMOs = 0 // Will it hit other objects? 1 = yes, 0 = no. GetsHitByMOs = 0 // Will it get hit by other objects? 1 = yes, 0 = no. SpriteFile = ContentFile // Defines what sprite will be used. FilePath = AI.rte/Devices/M4/M4mag.bmp // The location of the .bmp file used to create the magazine. FrameCount = 1 // How many frames the magazine will have. Add 000 after the first sprites name, then 001, 002, 003 etc. Eg pistol000, pistol001, pistol002 only if there are more than one frame. SpriteOffset = Vector // Defines where the sprite is located, from the upper left corner of the sprite. X = 0 // How far to the right the sprite will be located, in pixels. Negative is Left. Y = 0 // How far down the sprite will be located, in pixels. Negative is Up. ParentOffset = Vector // Defines where the object is located on the object it is attached to, from the upper left corner of the sprite. Here this object is an HDFirearm. X = -3 // How far to the right the Object will be located, in pixels. Negative is Left. Y = 0 // How far down the Object will be located, in pixels. Negative is Up. EntryWound = AEmitter // Defines the wound that the object has when it is penetrated by a pixel. CopyOf = Dent Metal // Insert wound here. ExitWound = AEmitter // Defines the wound that the object has when the pixel travels through the object and exits the other side. CopyOf = Dent Metal // Insert wound here. AtomGroup = AtomGroup // Defines what the object is made out of. AutoGenerate = 1 // Material = Material // What material the object is made out of. CopyOf = Bullet Metal // Insert material here. Resolution = 2 // Depth = 1 // JointStrength = 400 // The Amount of force required to break the joint between it and its parent object. JointStiffness = 1 // Defines the amount of force that will be transferred to the parent of this object(the pistol) if the magazine is hit (1 means full force, 0.5 half, -1 opposite) JointOffset = Vector // Defines where the joint is located, from the upper left corner of the sprite. X = 0 // How far to the right the joint will be located, in pixels. Negative is Left. Y = -3 // How far down the joint will be located, in pixels. Negative is Up. DrawAfterParent = 0 // will the object appear in front of the parent object? 1 = yes, 0 = no. RoundCount = 8 // Number of rounds contained in the Magazine RTTRatio = 4 // Round to tracer ratio. Number of regular rounds per tracer. 4 would mean 4 regular rounds fired, then a tracer, then repeat. RegularRound = Round // Defines the regular round. CopyOf = M4 Round // Insert Round Here. TracerRound = Round // Defines the tracer round. CopyOf = M4 Tracer Round // Insert Round Here. AddGib = Gib // Add a particle that appears when the object is destroyed. GibParticle = MOPixel // What type of particle is created. CopyOf = Spark Yellow 1 // Insert particle here. Count = 5 // Number of particles created. Spread = 2.25 // The angle in radians that defines the spread of the particles: 3.14(pi) means full circle, 1.57 means half circle, -1.57 means the other half circle. MaxVelocity = 20 // The maximum velocity that the particle will have, In pixels a second. MinVelocity = 8 // The minimum velocity that the particle will have, In pixels a second. AddGib = Gib // Add a particle that appears when the object is destroyed. GibParticle = MOSParticle // What type of particle is created. CopyOf = Gib Metal Rust Micro A // Insert particle here. Count = 4 // Number of particles created. Spread = 2.25 // The angle in radians that defines the spread of the particles: 3.14(pi) means full circle, 1.57 means half circle, -1.57 means the other half circle. MaxVelocity = 15 // The maximum velocity that the particle will have, In pixels a second. MinVelocity = 5 // The minimum velocity that the particle will have, In pixels a second. GibWoundLimit = 1 // The number of wounds that the object can sustain before being destroyed.

Who is online

Users browsing this forum: No registered users

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum