How do you change a unit's target size or hitbox?
									16 Jul 2015, 23:48 PM
				
	#1					
								
					
				
		
 1
1			Posts: 94
With the discussion about a potential new change to sandbag walls today, I realized I have no idea how or even if you can change either of these things in the current modding tools, but if I can it would sure be nice to know how!
			
		
									16 Jul 2015, 23:57 PM
				
	#2					
								
					
				
		
 4
4			Posts: 550 | Subs: 1
Yes, you can. You'll find the target size under ebps, look for the unit you want to change, then select "health_ext", there you're looking for "target_size" which is the 5th from the bottom.
			
		
									17 Jul 2015, 00:11 AM
				
	#3					
								
					
				
		
 
    		            							
			    		Posts: 756 | Subs: 8
The target_size is only used in accuracy calculations. There is no way to alter the actual hitbox, in case that is what you were intending.
			
		
									17 Jul 2015, 01:13 AM
				
	#4					
								
					
				
		
 1
1			Posts: 94
What all does target_size affect? In that other thread I was reading someone was saying that lots of stuff ignores that value.
			
		
									17 Jul 2015, 11:16 AM
				
	#5					
								
					
				
		
 4
4			Posts: 550 | Subs: 1
What all does target_size affect? In that other thread I was reading someone was saying that lots of stuff ignores that value.
Target size together with accuracy of the weapon targeting the unit decide how likely it is for the unit to get hit. Most infantry units have a target size of 1 or very close to it. So, for infantry the accuracy of the weapon aiming at the unit is the likelihood of getting hit as in hitting the entity exactly (aoe damage from projectiles that do aoe damage, are still misses).
The target size acts as a muliplier.
Example: The 57mm at gun has an accuracy of 0.055 at close range. So firing at a grenadier squad at close range, it has a chace of 5.5% to hit.
If it fires at a panzer 4, whose target size is 22, it has a chance to exactly hit the tank of 0.055x22=1.21=1, so it should always hit. Important to keep in mind is that misses against vehicles can still lead to a hit if the scattered projectile collides with the vehicle. The same is true for infantry or the projectile can land close enough to a entity that the aoe damage is enough to kill it.
I don't think there is anything else the target size influences. But if you want to be certain, you might want to ask Cruzzi.
									17 Jul 2015, 12:54 PM
				
	#6					
								
					
				
		
 
    		            							
			    		Posts: 756 | Subs: 8
Correct, just accuracy.
			
		
									17 Jul 2015, 20:48 PM
				
	#7					
								
					
				
		
 1
1			Posts: 94
Interesting, thanks  
 
This makes me wonder why Relic doesn't just increase the target size of the Conscript sandbags, instead of reducing the hitpoints to hardly anything. I'll do this in my personal mod at any rate.
			
		 
 This makes me wonder why Relic doesn't just increase the target size of the Conscript sandbags, instead of reducing the hitpoints to hardly anything. I'll do this in my personal mod at any rate.
PAGES (1)
		
	1 user is browsing this thread: 
	1 guest	
	
		
	
Livestreams
|   |   |   | 78 | ||
|   |   |   | 47 | ||
|   |   |   | 12 | ||
|   |   |   | 7 | ||
|   |   |   | 4 | ||
|   |   |   | 1 | 
Ladders Top 10
- 
							#Steam AliasWL%Streak
- 1.46367.874+5
- 2.794136.854-1
- 3.14465.689-1
- 4.21154.796+4
- 5.400212.654+2
- 6.296127.700+2
- 7.353186.655+2
- 8.501325.607+4
- 9.327117.736+4
- 10.857232.787+4
Replay highlight
VS
					- 
									 cblanco ★ cblanco ★
- 
									 보드카 중대 보드카 중대
- 
									 VonManteuffel VonManteuffel
- 
									 Heartless Jäger Heartless Jäger
 
											
						Einhoven Country
						
							
								
									 
								
								 
								
								
				 
								
								Honor it
								15
							
						
						
												
							
								
									 
								
								Download
								2705
							
						
												
					Board Info
						765 users are online:
									765 guests
					
		
			0 post in the last 24h
2 posts in the last week
22 posts in the last month
		
		2 posts in the last week
22 posts in the last month
			
			
				Registered members: 61826
Welcome our newest member, PaulHardin
Most online: 4501 users on 26 Oct 2025, 01:00 AM
	Welcome our newest member, PaulHardin
Most online: 4501 users on 26 Oct 2025, 01:00 AM
 
	 
			 
			 
  
  
  
										 
									 
 

 
 
 
						 
						 
						 
						 
						 
						 Relic Entertainment
						 Relic Entertainment