mirror of
				https://codeberg.org/tenplus1/mob_horse.git
				synced 2025-11-04 08:45:31 +01:00 
			
		
		
		
	tweak animations
This commit is contained in:
		
							
								
								
									
										12
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								init.lua
									
									
									
									
									
								
							@@ -23,13 +23,13 @@ mobs:register_mob("mob_horse:horse", {
 | 
				
			|||||||
	mesh = "mobs_horse.x",
 | 
						mesh = "mobs_horse.x",
 | 
				
			||||||
	collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.25, 0.4},
 | 
						collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.25, 0.4},
 | 
				
			||||||
	animation = {
 | 
						animation = {
 | 
				
			||||||
		speed_normal = 15, speed_run = 30,
 | 
							speed_normal = 15,
 | 
				
			||||||
		stand_start = 25, stand_end = 50, -- 75
 | 
							stand_start = 25, stand_end = 25, -- stand still
 | 
				
			||||||
		stand2_start = 25, stand2_end = 25,
 | 
							stand2_start = 25, stand2_end = 50, stand2_loop = false, -- head to side
 | 
				
			||||||
		stand3_start = 55, stand3_end = 75, stand3_loop = false,
 | 
					--		stand3_start = 55, stand3_end = 75, stand3_loop = false, -- rear up
 | 
				
			||||||
		walk_start = 75, walk_end = 100,
 | 
							walk_start = 75, walk_end = 100,
 | 
				
			||||||
		run_start = 75, run_end = 100,
 | 
							run_start = 75, run_end = 100, speed_run = 30,
 | 
				
			||||||
		punch_start = 55, punch_end = 75, punch_speed = 35,
 | 
							punch_start = 55, punch_end = 75, punch_speed = 35
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	textures = {
 | 
						textures = {
 | 
				
			||||||
		{"mobs_horse.png"}, -- textures by Mjollna
 | 
							{"mobs_horse.png"}, -- textures by Mjollna
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user