Data Realms Fan Forums http://45.55.195.193/ |
|
Glow Help. http://45.55.195.193/viewtopic.php?f=1&t=18905 |
Page 1 of 1 |
Author: | Cyrill Jones [ Fri Jun 04, 2010 2:45 pm ] |
Post subject: | Glow Help. |
Hey all I have been having some trouble using glows and the wiki hasn't helped me at all. I want to make an energy weapon with a glowy impact. Any help will be appreciated Thanks Cyrill Jones |
Author: | CCnewplayer [ Fri Jun 04, 2010 3:13 pm ] |
Post subject: | Re: Glow Help. |
So what you want , sprites , code ...? |
Author: | Cyrill Jones [ Fri Jun 04, 2010 3:38 pm ] |
Post subject: | Re: Glow Help. |
The sprites in base.rte are ok. I just can't get them to work with a gun, so code please |
Author: | 411570N3 [ Fri Jun 04, 2010 3:38 pm ] |
Post subject: | Re: Glow Help. |
You'll probably be wanting a TDExplosive in the shot that gibs some particles with the glow on them. Look through the effects files in base.rte for lines marked ScreenEffect and have a look at what they do. Fiddle around and experiment with how they work. |
Author: | Cyrill Jones [ Fri Jun 04, 2010 3:39 pm ] |
Post subject: | Re: Glow Help. |
Kk, will do. I'll post when I get somewhere |
Author: | Cyrill Jones [ Fri Jun 04, 2010 4:15 pm ] |
Post subject: | Re: Glow Help. |
I have got a grenade that explodes and shows a blue screeneffect however, it only stays on for a very very short amount of time. How do I make it show for longer? Also 411570N3 wrote: You'll probably be wanting a TDExplosive in the shot that gibs some particles with the glow on them. Would I do this like a grenade launcher? |
Author: | 411570N3 [ Fri Jun 04, 2010 4:24 pm ] |
Post subject: | Re: Glow Help. |
Probably something like duration. The variables are named fairly intuitively. As for the rounds, pretend you're doing a grenade launcher, except the grenade explodes into the particles you want, with no spread. This makes it look like you fired more than one particle from a single spot. |
Author: | Cyrill Jones [ Fri Jun 04, 2010 5:13 pm ] |
Post subject: | Re: Glow Help. |
I've got my Grenade Launcher/Gun The grenade with the gibs I want. How do I get the grenades to fly straight and explode on hit? |
Author: | Joe [ Fri Jun 04, 2010 5:31 pm ] |
Post subject: | Re: Glow Help. |
You make the grenade's GlobalAccScalar to 0 and set it's GibImpulseLimit to 1 (easiest way to do it) |
Author: | Cyrill Jones [ Fri Jun 04, 2010 7:00 pm ] |
Post subject: | Re: Glow Help. |
Here is my bullet so far: Code: AddAmmo = AEmitter PresetName = ExplosiveBullet InstanceName = ExplosiveBullet LifeTime = 2000 Mass = 4 GlobalAccScalar = 0.1 RestThreshold = -500 HitsMOs = 1 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = Whitebots.rte/Devices/Weapons/GrenadeFired.bmp FrameCount = 1 OrientToVel = 0.6 SpriteOffset = Vector X = -1 Y = -2 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal 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 = 1 DeepCheck = 1 EmissionAngle = Matrix AngleDegrees = 180 ScreenEffect = ContentFile FilePath = Base.rte/Effects/Glows/YellowBig.bmp EffectStartTime = 0 EffectStopTime = 55 EffectStartStrength = 1.0 EffectStopStrength = 0 EffectAlwaysShows = 1 BurstTriggered = 1 AddEmission = Emission EmittedParticle = MOSParticle CopyOf = Fire Puff Medium PresetName = Rocket Launcher Smoke 3 LifeTime = 250 GlobalAccScalar = 1 EffectStartTime = 0 EffectStopTime = 500 EffectStartStrength = 0.4 EffectStopStrength = 0.0 ParticlesPerMinute = 3000 BurstSize = 1 Spread = 3.1 MaxVelocity = 100 MinVelocity = 99 PushesEmitter = 1 AddGib = Gib GibParticle = MOSRotating CopyOf = Flame Ball 1 Count = 3 Spread = 3.1 MaxVelocity = 6 MinVelocity = 4 AddGib = Gib GibParticle = MOSParticle CopyOf = Flame Smoke 1 Count = 5 Spread = 3.1 MaxVelocity = 10 MinVelocity = 3 LifeVariation = 0.50 Could some one give me a hint as to where GibImpulseLimit should go because where I put it originally made it not work. I have got the gun in-game and only some of the bullets explode on contact while others don't explode at all |
Author: | CCnewplayer [ Fri Jun 04, 2010 9:26 pm ] |
Post subject: | Re: Glow Help. |
AEmitters even die in contact with something |
Author: | Cyrill Jones [ Fri Jun 04, 2010 9:50 pm ] |
Post subject: | Re: Glow Help. |
This is what happens GibImpulseLimit is not in the code, do you know where I should put it? EDIT: Fixed it now works perfectly, thanks for everybody's help |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |