Custom Hitsphere Testing - Help needed

Custom Hitsphere Testing - Help needed

Classic game design, maintained to please you...

Moderator: Content Developer

Post Reply
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Custom Hitsphere Testing - Help needed

Post by TheFatController »

I'm looking to create a mutator with tighter hitspheres for all units to see how it plays and it's a fairly laborious process so I'm posting to see if:
a) anyone wants to help
b) anyone can think of a faster method to what i'm doing

Essentially the result will be that instead of having massive hit spheres units would have hitboxes proportional to their model, eg:
Image

My current process for this is:

1) Paste this code into the bottom of the units fbi file:

Code: Select all

  collisionVolumeOffsets=0.0 0.0 0.0;
  collisionVolumeScales=20.0 25.0 15.0;
  collisionVolumeType=box;
2) Tweak the sizes based on guesswork
3) Load spring, /cheat, /give unit
4) Hit Alt-B to see the hitbox
5) Note how much it needs adjusting and return to step 2 until the hitbox looks okay

So if anyone wants to help do a few units (I've already done t1 kbots) please post the unitdef names and the code for the hitsphere here.

Otherwise as I said above if anyone can enlighten me as to a faster way of doing this i'd be glad :)

Note: this is not a change going straight into BA so your theory about how this will ruin balance is not relevant to this thread
Post Reply

Return to “Balanced Annihilation”