| Author | 
            Message | 
        
        
			| 
				
				 Miggles 
				Data Realms Elite 
				
					 Joined: Mon Jul 12, 2010 5:39 am Posts: 4558
				 
				 
			 | 
			
				
				  Simple question.  
					
						What values in an .ini change how much recoil your gun has? I would consult the wiki had it not been down for the moment. 
					
  
			 | 
		
		
			| Sat Jan 29, 2011 9:55 pm | 
			
				
					 
					
					 
				    
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Lizardheim 
				DRL Developer 
				
					 Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
				 
				 
			 | 
			
				
				  Re: Simple question.  
					
						Mass and veolicty of the bullet. The higher the velocity the more effect the mass will have, the higher the mass the more impulse will be done to your arm joint/enemy actor. 
					
  
			 | 
		
		
			| Sat Jan 29, 2011 10:48 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Miggles 
				Data Realms Elite 
				
					 Joined: Mon Jul 12, 2010 5:39 am Posts: 4558
				 
				 
			 | 
			
				
				  Re: Simple question.  
					
						So I edit the mass and velocity of the stuff under AddAmmo = Round, right? 
					
  
			 | 
		
		
			| Sat Jan 29, 2011 10:53 pm | 
			
				
					 
					
					 
				    
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 mail2345 
				
				
					 Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
				 
				 
			 | 
			
				
				  Re: Simple question.  
					
						The mass  has to be set on the MOPixel(which can be in there, or be copied from an independent definition). 
					
  
			 | 
		
		
			| Sat Jan 29, 2011 11:17 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Miggles 
				Data Realms Elite 
				
					 Joined: Mon Jul 12, 2010 5:39 am Posts: 4558
				 
				 
			 | 
			
				
				  Re: Simple question.  
					
						Shwoops nevermind. 
					
  
			 | 
		
		
			| Sat Jan 29, 2011 11:21 pm | 
			
				
					 
					
					 
				    
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 411570N3 
				
				
					 Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
				 
				 
			 | 
			
				
				  Re: Simple question.  
					
						Depending on the code structure, it could be anywhere. Just as long as it's under the MOSParticle heading, which can be under the AddAmmo heading, which can be under the magazine heading, which can be under the HDFirearm heading, which can be under a turret or actor's heading, etc. 
					
  
			 | 
		
		
			| Sun Jan 30, 2011 7:24 am | 
			
				
					 
					
					 
				    
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Xenophon 
				
				
					 Joined: Sat Dec 25, 2010 1:35 am Posts: 12
				 
				 
			 | 
			
				
				  Re: Simple question.  
					
						An excellent way to reduce recoil is to make your bullets an AEmitter. Thus they will propel themselves, and don't need to be pushed hard to hurt a lot. If you still want some recoil, but not a lot, make the firevelocity low, and the bullets an AEmitter. 
					
  
			 | 
		
		
			| Sun Jan 30, 2011 8:54 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Roast Veg 
				Data Realms Elite 
				
					 Joined: Tue May 25, 2010 8:27 pm Posts: 4522 Location: Constant motion
				 
				 
			 | 
			
				
				  Re: Simple question.  
					
						Make them fire at zero velocity then use a script to give them some. 
					
  
			 | 
		
		
			| Sun Jan 30, 2011 10:00 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 411570N3 
				
				
					 Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
				 
				 
			 | 
			
				
				  Re: Simple question.  
					
						It's probably easier to fire them with mass altered to your liking and have a Lua script alter that. This way you retain inherited velocity more easily and generally keep it simpler. 
					
  
			 | 
		
		
			| Mon Jan 31, 2011 12:15 am | 
			
				
					 
					
					 
				    
			 | 
    	
		
	
	
		  | 
	
	
	
		 |