View unanswered posts | View active topics It is currently Sun Jan 05, 2025 4:47 am



Reply to topic  [ 7 posts ] 
 Making a gold particle 
Author Message
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post 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?)


Tue Jul 13, 2010 10:55 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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.


Tue Jul 13, 2010 11:09 pm
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post 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...


Wed Jul 14, 2010 12:48 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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.


Wed Jul 14, 2010 1:16 am
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post Re: Making a gold particle
Thanks! I'll remember that.


Wed Jul 14, 2010 1:19 am
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post 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


Wed Jul 14, 2010 3:38 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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.


Wed Jul 14, 2010 3:40 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.038s | 13 Queries | GZIP : Off ]