|  | 
	| FAQ
		 • Search • Login | 
	| 
 
 
 
	
	
		
			|   | Page 1 of 1 
 | [ 6 posts ] |  |   need help with contact detonation grenades 
        
        
            | Author | Message |  
			| Eviltebor 
					Joined: Sun May 31, 2009 6:49 pm
 Posts: 69
   |   need help with contact detonation grenadesI want to make a grenade that flies alone in a straight line and detonates as soon as it hits anything? Any idea how i can achieve this? It also needs to not rotate. 
 
 |  
			| Mon Jun 01, 2009 6:28 pm | 
					
					   |  
		|  |  
			| Metal Meltdown Banned 
					Joined: Thu May 14, 2009 9:22 pm
 Posts: 826
 Location: Lookin' forward to mocking people on Jan 1st 2013.
   |   Re: need help with contact detonation grenadesYou want to make a throwable rocket, right?You could make it emit particles like a rocket once thrown, and set its gibimpulselimit low so that it would blow up on impact.
 Or you could throw an emitter that shoots a rocket with the grenade's sprite forward.
 
 
 |  
			| Mon Jun 01, 2009 6:37 pm | 
					
					     |  
		|  |  
			| Duh102 happy carebear mom 
					Joined: Tue Mar 04, 2008 1:40 am
 Posts: 7096
 Location: b8bbd5
   |   Re: need help with contact detonation grenadesTDExplosive, GlobalAccScalar = 0, AngularVel = 0, GibImpulseLimit = 0.001.Those are the important parts.
 
 
 |  
			| Mon Jun 01, 2009 6:54 pm | 
					
					   |  
		|  |  
			| Eviltebor 
					Joined: Sun May 31, 2009 6:49 pm
 Posts: 69
   |   Re: need help with contact detonation grenadesGlobalAccScalar doesn't seem to exist (searched the wiki) and can you please provide an example of where to use AngularVel to stop the actually grenade rotating. 
 
 |  
			| Tue Jun 02, 2009 5:50 pm | 
					
					   |  
		|  |  
			| Duh102 happy carebear mom 
					Joined: Tue Mar 04, 2008 1:40 am
 Posts: 7096
 Location: b8bbd5
   |   Re: need help with contact detonation grenadesCode: AddAmmo = TDExplosive(tab)PresetName = Zero G Bomb
 (insert most TDExplosive code here)
 (tab)GlobalAccScalar = 0
 (tab)AngularVel = 0
 (tab)GibImpulseLimit = 0.01
 
 |  
			| Tue Jun 02, 2009 7:28 pm | 
					
					   |  
		|  |  
			| Eviltebor 
					Joined: Sun May 31, 2009 6:49 pm
 Posts: 69
   |   Re: need help with contact detonation grenadesit worked ty 
 
 |  
			| Wed Jun 10, 2009 8:30 pm | 
					
					   |  
		|  |  
		|  |  
	
		
			|   | Page 1 of 1 
 | [ 6 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
 
 |  
 |