48 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
--WINDOW.
 | 
						|
width       = 800
 | 
						|
height      = 600
 | 
						|
fullscreen  = 0
 | 
						|
 | 
						|
-- SCREEN.
 | 
						|
fps = 0
 | 
						|
 | 
						|
-- SOUND.
 | 
						|
nosound = 0
 | 
						|
sound 	= 0.7
 | 
						|
music 	= 0.5
 | 
						|
 | 
						|
-- JOYSTICK.
 | 
						|
-- Can be number or substring of joystick name.
 | 
						|
joystick = "Precision"
 | 
						|
 | 
						|
-- KEYBINDINGS.
 | 
						|
-- Type can be keyboard, jaxis or jbutton.
 | 
						|
--
 | 
						|
-- If left is an axis, it will automatically set right to the same axis.
 | 
						|
-- setting both to the same axis (key).
 | 
						|
-- You can use reverse = 1 option to reverse them.
 | 
						|
-- Currently keybindings work with the number of the key only (when doing
 | 
						|
-- keyboard). Would be cool to have a gui to do this for you at some point.
 | 
						|
 | 
						|
-- Movement.
 | 
						|
accel           = { type = "jbutton",   key = 0   }
 | 
						|
left            = { type = "jaxis",     key = 0   }
 | 
						|
right           = { type = "jaxis",     key = 0   }
 | 
						|
 | 
						|
-- Combat.
 | 
						|
primary         = { type = "jbutton",   key = 1   }
 | 
						|
target          = { type = "jbutton",   key = 4   }
 | 
						|
target_nearest  = { type = "jbutton",   key = 3   }
 | 
						|
face            = { type = "keyboard",  key = 38  }
 | 
						|
board           = { type = "keyboard",  key = 57  }
 | 
						|
secondary       = { type = "jbutton",   key = 7   }
 | 
						|
secondary_next  = { type = "jbutton",   key = 5   }
 | 
						|
 | 
						|
-- Space.
 | 
						|
 | 
						|
-- Gui.
 | 
						|
mapzoomin       = { type = "jbutton",   key = 4   }
 | 
						|
mapzoomout      = { type = "jbutton",   key = 6   }
 | 
						|
screenshot      = { type = "keyboard",  key = 82  }
 | 
						|
 |