| Author | 
            Message | 
        
        
			| 
				
				 Cyrill Jones 
				
				
					 Joined: Thu Jun 03, 2010 3:17 pm Posts: 12
				 
				 
			 | 
			
				
				  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 
					
  
			 | 
		
		
			| Fri Jun 04, 2010 2:45 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 CCnewplayer 
				
				
					 Joined: Wed Feb 24, 2010 11:00 pm Posts: 255 Location: Unknow
				 
				 
			 | 
			
				
				  Re: Glow Help.  
					
						So what you want , sprites , code ...? 
					
  
			 | 
		
		
			| Fri Jun 04, 2010 3:13 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Cyrill Jones 
				
				
					 Joined: Thu Jun 03, 2010 3:17 pm Posts: 12
				 
				 
			 | 
			
				
				  Re: Glow Help.  
					
						The sprites in base.rte are ok. I just can't get them to work with a gun, so code please     
					
  
			 | 
		
		
			| Fri Jun 04, 2010 3:38 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 411570N3 
				
				
					 Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
				 
				 
			 | 
			
				
				  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 | 
			
				
					 
					
					 
				    
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Cyrill Jones 
				
				
					 Joined: Thu Jun 03, 2010 3:17 pm Posts: 12
				 
				 
			 | 
			
				
				  Re: Glow Help.  
					
						Kk, will do. I'll post when I get somewhere    
					
  
			 | 
		
		
			| Fri Jun 04, 2010 3:39 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Cyrill Jones 
				
				
					 Joined: Thu Jun 03, 2010 3:17 pm Posts: 12
				 
				 
			 | 
			
				
				  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 | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 411570N3 
				
				
					 Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
				 
				 
			 | 
			
				
				  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 | 
			
				
					 
					
					 
				    
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Cyrill Jones 
				
				
					 Joined: Thu Jun 03, 2010 3:17 pm Posts: 12
				 
				 
			 | 
			
				
				  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 | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Joe 
				
				
					 Joined: Tue Jul 21, 2009 4:36 am Posts: 347 Location: The place where asses go to be bad
				 
				 
			 | 
			
				
				  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 | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Cyrill Jones 
				
				
					 Joined: Thu Jun 03, 2010 3:17 pm Posts: 12
				 
				 
			 | 
			
				
				  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     
					
  
			 | 
		
		
			| Fri Jun 04, 2010 7:00 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 CCnewplayer 
				
				
					 Joined: Wed Feb 24, 2010 11:00 pm Posts: 255 Location: Unknow
				 
				 
			 | 
			
				
				  Re: Glow Help.  
					
						AEmitters even die in contact with something 
					
  
			 | 
		
		
			| Fri Jun 04, 2010 9:26 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Cyrill Jones 
				
				
					 Joined: Thu Jun 03, 2010 3:17 pm Posts: 12
				 
				 
			 | 
			
				
				  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     
					
  
			 | 
		
		
			| Fri Jun 04, 2010 9:50 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
	
		 |