Data Realms Fan Forums
http://45.55.195.193/

Making a gold particle
http://45.55.195.193/viewtopic.php?f=1&t=19243
Page 1 of 1

Author:  Awesomeness [ Tue Jul 13, 2010 10:55 pm ]
Post subject:  Making a gold particle

I noticed that when you dig gold, sometimes little bits of gold will fly up and land somewhere else for you to dig. How do I make a particle considered gold by CC so that if it is ever dug up, you get money? (And while I'm at it, how you you set a weapon to be a 'digger' as in you get money when it rapes gold?)

Author:  CaveCricket48 [ Tue Jul 13, 2010 11:09 pm ]
Post subject:  Re: Making a gold particle

You don't "set" a variable to determine if a weapon can get gold. You can use a pistol to get gold if you wanted.

To make a MOPixel give you money like gold, you have to set it to the "Gold" material.

Author:  Awesomeness [ Wed Jul 14, 2010 12:48 am ]
Post subject:  Re: Making a gold particle

I'm making a gold gun with this, but it gives me could not match property errors at line 6 through 15:
Code:
AddAmmo = Round
   PresetName = Gold Drop
   ParticleCount = 4
   Particle = MOPixel
      PresetName = Gold Particle
   Mass = 0.0283495
   HitsMOs = 1
   GetsHitByMOs = 0
   Color = Color
      R = 255
      G = 247
      B = 0
   Atom = Atom
      Material = Material
         CopyOf = Gold
      TrailColor = Color
         R = 255
         G = 247
         B = 35
      TrailLength = 3
   Shell = None
   FireVelocity = 15
   ShellVelocity = 0
   Separation = 8

What is wrong? I don't see any problems...

Author:  CaveCricket48 [ Wed Jul 14, 2010 1:16 am ]
Post subject:  Re: Making a gold particle

Your tabbing is not right. Remember, in CC, an object's properties must have 1 more tab then the object definition part (the thing that states what kind of object it is).

Code:
AddEffect = MOPixel
[tab] PresetName = asdf
[tab] Sharpness = 336

Code:
AddAmmo = Round
[tab] PresetName = Round SMG
[tab] Particle = MOPixel
[tab] [tab] CopyOf = Particle SMG
[tab] [tab] Sharpness = 100

You get the idea.

Author:  Awesomeness [ Wed Jul 14, 2010 1:19 am ]
Post subject:  Re: Making a gold particle

Thanks! I'll remember that.

Author:  Awesomeness [ Wed Jul 14, 2010 3:38 am ]
Post subject:  Re: Making a gold particle

Is the color of gold always yellow? I tried making darker tracers, and it stayed yellow. I have confirmed my tracer is firing. I temporarily changed the color of the tracer to black, just to see if it works or not, and it isn't yet. Is there no way to make golf other colors, like orange?

This is my bullet code:
Code:
AddAmmo = Round
   PresetName = Gold Drop Light
   ParticleCount = 30
   Particle = MOPixel
      CopyOf = Gold Particle
      Mass = 0.0283495
      HitsMOs = 1
      GetsHitByMOs = 0
      Color = Color
         R = 255
         G = 247
         B = 0
      Atom = Atom
         Material = Material
            CopyOf = Gold
         TrailColor = Color
            R = 255
            G = 247
            B = 35
         TrailLength = 3
   Shell = None
   FireVelocity = 15
   ShellVelocity = 0
   Separation = 8

AddAmmo = Round
   PresetName = Gold Drop Dark
   ParticleCount = 30
   Particle = MOPixel
      CopyOf = Gold Particle
      Mass = 0.0283495
      HitsMOs = 1
      GetsHitByMOs = 0
      Color = Color
         R = 0//255
         G = 0//220
         B = 0
      Atom = Atom
         Material = Material
            CopyOf = Gold
         TrailColor = Color
            R = 0//255
            G = 0//220
            B = 0//35
         TrailLength = 3
   Shell = None
   FireVelocity = 15
   ShellVelocity = 0
   Separation = 8

Author:  CaveCricket48 [ Wed Jul 14, 2010 3:40 am ]
Post subject:  Re: Making a gold particle

I don't think you can change the color of a MOPixel if it's made of gold.

You could make it a material that settle into gold. It won't have any gold effects untill it settles and then gets dug up, but the color would be changable.

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