Data Realms Fan Forums http://45.55.195.193/ |
|
No tracer round http://45.55.195.193/viewtopic.php?f=1&t=46114 |
Page 1 of 1 |
Author: | Greenclone [ Thu Dec 29, 2016 4:07 am ] |
Post subject: | No tracer round |
I made a gun, its a four round burst battle rifle thingy, but for some reason it won't fire the tracer round. I am sure it has nothing to do with the script i have tried it disabled and enabled. Code: ///////////// // Rounds AddEffect = MOPixel PresetName = Dummy Battle Rifle Bullet Mass = 0.2 AirResistance = 0.02 LifeTime = 1000 Sharpness = 10 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 210 G = 198 B = 178 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 198 G = 198 B = 128 TrailLength = 40 AddEffect = MOPixel PresetName = Dummy Battle Rifle Bullet Tracer Mass = 0.25 AirResistance = 0.02 LifeTime = 1000 Sharpness = 11 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 255 G = 225 B = 0 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 255 G = 226 B = 0 TrailLength = 50 AddAmmo = Round PresetName = Dummy Battle Rifle Round ParticleCount = 1 Particle = MOPixel CopyOf = Dummy Battle Rifle Bullet Shell = MOSParticle CopyOf = Casing FireVelocity = 135 ShellVelocity = 13 Separation = 0 AddAmmo = Round PresetName = Dummy Battle Rifle Tracer ParticleCount = 2 Particle = MOPixel CopyOf = Dummy Battle Rifle Tracer Shell = MOSParticle CopyOf = Casing FireVelocity = 135 ShellVelocity = 13 Separation = 0 ///////////// // Magazines AddAmmo = Magazine PresetName = Magazine BattleRifle Mass = 1 HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = Campaign.rte/Factions/Dummies/Devices/Sprites/BattleRifleMag.bmp FrameCount = 1 SpriteOffset = Vector X = -2 Y = -3 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Bullet Metal Resolution = 2 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Bullet Metal Resolution = 3 Depth = 1 DeepCheck = 0 JointStrength = 200 JointStiffness = 1 JointOffset = Vector X = 0 Y = 0 ParentOffset = Vector X = -10 Y = 4 DrawAfterParent = 0 RoundCount = 32 RTTRatio = 4 RegularRound = Round CopyOf = Dummy Battle Rifle Round TracerRound = Round CopyOf = Dummy Battle Rifle Tracer ////////// // Devices AddDevice = HDFirearm PresetName = Dummy Battle Rifle Description = Bullet-based burst rifle, fires in 4 round burst and best suited for long range. AddToGroup = Weapons AddToGroup = Primary Weapons AddToGroup = Light Weapons //ScriptPath = Campaign.rte/Factions/Dummies/Devices/Scripts/Burst.lua Mass = 12 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = Campaign.rte/Factions/Dummies/Devices/Sprites/BattleRifleA.bmp FrameCount = 2 SpriteOffset = Vector X = -12 Y = -5 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal GoldValue = 90 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 = 10 DeepCheck = 0 JointStrength = 100 JointStiffness = 0.5 JointOffset = Vector X = -4 Y = 4 DrawAfterParent = 0 StanceOffset = Vector X = 3 Y = 4 SharpStanceOffset = Vector X = 7 Y = -1 SupportOffset = Vector X = 3 Y = 4 SharpLength = 250 Magazine = Magazine CopyOf = Magazine BattleRifle Flash = Attachable CopyOf = Muzzle Flash SMG FireSound = Sound AddSample = ContentFile FilePath = Campaign.rte/Factions/Dummies/Devices/Sounds/BattleRifleFire1.wav EmptySound = Sound AddSample = ContentFile FilePath = Base.rte/Devices/EmptyClick3.wav ReloadStartSound = Sound AddSample = ContentFile FilePath = Campaign.rte/Factions/Dummies/Devices/Sounds/BattleRifleReloadStart.wav ReloadEndSound = Sound AddSample = ContentFile FilePath = Campaign.rte/Factions/Dummies/Devices/Sounds/BattleRifleReloadEnd.wav RateOfFire = 1000 ReloadTime = 2000 FullAuto = 1 FireIgnoresThis = 1 ShakeRange = 4 SharpShakeRange = 3 NoSupportFactor = 2.5 ParticleSpreadRange = 0.3 ShellSpreadRange = 8 ShellAngVelRange = 2 MuzzleOffset = Vector X = 12 Y = -1 EjectionOffset = Vector X = 3 Y = 1 AddGib = Gib GibParticle = MOSRotating CopyOf = Coalition Weapons Gib H Offset = Vector X = 0 Y = 0 AddGib = Gib GibParticle = MOSRotating CopyOf = Coalition Weapons Gib I Offset = Vector X = -3 Y = -3 AddGib = Gib GibParticle = MOSRotating CopyOf = Coalition Weapons Gib A Offset = Vector X = -7 Y = -1 AddGib = Gib GibParticle = MOSRotating CopyOf = Coalition Weapons Gib I Offset = Vector X = -4.5 Y = 1 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 5 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 2 Count = 6 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Drop Oil Count = 5 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Rust Micro A Count = 2 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Grey Micro A Count = 2 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibWoundLimit = 9 |
Author: | RandomCoderZ [ Thu Dec 29, 2016 7:35 am ] |
Post subject: | Re: No tracer round |
Greenclone wrote: I made a gun, its a four round burst battle rifle thingy, but for some reason it won't fire the tracer round. I am sure it has nothing to do with the script i have tried it disabled and enabled. Code: ///////////// // Rounds AddEffect = MOPixel PresetName = Dummy Battle Rifle Bullet Mass = 0.2 AirResistance = 0.02 LifeTime = 1000 Sharpness = 10 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 210 G = 198 B = 178 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 198 G = 198 B = 128 TrailLength = 40 AddEffect = MOPixel PresetName = Dummy Battle Rifle Bullet Tracer Mass = 0.25 AirResistance = 0.02 LifeTime = 1000 Sharpness = 11 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 255 G = 225 B = 0 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 255 G = 226 B = 0 TrailLength = 50 AddAmmo = Round PresetName = Dummy Battle Rifle Round ParticleCount = 1 Particle = MOPixel CopyOf = Dummy Battle Rifle Bullet Shell = MOSParticle CopyOf = Casing FireVelocity = 135 ShellVelocity = 13 Separation = 0 AddAmmo = Round PresetName = Dummy Battle Rifle Tracer ParticleCount = 2 Particle = MOPixel CopyOf = Dummy Battle Rifle Tracer Shell = MOSParticle CopyOf = Casing FireVelocity = 135 ShellVelocity = 13 Separation = 0 ///////////// // Magazines AddAmmo = Magazine PresetName = Magazine BattleRifle Mass = 1 HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = Campaign.rte/Factions/Dummies/Devices/Sprites/BattleRifleMag.bmp FrameCount = 1 SpriteOffset = Vector X = -2 Y = -3 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Bullet Metal Resolution = 2 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Bullet Metal Resolution = 3 Depth = 1 DeepCheck = 0 JointStrength = 200 JointStiffness = 1 JointOffset = Vector X = 0 Y = 0 ParentOffset = Vector X = -10 Y = 4 DrawAfterParent = 0 RoundCount = 32 RTTRatio = 4 RegularRound = Round CopyOf = Dummy Battle Rifle Round TracerRound = Round CopyOf = Dummy Battle Rifle Tracer ////////// // Devices AddDevice = HDFirearm PresetName = Dummy Battle Rifle Description = Bullet-based burst rifle, fires in 4 round burst and best suited for long range. AddToGroup = Weapons AddToGroup = Primary Weapons AddToGroup = Light Weapons //ScriptPath = Campaign.rte/Factions/Dummies/Devices/Scripts/Burst.lua Mass = 12 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = Campaign.rte/Factions/Dummies/Devices/Sprites/BattleRifleA.bmp FrameCount = 2 SpriteOffset = Vector X = -12 Y = -5 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal GoldValue = 90 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 = 10 DeepCheck = 0 JointStrength = 100 JointStiffness = 0.5 JointOffset = Vector X = -4 Y = 4 DrawAfterParent = 0 StanceOffset = Vector X = 3 Y = 4 SharpStanceOffset = Vector X = 7 Y = -1 SupportOffset = Vector X = 3 Y = 4 SharpLength = 250 Magazine = Magazine CopyOf = Magazine BattleRifle Flash = Attachable CopyOf = Muzzle Flash SMG FireSound = Sound AddSample = ContentFile FilePath = Campaign.rte/Factions/Dummies/Devices/Sounds/BattleRifleFire1.wav EmptySound = Sound AddSample = ContentFile FilePath = Base.rte/Devices/EmptyClick3.wav ReloadStartSound = Sound AddSample = ContentFile FilePath = Campaign.rte/Factions/Dummies/Devices/Sounds/BattleRifleReloadStart.wav ReloadEndSound = Sound AddSample = ContentFile FilePath = Campaign.rte/Factions/Dummies/Devices/Sounds/BattleRifleReloadEnd.wav RateOfFire = 1000 ReloadTime = 2000 FullAuto = 1 FireIgnoresThis = 1 ShakeRange = 4 SharpShakeRange = 3 NoSupportFactor = 2.5 ParticleSpreadRange = 0.3 ShellSpreadRange = 8 ShellAngVelRange = 2 MuzzleOffset = Vector X = 12 Y = -1 EjectionOffset = Vector X = 3 Y = 1 AddGib = Gib GibParticle = MOSRotating CopyOf = Coalition Weapons Gib H Offset = Vector X = 0 Y = 0 AddGib = Gib GibParticle = MOSRotating CopyOf = Coalition Weapons Gib I Offset = Vector X = -3 Y = -3 AddGib = Gib GibParticle = MOSRotating CopyOf = Coalition Weapons Gib A Offset = Vector X = -7 Y = -1 AddGib = Gib GibParticle = MOSRotating CopyOf = Coalition Weapons Gib I Offset = Vector X = -4.5 Y = 1 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 5 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 2 Count = 6 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Drop Oil Count = 5 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Rust Micro A Count = 2 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Grey Micro A Count = 2 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibWoundLimit = 9 Hello, You are using a faulty "CopyOf". The bullet you are using is named "Dummy Battle Rifle Bullet Tracer" But in round you try to copy "Dummy Battle Rifle Tracer" |
Author: | Greenclone [ Thu Dec 29, 2016 5:50 pm ] |
Post subject: | Re: No tracer round |
well I feel like an idiot Thank you very much! |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |