Author |
Message |
deathbal101
Joined: Sat Dec 13, 2008 11:56 pm Posts: 206
|
Glow Help
How do i make a grenade use a glow? im making a flashbang.
|
Tue Jan 13, 2009 6:42 pm |
|
|
Solace
Joined: Sun Jun 10, 2007 2:05 am Posts: 426
|
Re: Glow Help
Spawn invisible particles with the glow? That's what I do, if I understand the question.
On a broader note, there are some things I don't know how to attach glows to; weapons, magazines... would they have to be emitters to make that work?
|
Tue Jan 13, 2009 7:20 pm |
|
|
deathbal101
Joined: Sat Dec 13, 2008 11:56 pm Posts: 206
|
Re: Glow Help
I dont get it still.
|
Tue Jan 13, 2009 7:30 pm |
|
|
deathbal101
Joined: Sat Dec 13, 2008 11:56 pm Posts: 206
|
Re: Glow Help
Im very new to modding.
|
Tue Jan 13, 2009 7:30 pm |
|
|
Solace
Joined: Sun Jun 10, 2007 2:05 am Posts: 426
|
Re: Glow Help
Um... do you know how to define particles and gibs? Code: AddEffect = MOPixel PresetName = (name here) ScreenEffect = ContentFile FilePath = (where the glow you want to use is, starting from somewhere.rte) Mass = # GlobalAccScalar = (probably 1 or 0) RestThreshold = -500 (or a number above 0 if you want it to turn into terrain, which you don't) LifeTime = 560 (how long it lasts, I think in thousandths of a second) Sharpness = # HitsMOs = (1 if you want it to hit stuff, 0 if not) GetsHitByMOs = (same but getting hit by stuff) Color = Color R = 255 G = 0 B = 255 (this makes it invisible) Atom = Atom Material = Material CopyOf = (what you want it made of) TrailColor = Color R = 255 G = 0 B = 255 TrailLength = #
|
Tue Jan 13, 2009 7:46 pm |
|
|
deathbal101
Joined: Sat Dec 13, 2008 11:56 pm Posts: 206
|
Re: Glow Help
sorry, i wasnt clear, i meant i want it to use the glow when it explodes...
|
Tue Jan 13, 2009 7:55 pm |
|
|
grenade
Joined: Mon Aug 18, 2008 5:29 pm Posts: 607 Location: Ukraine,Odessa in the ASC bunker-base
|
Re: Glow Help
GlobalAccScalar = 0 (if -0.1 or any *-* the particle goes up if 0 or more it goes down ) Mass = 0.001 (best for a flash bang) Sharpness = 0.001 (same) Atom = Atom Material = Material CopyOf = Bullet Metal (best) TrailLength = 1 (best)
(those are some moments that Solace lost)
|
Tue Jan 13, 2009 8:00 pm |
|
|
Solace
Joined: Sun Jun 10, 2007 2:05 am Posts: 426
|
Re: Glow Help
Code: AddGib = Gib GibParticle = MOPixel CopyOf = (name of your thing) Count = # Spread = # MaxVelocity = # MinVelocity = # InheritsVel = 0 or 1
|
Tue Jan 13, 2009 8:01 pm |
|
|
grenade
Joined: Mon Aug 18, 2008 5:29 pm Posts: 607 Location: Ukraine,Odessa in the ASC bunker-base
|
Re: Glow Help
deathbal101 wrote: sorry, i wasnt clear, i meant i want it to use the glow when it explodes... Then add this to grenade code before first *AddGib* lines Code: EffectOnGib = 1 EffectAlwaysShows = 1 ScreenEffect = ContentFile Path = the path to glow for eg (Base.rte/Effects/Glows/ExplosionHuge)
|
Tue Jan 13, 2009 8:02 pm |
|
|
deathbal101
Joined: Sat Dec 13, 2008 11:56 pm Posts: 206
|
Re: Glow Help
got it working!
|
Tue Jan 13, 2009 10:24 pm |
|
|
|