Login

russian armor

How do you change a unit's target size or hitbox?

16 Jul 2015, 23:48 PM
#1
avatar of Dreadbot
Donator 11

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
avatar of sherlock
Patrion 14

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
avatar of eliw00d
Honorary Member Badge

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
avatar of Dreadbot
Donator 11

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
avatar of sherlock
Patrion 14

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
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Correct, just accuracy.
17 Jul 2015, 20:48 PM
#7
avatar of Dreadbot
Donator 11

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.
0 user is browsing this thread:

SHOUT IT OUT!

No ProfanityNumber of ShoutsRefresh Shout Box
Lady Xenarra: @Willy Pete The lack of April Fools this year is odd lol
Today, 01:34 AM
Willy Pete: @Rosbone not dead yet. when that happens the font will switch to Papyrus :*(
Today, 00:16 AM
dasheepeh: it was an honor guys :guyokay:
Yesterday, 20:34 PM
aerafield: yeah I already prepared my "Can't believe there's comic mode for the 10 daily visitors even on this April 1st" :guyokay:
Yesterday, 20:29 PM
Rosbone: @dasheepeh I guess that means this site is officially dead :guyokay:
Yesterday, 20:19 PM
dasheepeh: no comic sans font for april 1st this year?
Yesterday, 19:56 PM
Willy Pete: @Lady Xenarra this you? https://i.imgflip.com/3e4thi.jpg
Yesterday, 02:53 AM
Lady Xenarra: Does anyone else think that USF needs buffs? It feels like they’re on life support sometimes
Yesterday, 02:36 AM
Willy Pete: @Rosbone Ahh I missed that memo. I still think its a bad decision though. Adds frustration for players and isnt gonna make them that much money
Last Thursday, 15:46 PM
Rosbone: It is also good they left it free until after the free to play weekend. Points for that.
Last Thursday, 09:34 AM
Rosbone: But I agree, the cost to get a full decent Coh game pushing $115 US is not the best idea. Especially when it needs so much more work for casuals.
Last Thursday, 09:32 AM
Rosbone: To be fair, it was a thank you to early fans right? They said it was not free for long and it would become a pay DLC at some point.
Last Thursday, 09:30 AM
Willy Pete: Re-releasing free DLC so they can charge new players money for it. Brilliant marketing strategy :clap:
Last Thursday, 04:31 AM
Soheil: Coh2 still broken server ?
25 Mar 2025, 18:27 PM
Rosbone: Congrats to Relic. Looks like Coh3 has finally usurped Coh2 s the popular Coh. You smell terrific. :snfQuinn:.
24 Mar 2025, 02:46 AM
Nickbn: and again someone else replies. I mean come on guys. Give @adamírcz a chance
22 Mar 2025, 14:00 PM
Willy Pete: @Nickbn you didn't ask a question, and this is a chat box...
20 Mar 2025, 13:11 PM
Nickbn: @Rosbone it's incredibly rude to speak on someone elses behalf, especially when a question is directly adressed to them. I understand your passion for the subject at hand but I want to hear from him.
20 Mar 2025, 10:16 AM
Rosbone: @Nickbn No, I am just saying people should not be using any Relic owned forum since they have proven they ban anyone who says true things about Coh3.
18 Mar 2025, 19:01 PM
Nickbn: @Rosbone do you speak on his behalf? I didn't know. In that case keep us updated please.
18 Mar 2025, 16:47 PM

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

372 users are online: 1 member and 371 guests
sexygirls
1 post in the last 24h
12 posts in the last week
79 posts in the last month
Registered members: 53165
Welcome our newest member, sexygirls
Most online: 2043 users on 29 Oct 2023, 01:04 AM