Data Realms Fan Forums
http://45.55.195.193/

Whats wrong now?
http://45.55.195.193/viewtopic.php?f=1&t=8760
Page 1 of 1

Author:  3 solid [ Sun Dec 02, 2007 10:13 am ]
Post subject:  Whats wrong now?

Line 32 in this code is wrong apparantly. Line 32 is-


Code:
AddAmmo = Round
   InstanceName = Wparticle
   ParticleCount = 1
   Particle = MOPixel
      InstanceName = Wparticle
      Mass = 0
      RestThreshold = 500
      LifeTime = 1500
      Sharpness = 0
      HitsMOs = 1
      GetsHitByMOs = 0
      Color = Color
         R = 255
         G = 0
         B = 255
      Atom = Atom
         Material = Material
            CopyOf = Bullet Metal
         TrailColor = Color
            R = 255
            G = 0
            B = 255
         TrailLength = 25
   Shell = MOSParticle
      CopyOf = Casing
   FireVelocity = 80
   ShellVelocity = 10
   Separation = 5
   [b]ScreenEffect = ContentFile[/b]
      FilePath = Base.rte/Effects/Glows/BlueSmall.bmp
   EffectStartTime = 25
   EffectStopTime = 100
   EffectStartStrength = 1.0
   EffectStopStrength = 0.5

Code tags are your friends.
-Control


I can't see any problem. (Yes it is a useless particle, I use it for flashy effect)

I have all the tabs in the right places too.

Author:  DiviX [ Sun Dec 02, 2007 10:37 am ]
Post subject:  Re: Whats wrong now?

i dont think you can make stuff with 0 mass try making it 0.00001
and i dont think you can put screen effet to bullets

Author:  robowurmz [ Sun Dec 02, 2007 10:41 am ]
Post subject:  Re: Whats wrong now?

DiviX wrote:
i dont think you can make stuff with 0 mass try making it 0.00001
and i dont think you can put screen effet to bullets


Yes you can, you idiot.

I've done it with my Chemical Cannon (which isn't going to be released, it's just a glowing-landscape-eating-acid sprayer).

Code here;
AddAmmo = Round
InstanceName = Chemical Cannon Round
ParticleCount = 2
//You have to put the screeneffect here.
Particle = MOPixel
ScreenEffect = ContentFile
FilePath = Base.rte/Effects/Glows/YellowBig.bmp

EffectStartTime = 0
EffectStopTime = 10000
EffectStartStrength = 1.0
EffectStopStrength = 0.5
InstanceName = Chemical Cannon Round
Mass = 0.3
RestThreshold = 500
LifeTime = 7500
Sharpness = 2500
HitsMOs = 1
GetsHitByMOs = 0
Color = Color
R = 0
G = 155
B = 0
Atom = Atom
Material = Material
CopyOf = Bullet Metal
TrailColor = Color
R = 0
G = 155
B = 0
TrailLength = 2500

Author:  DiviX [ Sun Dec 02, 2007 1:18 pm ]
Post subject:  Re: Whats wrong now?

you dont need to say idiot you stupid asstard f@g

and thx for telling me that (where to put the screen effect)

Author:  3 solid [ Sun Dec 02, 2007 6:38 pm ]
Post subject:  Re: Whats wrong now?

Hey hey hey, stop with the insults.

Thanks robowurmz, I'll try that then ask for a lock.

EDIT: Now it says there's a problem with line 7, which is, guess what-

ScreenEffect = ContentFile

This code doesn't like me. :(

Author:  Sixteen [ Sun Dec 02, 2007 6:48 pm ]
Post subject:  Re: Whats wrong now?

3 solid wrote:
Line 32 in this code is wrong apparantly. Line 32 is-


AddAmmo = Round
InstanceName = Wparticle
ParticleCount = 1
Particle = MOPixel
InstanceName = Wparticle


You put Instance name twice.

EDIT: I'm not sure, nevermind

Author:  purple [ Sun Dec 02, 2007 8:07 pm ]
Post subject:  Re: Whats wrong now?

Put the screen effect under "Particle =" like so:
Note that this isn't your weapon code, so don't copy-paste it and expect it to work for you.
Code:
AddAmmo = Round
   InstanceName = Round Liquid Flame
   ParticleCount = 3
   Particle = MOSParticle
      InstanceName = Liquid Flame
      Mass = 0.5
      RestThreshold = -1
      LifeTime = 1000
      ScreenEffect = ContentFile
         FilePath = Base.rte/Effects/Glows/YellowSmall.bmp
      EffectStartTime = 0
      EffectStopTime = 1500
      EffectStartStrength = 0.1
      EffectStopStrength = 0.3

Author:  3 solid [ Mon Dec 03, 2007 4:39 pm ]
Post subject:  Re: Whats wrong now?

I'm not that stupid.

Trying it now..

EDIT: It worked, but now something else is bugging up, it's probably just a misspelling though. Lock plz.

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