Author |
Message |
olo
Joined: Sun Feb 20, 2011 7:31 pm Posts: 21
|
Re: Dual wielding shotguns
Code: AddDevice = HDFirearm PresetName = MDC Gatling Gun Description = MDC's portable gatling gun. Originally designed to be mounted on turrets, but because of technical difficulties causing turrets to malfunction when using said guns, it was converted for infantry usage. AddToGroup = Weapons AddToGroup = MaximDude Corp. Mass = 56 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = MDC.rte/Devices/GatlingGun/GatlingGun.bmp FrameCount = 3 SpriteOffset = Vector X = -16 Y = -7 SpriteAnimMode = 4 SpriteAnimDuration = 500 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal GoldValue = 120 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 = 75 JointStiffness = 0.5 JointOffset = Vector X = -7 Y = 3 DrawAfterParent = 0 [color=#00FF80]OneHanded = 1[/color] StanceOffset = Vector X = 3 Y = 8 SharpStanceOffset = Vector X = 2 Y = 6 SupportOffset = Vector X = -2 Y = -3 SharpLength = 100 Magazine = Magazine CopyOf = Gatling Gun Magazine Flash = Attachable CopyOf = Muzzle Flash Shotgun FireSound = Sound AddSample = ContentFile FilePath = MDC.rte/Devices/GatlingGun/Fire.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 = 1450 ActivationDelay = 1100 DeactivationDelay = 1000 ActiveSound = Sound AddSample = ContentFile FilePath = Coalition.rte/Effects/Sounds/SpinSound.wav LoopSetting = -1
ReloadTime = 3000 FullAuto = 1 FireIgnoresThis = 1 ShakeRange = 7 SharpShakeRange = 5 NoSupportFactor = 4 ParticleSpreadRange = 0.8 ShellSpreadRange = 8 ShellAngVelRange = 2 MuzzleOffset = Vector X = 16 Y = -1 EjectionOffset = Vector X = -10 Y = -3 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 8 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 2 Count = 10 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Drop Oil Count = 8 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Rust Micro A Count = 16 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Grey Micro A Count = 10 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibWoundLimit = 7 With my changes Code: AddDevice = HDFirearm PresetName = MDC Gatling Gun Description = MDC's portable gatling gun. Originally designed to be mounted on turrets, but because of technical difficulties causing turrets to malfunction when using said guns, it was converted for infantry usage. AddToGroup = Weapons AddToGroup = MaximDude Corp. Mass = 56 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = MDC.rte/Devices/GatlingGun/GatlingGun.bmp FrameCount = 3 SpriteOffset = Vector X = -16 Y = -7 SpriteAnimMode = 4 SpriteAnimDuration = 500 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal GoldValue = 120 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 = 75 JointStiffness = 0.5 JointOffset = Vector X = -7 Y = 3 DrawAfterParent = 0 OneHanded = 1 StanceOffset = Vector X = 3 Y = 8 SharpStanceOffset = Vector X = 2 Y = 6 SupportOffset = Vector X = -2 Y = -3 SharpLength = 100 Magazine = Magazine CopyOf = Gatling Gun Magazine Flash = Attachable CopyOf = Muzzle Flash Shotgun FireSound = Sound AddSample = ContentFile FilePath = MDC.rte/Devices/GatlingGun/Fire.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 = 1450 ActivationDelay = 1100 DeactivationDelay = 1000 ActiveSound = Sound AddSample = ContentFile FilePath = Coalition.rte/Effects/Sounds/SpinSound.wav LoopSetting = -1
ReloadTime = 3000 FullAuto = 1 FireIgnoresThis = 1 ShakeRange = 7 SharpShakeRange = 5 NoSupportFactor = 4 ParticleSpreadRange = 0.8 ShellSpreadRange = 8 ShellAngVelRange = 2 MuzzleOffset = Vector X = 16 Y = -1 EjectionOffset = Vector X = -10 Y = -3 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 8 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 2 Count = 10 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Drop Oil Count = 8 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Rust Micro A Count = 16 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Grey Micro A Count = 10 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibWoundLimit = 7
AddDevice = HDFirearm PresetName = MDC Gatling Gun OffHand Description = MDC's portable gatling gun. Originally designed to be mounted on turrets, but because of technical difficulties causing turrets to malfunction when using said guns, it was converted for infantry usage. AddToGroup = Shields AddToGroup = MaximDude Corp. Mass = 56 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = MDC.rte/Devices/GatlingGun/GatlingGun.bmp FrameCount = 3 SpriteOffset = Vector X = -16 Y = -7 SpriteAnimMode = 4 SpriteAnimDuration = 500 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal GoldValue = 120 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 = 75 JointStiffness = 0.5 JointOffset = Vector X = -7 Y = 3 DrawAfterParent = 0 OneHanded = 1 StanceOffset = Vector X = 3 Y = 8 SharpStanceOffset = Vector X = 2 Y = 6 SupportOffset = Vector X = -2 Y = -3 SharpLength = 100 Magazine = Magazine CopyOf = Gatling Gun Magazine Flash = Attachable CopyOf = Muzzle Flash Shotgun FireSound = Sound AddSample = ContentFile FilePath = MDC.rte/Devices/GatlingGun/Fire.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 = 1450 ActivationDelay = 1100 DeactivationDelay = 1000 ActiveSound = Sound AddSample = ContentFile FilePath = Coalition.rte/Effects/Sounds/SpinSound.wav LoopSetting = -1
ReloadTime = 3000 FullAuto = 1 FireIgnoresThis = 1 ShakeRange = 7 SharpShakeRange = 5 NoSupportFactor = 4 ParticleSpreadRange = 0.8 ShellSpreadRange = 8 ShellAngVelRange = 2 MuzzleOffset = Vector X = 16 Y = -1 EjectionOffset = Vector X = -10 Y = -3 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 8 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 2 Count = 10 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Drop Oil Count = 8 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Rust Micro A Count = 16 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Grey Micro A Count = 10 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibWoundLimit = 7 Now I 'm having this error "could not match property at line 196 "[/color]
Last edited by olo on Mon Aug 13, 2012 1:16 pm, edited 8 times in total.
|
Mon Aug 13, 2012 2:29 am |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Re: Dual wielding shotguns
In which line do you get the error? Also, is it correctly tabbed?
Remember to use the code tags ([code][/code]) to display code correctly.
|
Mon Aug 13, 2012 2:34 am |
|
|
Miggles
Data Realms Elite
Joined: Mon Jul 12, 2010 5:39 am Posts: 4558
|
Re: Dual wielding shotguns
1: There's a bracket on the very first line of your code. 2: The entire Gatling Gun Offhand definition is out of syntax. Copy the other one, paste it over the current one, rename it and add OneHanded = 1 and change AddToGroup = Weapons to AddToGroup = Shields
|
Mon Aug 13, 2012 5:50 am |
|
|
olo
Joined: Sun Feb 20, 2011 7:31 pm Posts: 21
|
Re: Dual wielding shotguns
Miggles wrote: 1: There's a bracket on the very first line of your code. 2: The entire Gatling Gun Offhand definition is out of syntax. Copy the other one, paste it over the current one, rename it and add OneHanded = 1 and change AddToGroup = Weapons to AddToGroup = Shields I uploaded this weapon ini file which I use , :-/ sorry out of syntax? everything was fine without OneHanded = 1 , when I add this it goes again http://www.speedyshare.com/8knZ2/GatlingGun.iniWhen I deleted OffHand copy of Gatling gun to make it original as you can see below than it gives me this error now "could not understand preset name " "at line 99" so this is F* up , whenever I change something and come back to original it gives me error on some other ini which I didn't touched Code: AddAmmo = Magazine PresetName = Gatling Gun Magazine Mass = 13 HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = MDC.rte/Devices/GatlingGun/Magazine.bmp FrameCount = 1 SpriteOffset = Vector X = -5 Y = -7 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 = 3 Depth = 1 DeepCheck = 0 JointStrength = 200 JointStiffness = 1 JointOffset = Vector X = -1 Y = -2 ParentOffset = Vector X = 0 Y = 0 DrawAfterParent = 0 RoundCount = 120 RTTRatio = 6 RegularRound = Round CopyOf = Gatling Gun Round AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 5 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Rust Micro A Count = 4 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibWoundLimit = 3
AddDevice = HDFirearm PresetName = MDC Gatling Gun Description = MDC's portable gatling gun. Originally designed to be mounted on turrets, but because of technical difficulties causing turrets to malfunction when using said guns, it was converted for infantry usage. AddToGroup = Weapons AddToGroup = MaximDude Corp. Mass = 56 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = MDC.rte/Devices/GatlingGun/GatlingGun.bmp FrameCount = 3 SpriteOffset = Vector X = -16 Y = -7 SpriteAnimMode = 4 SpriteAnimDuration = 500 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal GoldValue = 120 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 = 75 JointStiffness = 0.5 JointOffset = Vector X = -7 Y = 3 DrawAfterParent = 0 StanceOffset = Vector X = 3 Y = 8 SharpStanceOffset = Vector X = 2 Y = 6 SupportOffset = Vector X = -2 Y = -3 SharpLength = 100 Magazine = Magazine CopyOf = Gatling Gun Magazine Flash = Attachable CopyOf = Muzzle Flash Shotgun FireSound = Sound AddSample = ContentFile FilePath = MDC.rte/Devices/GatlingGun/Fire.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 = 1450 ActivationDelay = 1100 DeactivationDelay = 1000 ActiveSound = Sound AddSample = ContentFile FilePath = Coalition.rte/Effects/Sounds/SpinSound.wav LoopSetting = -1
ReloadTime = 3000 FullAuto = 1 FireIgnoresThis = 1 ShakeRange = 7 SharpShakeRange = 5 NoSupportFactor = 4 ParticleSpreadRange = 0.8 ShellSpreadRange = 8 ShellAngVelRange = 2 MuzzleOffset = Vector X = 16 Y = -1 EjectionOffset = Vector X = -10 Y = -3 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 8 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 2 Count = 10 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Drop Oil Count = 8 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Rust Micro A Count = 16 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Grey Micro A Count = 10 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibWoundLimit = 7
|
Mon Aug 13, 2012 12:39 pm |
|
|
Miggles
Data Realms Elite
Joined: Mon Jul 12, 2010 5:39 am Posts: 4558
|
Re: Dual wielding shotguns
You put OneHanded right in the middle of the offsets section. Try putting it right above ReloadTime.
|
Tue Aug 14, 2012 3:05 am |
|
|
olo
Joined: Sun Feb 20, 2011 7:31 pm Posts: 21
|
Re: Dual wielding shotguns
Miggles wrote: You put OneHanded right in the middle of the offsets section. Try putting it right above ReloadTime. "could not understand preset type" line 132
|
Tue Aug 14, 2012 12:20 pm |
|
|
Miggles
Data Realms Elite
Joined: Mon Jul 12, 2010 5:39 am Posts: 4558
|
Re: Dual wielding shotguns
Urgh. Give us the current .ini IN DOWNLOAD FORM, NOT A MASSIVE CODEPOST, WE CANT LOOK AT LINE 132 FROM THERE
|
Tue Aug 14, 2012 2:43 pm |
|
|
olo
Joined: Sun Feb 20, 2011 7:31 pm Posts: 21
|
Re: Dual wielding shotguns
|
Tue Aug 14, 2012 3:28 pm |
|
|
Miggles
Data Realms Elite
Joined: Mon Jul 12, 2010 5:39 am Posts: 4558
|
Re: Dual wielding shotguns
|
Tue Aug 14, 2012 3:34 pm |
|
|
olo
Joined: Sun Feb 20, 2011 7:31 pm Posts: 21
|
Re: Dual wielding shotguns
did it worked for you? for me no
|
Tue Aug 14, 2012 7:42 pm |
|
|
Miggles
Data Realms Elite
Joined: Mon Jul 12, 2010 5:39 am Posts: 4558
|
Re: Dual wielding shotguns
Give us the damn error every time you find one, please.
|
Tue Aug 14, 2012 8:04 pm |
|
|
olo
Joined: Sun Feb 20, 2011 7:31 pm Posts: 21
|
Re: Dual wielding shotguns
Miggles wrote: Give us the damn error every time you find one, please. it's the same , you mean this "could not understand preset type" line 132 ???
|
Tue Aug 14, 2012 9:31 pm |
|
|
Miggles
Data Realms Elite
Joined: Mon Jul 12, 2010 5:39 am Posts: 4558
|
Re: Dual wielding shotguns
I don't know what's wrong.
|
Tue Aug 14, 2012 9:35 pm |
|
|
olo
Joined: Sun Feb 20, 2011 7:31 pm Posts: 21
|
Re: Dual wielding shotguns
Ok guys lmao the problem was not using "TAB" but "space" no I can weild everything.
|
Tue Aug 14, 2012 11:04 pm |
|
|
|