Data Realms Fan Forums
http://45.55.195.193/

combining the coalition grenade launcher and mine troubles
http://45.55.195.193/viewtopic.php?f=1&t=25504
Page 1 of 1

Author:  NeoSeeker [ Tue Sep 13, 2011 5:12 pm ]
Post subject:  combining the coalition grenade launcher and mine troubles

what am i doing wrong here? basically i want a coalition grenade launcher that shoots coalition mines

Attachments:
minelayer.zip [1.71 KiB]
Downloaded 173 times

Author:  salt_1219 [ Tue Sep 13, 2011 5:15 pm ]
Post subject:  Re: combining the coalition grenade launcher and mine troubles

Whats the problem your having? Maybe i can help.
I would download it and see but im at work

Author:  NeoSeeker [ Tue Sep 13, 2011 6:02 pm ]
Post subject:  Re: combining the coalition grenade launcher and mine troubles

it doesn't recognize the mine for ammo

error at the bottom of this code quote


Code:
AddEffect = MOPixel
   PresetName = Coalition Mine Laser Particle
   Mass = 1
   PinStrength = 1000
   LifeTime = 200
   Sharpness = 0
   HitsMOs = 0
   GetsHitByMOs = 0
   Color = Color
      R = 255
      G = 0
      B = 255
   Atom = Atom
      Material = Material
         CopyOf = Air
      TrailColor = Color
         R = 255
         G = 0
         B = 255
      TrailLength = 1
   ScreenEffect = ContentFile
      FilePath = Coalition.rte/Effects/Glows/RedTiny.bmp
   EffectStartTime = 0
   EffectStopTime = 200
   EffectStopStrength = 0.0
   EffectAlwaysShows = 1

AddEffect = MOPixel
   CopyOf = Coalition Mine Laser Particle
   InstanceName = Coalition Mine Laser Particle 1
   EffectStartStrength = 0.1

AddEffect = MOPixel
   CopyOf = Coalition Mine Laser Particle
   InstanceName = Coalition Mine Laser Particle 2
   EffectStartStrength = 0.2

AddEffect = MOPixel
   CopyOf = Coalition Mine Laser Particle
   InstanceName = Coalition Mine Laser Particle 3
   EffectStartStrength = 0.3

AddEffect = MOPixel
   CopyOf = Coalition Mine Laser Particle
   InstanceName = Coalition Mine Laser Particle 4
   EffectStartStrength = 0.4

AddEffect = MOPixel
   CopyOf = Coalition Mine Laser Particle
   InstanceName = Coalition Mine Laser Particle 5
   EffectStartStrength = 0.5

AddEffect = MOPixel
   CopyOf = Coalition Mine Laser Particle
   InstanceName = Coalition Mine Laser Particle 6
   EffectStartStrength = 0.6

AddEffect = MOPixel
   CopyOf = Coalition Mine Laser Particle
   InstanceName = Coalition Mine Laser Particle 7
   EffectStartStrength = 0.7

AddEffect = AEmitter
   PresetName = Coalition Mine Sound Detonate
   Mass = 0
   PinStrength = 4000
   LifeTime = 5
   HitsMOs = 0
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = Base.rte/Null.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = 0
      Y = 0
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 2
      Depth = 5
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 3
      Depth = 5
   DeepCheck = 0
   JointStrength = 10000
   JointStiffness = 1
   DrawAfterParent = 1
   BurstSound = Sound
      AddSample = ContentFile
         FilePath = Coalition.rte/Effects/Sounds/MineDetonate.wav
   BurstTriggered = 1
   EmissionEnabled = 1
   Flash = None
   FlashOnlyOnBurst = 0

AddEffect = MOSRotating
   PresetName = Particle Coalition Mine
   Mass = 3
   HitsMOs = 0
   GetsHitByMOs = 0
   Sharpness = -1
   ScriptPath = Coalition.rte/Devices/Explosives/MineSet.lua
   SpriteFile = ContentFile
      FilePath = Coalition.rte/Devices/Sprites/Mine.bmp
   FrameCount = 10
   SpriteOffset = Vector
      X = -4
      Y = -3
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 2
      Depth = 0
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 4
      Depth = 10
   DeepCheck = 0
   GibSound = Sound
      AddSample = ContentFile
         Path = Base.rte/Sounds/Explode2.wav
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Glow Explosion Huge
      Count = 1
      Spread = 2.25
      MaxVelocity = 0.1
      MinVelocity = 0
      InheritsVel = 0
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Side Thruster Blast Ball 1
      Count = 10
      MinVelocity = 50
      MaxVelocity = 75
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Grenade Fragment Gray
      Count = 32
      Spread = 3.1
      MinVelocity = 50
      MaxVelocity = 60
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Grenade Fragment Yellow
      Count = 28
      Spread = 3.1
      MinVelocity = 50
      MaxVelocity = 60
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Air Blast
      Count = 50
      MinVelocity = 50
      MaxVelocity = 75
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Explosion Smoke 1
      Count = 15
      Spread = 3.1
      MaxVelocity = 10
      MinVelocity = 0
      LifeVariation = 0.50
      InheritsVel = 1
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Explosion Smoke 2
      Count = 10
      Spread = 3.1
      MaxVelocity = 12
      MinVelocity = 0
      LifeVariation = 0.50
      InheritsVel = 1

AddAmmo = Round
   PresetName = Round Coalition Mine Layer
   ParticleCount = 1
   Particle = AEmitter
      CopyOf = Particle Coalition Mine <----- this is what it gets an error on
   Shell = MOSParticle
      CopyOf = Small Smoke Ball 1
   FireVelocity = 19
   ShellVelocity = 0
   Separation = 5

Author:  salt_1219 [ Tue Sep 13, 2011 6:59 pm ]
Post subject:  Re: combining the coalition grenade launcher and mine troubles

Ok i will see what i can do, when i get home.
But i think your missing a chunk of code begining with
TDExplosive =

Author:  LordBistian [ Tue Sep 13, 2011 7:12 pm ]
Post subject:  Re: combining the coalition grenade launcher and mine troubles

Code:
   Particle = AEmitter
      CopyOf = Particle Coalition Mine


This states that the shot object is an AEmitter, whereas the actual Particle Coalition Mine is an MOSRotating.

Try Particle = MOSRotating

Author:  NeoSeeker [ Wed Sep 14, 2011 2:59 am ]
Post subject:  Re: combining the coalition grenade launcher and mine troubles

already tried that, it still doesn't recognize it... even though all the info is right there in the script



okay for some reason now it's working, thanks


now the next step would be enabling the IFF

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/