View unanswered posts | View active topics It is currently Mon Jan 06, 2025 10:31 pm



Reply to topic  [ 12 posts ] 
 Glow Help. 
Author Message
User avatar

Joined: Thu Jun 03, 2010 3:17 pm
Posts: 12
Reply with quote
Post 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 :grin:

Thanks
Cyrill Jones


Fri Jun 04, 2010 2:45 pm
Profile
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post Re: Glow Help.
So what you want , sprites , code ...?


Fri Jun 04, 2010 3:13 pm
Profile
User avatar

Joined: Thu Jun 03, 2010 3:17 pm
Posts: 12
Reply with quote
Post Re: Glow Help.
The sprites in base.rte are ok. I just can't get them to work with a gun, so code please :grin:


Fri Jun 04, 2010 3:38 pm
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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.


Fri Jun 04, 2010 3:38 pm
Profile WWW
User avatar

Joined: Thu Jun 03, 2010 3:17 pm
Posts: 12
Reply with quote
Post Re: Glow Help.
Kk, will do. I'll post when I get somewhere :)


Fri Jun 04, 2010 3:39 pm
Profile
User avatar

Joined: Thu Jun 03, 2010 3:17 pm
Posts: 12
Reply with quote
Post 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? :???:


Fri Jun 04, 2010 4:15 pm
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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.


Fri Jun 04, 2010 4:24 pm
Profile WWW
User avatar

Joined: Thu Jun 03, 2010 3:17 pm
Posts: 12
Reply with quote
Post 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?


Fri Jun 04, 2010 5:13 pm
Profile
User avatar

Joined: Tue Jul 21, 2009 4:36 am
Posts: 347
Location: The place where asses go to be bad
Reply with quote
Post Re: Glow Help.
You make the grenade's GlobalAccScalar to 0 and set it's GibImpulseLimit to 1 (easiest way to do it)


Fri Jun 04, 2010 5:31 pm
Profile
User avatar

Joined: Thu Jun 03, 2010 3:17 pm
Posts: 12
Reply with quote
Post 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 :oops:


Fri Jun 04, 2010 7:00 pm
Profile
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post Re: Glow Help.
AEmitters even die in contact with something


Fri Jun 04, 2010 9:26 pm
Profile
User avatar

Joined: Thu Jun 03, 2010 3:17 pm
Posts: 12
Reply with quote
Post Re: Glow Help.
This is what happens :???:
Image
GibImpulseLimit is not in the code, do you know where I should put it?


EDIT:

Fixed it now :D works perfectly, thanks for everybody's help :grin:


Fri Jun 04, 2010 9:50 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 12 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.041s | 13 Queries | GZIP : Off ]