Author |
Message |
GoreTaco
Joined: Tue May 27, 2008 2:28 am Posts: 32
|
My Gun Won't Work
My gun doesn't seem to work, I'm using Darkstorm sprites as a place holder for now, I do have my own. Here's the code: Devices: Code: IncludeFile = Fascist.rte/76-SI/ammo.ini
AddEffect = MOSRotating InstanceName = 76-SI Gib A Mass = 0.5 Sharpness = 1 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = DarkStorm.rte/D31BattleRifle/D31BattleRifleGibA.bmp FrameCount = 1 AngularVel = 60 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff StructuralIntegrity = 350 Resolution = 4 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff StructuralIntegrity = 300 Resolution = 4 Depth = 2 DeepCheck = 0 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Dark Micro A Count = 9 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibImpulseLimit = 2500 GibWoundLimit = 5
AddEffect = MOSRotating InstanceName = D31BattleRifle Gib B Mass = 0.5 Sharpness = 1 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = DarkStorm.rte/D31BattleRifle/D31BattleRifleGibB.bmp FrameCount = 1 AngularVel = 60 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff StructuralIntegrity = 300 Resolution = 4 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff StructuralIntegrity = 300 Resolution = 4 Depth = 2 DeepCheck = 0 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Dark Micro A Count = 9 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibImpulseLimit = 2500 GibWoundLimit = 5
AddEffect = MOSRotating InstanceName = D31BattleRifle Gib C Mass = 0.5 Sharpness = 1 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = DarkStorm.rte/D31BattleRifle/D31BattleRifleGibC.bmp FrameCount = 1 AngularVel = 60 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff StructuralIntegrity = 300 Resolution = 4 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff StructuralIntegrity = 300 Resolution = 4 Depth = 2 DeepCheck = 0 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Dark Micro A Count = 9 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibImpulseLimit = 2500 GibWoundLimit = 5
AddEffect = MOSRotating InstanceName = D31BattleRifle Gib D Mass = 0.5 Sharpness = 1 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = DarkStorm.rte/D31BattleRifle/D31BattleRifleGibD.bmp FrameCount = 1 AngularVel = 60 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff StructuralIntegrity = 300 Resolution = 4 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff StructuralIntegrity = 300 Resolution = 4 Depth = 2 DeepCheck = 0 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Dark Micro A Count = 9 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibImpulseLimit = 2500 GibWoundLimit = 5
AddDevice = HDFirearm InstanceName = 76-Standard Issue AddToGroup = Weapons AddToGroup = Glorious Fascist Arms Mass = 3.6 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = Fascist.rte/76-SI/76-SI000.bmp FrameCount = 2 SpriteOffset = Vector X = -16.5 Y = -6.5 EntryWound = AEmitter CopyOf = Dent DarkStorm ExitWound = AEmitter CopyOf = Dent DarkStorm GoldCost = 40 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff StructuralIntegrity = 500 Resolution = 4 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff StructuralIntegrity = 300 Resolution = 4 Depth = 10 DeepCheck = 1 JointStrength = 500 JointStiffness = 0.7 JointOffset = Vector X = -6 Y = 3 DrawAfterParent = 0 OneHanded = 0 StanceOffset = Vector X = 6 Y = 8 SharpStanceOffset = Vector X = 8 Y = 1 SupportOffset = Vector X = 1 Y = 3 SharpLength = 250 Magazine = Magazine CopyOf = Magazine D31BattleRifle Flash = Attachable CopyOf = Muzzle Flash SMG FireSound = Sound AddSample = ContentFile FilePath = Fascist.rte/76-SI/76-SIfire.wav EmptySound = Sound AddSample = ContentFile FilePath = Fascist.rte/76-SI/76-SIempty.wav ReloadStartSound = Sound AddSample = ContentFile FilePath = Fasicst.rte/76-SI/76-SIout.wav ReloadEndSound = Sound AddSample = ContentFile FilePath = Fascist.rte/76-SI/76-SIin.wav RateOfFire = 800 ReloadTime = 1700 FullAuto = 1 FireIgnoresThis = 1 ShakeRange = 5 SharpShakeRange = 0 NoSupportFactor = 3 ParticleSpreadRange = 1 ShellSpreadRange = 8 ShellAngVelRange = 2 MuzzleOffset = Vector X = 19 Y = 0 EjectionOffset = Vector X = 0 Y = 0 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 Dark Micro A Count = 6 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Dark Micro A Count = 5 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSRotating CopyOf = D31BattleRifle Gib A Count = 1 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSRotating CopyOf = D31BattleRifle Gib B Count = 1 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSRotating CopyOf = D31BattleRifle Gib C Count = 1 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSRotating CopyOf = D31BattleRifle Gib D Count = 1 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 GibWoundLimit = 20 GibImpulseLimit = 5000 Ammo: Code: AddAmmo = Round InstanceName = Round 76-SI ParticleCount = 1 Particle = MOPixel InstanceName = Particle 76-SI Mass = 0.0095 RestThreshold = 500 LifeTime = 700 Sharpness = 330 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 153 G = 143 B = 143 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 165 G = 155 B = 155 TrailLength = 25 Shell = None FireVelocity = 160 ShellVelocity = 10 Separation = 0
AddAmmo = Round InstanceName = Round 76-SI Tracer ParticleCount = 1 Particle = MOPixel InstanceName = Particle 76-SI Tracer Mass = 0.0095 RestThreshold = 500 LifeTime = 675 Sharpness = 350 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 257 G = 247 B = 147 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 265 G = 255 B = 159 TrailLength = 45 Shell = None FireVelocity = 165 ShellVelocity = 10 Separation = 0
AddAmmo = MOSParticle InstanceName = Magazine 76-SI Gib A Mass = 0.2 RestThreshold = -500 LifeTime = 3000 Sharpness = 0.1 HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = DarkStorm.rte/D31BattleRifle/D31BattleRifleMagGibA.bmp FrameCount = 13 SpriteOffset = Vector X = 0 Y = 0 AngularVel = 0 Atom = Atom Material = Material CopyOf = Military Stuff StructuralIntegrity = 300 TrailLength = 0 Framerate = 0
AddAmmo = MOSParticle InstanceName = Magazine 76-SI Gib B Mass = 0.2 RestThreshold = -500 LifeTime = 3000 Sharpness = 0.1 HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = DarkStorm.rte/D31BattleRifle/D31BattleRifleMagGibB.bmp FrameCount = 15 SpriteOffset = Vector X = 0 Y = 0 AngularVel = 0 Atom = Atom Material = Material CopyOf = Military Stuff StructuralIntegrity = 300 TrailLength = 0 Framerate = 0
AddAmmo = Magazine InstanceName = Magazine 76-SI Mass = 0.32 HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = DarkStorm.rte/D31BattleRifle/D31BattleRifleMag.bmp FrameCount = 1 SpriteOffset = Vector X = -2.5 Y = -4.5 EntryWound = AEmitter CopyOf = Dent DarkStorm ExitWound = AEmitter CopyOf = Dent DarkStorm AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff StructuralIntegrity = 300 Resolution = 2 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff StructuralIntegrity = 300 Resolution = 3 Depth = 1 DeepCheck = 1 JointStrength = 200 JointStiffness = 1 JointOffset = Vector X = 0 Y = -5 ParentOffset = Vector X = -12 Y = -1 DrawAfterParent = 0 RoundCount = 30 RTTRatio = 4 RegularRound = Round CopyOf = Round D31BattleRifle 7.62x51mm Caseless TracerRound = Round CopyOf = Round D31BattleRifle 7.62x51mm Caseless Tracer GibImpulseLimit = 0.0001 AddGib = Gib GibParticle = MOSParticle CopyOf = Magazine D31BattleRifle Gib A Count = 1 Spread = 2.25 MaxVelocity = 5 MinVelocity = 1 AddGib = Gib GibParticle = MOSParticle CopyOf = Magazine D31BattleRifle Gib B Count = 1 Spread = 2.25 MaxVelocity = 5 MinVelocity = 1 Index: Code: DataModule IncludeFile = Fascist.rte/76-SI/devices.ini
|
Fri Jul 25, 2008 6:52 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: My Gun Won't Work
The uh, error would help.
|
Fri Jul 25, 2008 7:48 am |
|
|
Darlos9D
Joined: Mon Jul 16, 2007 9:50 am Posts: 1512 Location: Tallahassee, FL
|
Re: My Gun Won't Work
Yeah. Especially since you're basically using my code, I could tell you whats wrong right away, if I knew the error.
|
Fri Jul 25, 2008 12:52 pm |
|
|
GoreTaco
Joined: Tue May 27, 2008 2:28 am Posts: 32
|
Re: My Gun Won't Work
It gave the one that gives you the option to close and debug. My computer crashed so I couldn't get a screenshot. I'll try again.
|
Fri Jul 25, 2008 2:44 pm |
|
|
GoreTaco
Joined: Tue May 27, 2008 2:28 am Posts: 32
|
Re: My Gun Won't Work
I tried again and it made this instead:
|
Fri Jul 25, 2008 2:51 pm |
|
|
Darlos9D
Joined: Mon Jul 16, 2007 9:50 am Posts: 1512 Location: Tallahassee, FL
|
Re: My Gun Won't Work
As logic would have it, this error message implies there's something wrong with this line in your index.rte.
IncludeFile = Fascist.rte/76-SI/devices.ini
You must have a file or folder name wrong, or have something in the wrong place.
|
Fri Jul 25, 2008 3:05 pm |
|
|
Gotcha!
Joined: Tue Apr 01, 2008 4:49 pm Posts: 1972 Location: The Netherlands
|
Re: My Gun Won't Work
Do a search in your ini's on Fasicst. ReloadStartSound = Sound AddSample = ContentFile FilePath = Fasicst.rte/76-SI/76-SIout.wavKeep an eye on your typing, GoreTaco.
|
Fri Jul 25, 2008 4:12 pm |
|
|
Tealord
Joined: Sun Jun 03, 2007 10:12 am Posts: 86 Location: Finland
|
Re: My Gun Won't Work
I just couldnt resist not answering on this one, sorry in advance : DDD
Whatever you do, dont point at your face with that gun, it might then work xD
|
Tue Aug 05, 2008 3:25 pm |
|
|
Mushroom head
Joined: Thu Jun 21, 2007 8:37 pm Posts: 215 Location: Hangar 18, somewhere in finland
|
Re: My Gun Won't Work
Tealord, is that helpful in your opinion?
|
Tue Aug 05, 2008 3:39 pm |
|
|
The Fat Sand Rat
Joined: Sun Apr 15, 2007 5:56 am Posts: 1191 Location: outside the shithole called the University in the Forest
|
Re: My Gun Won't Work
Tealord wrote: I just couldnt resist not answering on this one, sorry in advance : DDD
Whatever you do, dont point at your face with that gun, it might then work xD You're an idiot. Please clean a loaded shotgun with the barrel pointed towards you. GoreTaco, in the future, keep the names simple and easy to spell. The fewer letters, the harder it is to screw up.
|
Tue Aug 05, 2008 4:16 pm |
|
|
|