Author Topic: Where do I find bbox-sizes and other data for various players/classes/etc.?  (Read 4711 times)

zybork

  • Posts: 400
  • Turrets: +68/-72
I am currently browsing through the source to add bounding box sizes to the wiki, but I can't find'em. I found all sorts of stuff in src/game/tremulous.h, but bbox sizes I do not find anywhere.

May a wizard enlighten me (remark: BRRRRZZZZL)
« Last Edit: March 22, 2011, 06:59:41 pm by zybork »
I have retired from Tremulous. Definetely. If you play a game just because it has become a habit, but u'r only feeling like a kindergarten teacher - well, maybe I am just getting too old (hell, I was a teenager when DukeNukem3D was *new*) - it's probably not a bad idea to just let it be. And I do.

Don't take this personally. Have fun, guys.

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: Where do I find bbox-sizes for various players/classes/etc.?
« Reply #1 on: March 22, 2011, 04:21:35 pm »
Mins/maxs are in buildable/class configs
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

zybork

  • Posts: 400
  • Turrets: +68/-72
Re: Where do I find bbox-sizes for various players/classes/etc.?
« Reply #2 on: March 22, 2011, 04:53:48 pm »
Thank you :)

So here are the bounding box sizes for 1.2:

Code: [Select]
granger   40 40
granger (adv.)  40 40
dretch          30 30
basilisk        36 36
basilisk (adv.) 42 42
marauder        44 34
marauder (adv.) 48 38
dragoon         52 55
dragoon (adv.)  58 66
tyrant          64 92
human           30 56
battlesuit      30 76

And, while I am at it, could you tell me where the human hitboxes begin, and what the modifiers are for
• armour
• helmets
• battlesuits

I know that the modifier for headbites is 1.5 (so a dretch with damage 36 can kill a naked human with two headbites, 26*2*1.5=108), but what was that for biting the feet?

I am working on a table with various data in it, to be put into the wiki eventually, and I just couldn't figure out those modifiers.
I have retired from Tremulous. Definetely. If you play a game just because it has become a habit, but u'r only feeling like a kindergarten teacher - well, maybe I am just getting too old (hell, I was a teenager when DukeNukem3D was *new*) - it's probably not a bad idea to just let it be. And I do.

Don't take this personally. Have fun, guys.

Meisseli

  • Spam Killer
  • *
  • Posts: 765
  • Turrets: +83/-25
Re: Where do I find bbox-sizes for various players/classes/etc.?
« Reply #3 on: March 22, 2011, 05:09:54 pm »

zybork

  • Posts: 400
  • Turrets: +68/-72
Re: Where do I find bbox-sizes for various players/classes/etc.?
« Reply #4 on: March 22, 2011, 06:59:14 pm »
Thx, so the overall modifier for battlesuits is damage × 0.27 and a helmet reduces headbitedamage by 0.4, while the armour has a range from 0.3 to 0.4, depending on leg, back, crouching or not crouching, I take it that aliens only have overall damage, this is, it does not matter from which side they are attacked, or does it?

PS: What is the modifier for damage done to feet? I knew it once, but I forgot.
I have retired from Tremulous. Definetely. If you play a game just because it has become a habit, but u'r only feeling like a kindergarten teacher - well, maybe I am just getting too old (hell, I was a teenager when DukeNukem3D was *new*) - it's probably not a bad idea to just let it be. And I do.

Don't take this personally. Have fun, guys.

Meisseli

  • Spam Killer
  • *
  • Posts: 765
  • Turrets: +83/-25
Re: Where do I find bbox-sizes for various players/classes/etc.?
« Reply #5 on: March 22, 2011, 07:39:20 pm »
PS: What is the modifier for damage done to feet? I knew it once, but I forgot.
It used to be 0,5x, it probably hasn't changed.

zybork

  • Posts: 400
  • Turrets: +68/-72
Some last questions remain I take it:

• Do aliens get the same damage no matter from which direction?
• Where are the boundaries of hitboxes for human feet, torso and head of normal humans and of battlesuits?
I have retired from Tremulous. Definetely. If you play a game just because it has become a habit, but u'r only feeling like a kindergarten teacher - well, maybe I am just getting too old (hell, I was a teenager when DukeNukem3D was *new*) - it's probably not a bad idea to just let it be. And I do.

Don't take this personally. Have fun, guys.

Dracone

  • Posts: 1079
  • Turrets: +138/-278
We did testing on this kind of thing recently. I saw no indication that there's a modifier for attacking from behind over attacking the front, though there supposedly is one.
Quote from: St. Anger
Tip 4 baslick guiz: Make sure you get near them bc u can stiky them i think its a bug lolz. but dont tell 2 many ppl shh.
Quote from: dobruiyyk
It's possible, your descendant will never see the sun because our species is gonna extinct in nearest future. So you better unstick from your computer and find a girl to make a child with!

Meisseli

  • Spam Killer
  • *
  • Posts: 765
  • Turrets: +83/-25
• Do aliens get the same damage no matter from which direction?
Yes.
• Where are the boundaries of hitboxes for human feet, torso and head of normal humans and of battlesuits?
They can be found in the armour section I posted. In the file larmour.armour it says:
Code: [Select]
 name "larmour chest"
  minHeight 0.5
  maxHeight 0.8

  name "larmour left arm"
  minHeight 0.5
  maxHeight 0.8

  name "larmour back"
  minHeight 0.5
  maxHeight 0.8

  name "larmour right arm"
  minHeight 0.5
  maxHeight 0.8

  name "larmour legs"
  minHeight 0.0
  maxHeight 0.5
and in helmet.armour
Code: [Select]
 minHeight 0.8
  maxHeight 1.0
so I would presume the hitbox for the legs is the lower 50% of the human hitbox height, chest, back and arms are the next 30%, and head is the upper 20%. There are other minHeight and maxHeight values in the files for crouching too.
We did testing on this kind of thing recently. I saw no indication that there's a modifier for attacking from behind over attacking the front, though there supposedly is one.
There's no difference in modifiers if you're not wearing light armour. According to larmour.armour, if you're wearing light armour, the damage modifier for chest is 0.35 and 0.4 for back. Battlesuit has the same modifier for chest and back: 0.2.

zybork

  • Posts: 400
  • Turrets: +68/-72
Well, I compiled the data available on aliens in a datasheet, to be found at

http://sacharja.at/tremulous/datasheet.html (HTML)
or at
http://sacharja.at/tremulous/datasheet.ods (OpenDocumentSpreadsheet, as used by OpenOffice)

here it is as plain text as spit out by OpenOffice.org's converter:

Code: [Select]
alien classes

        general         name       granger  advanced gr  dretch    basilisk  advanced ba marauder  advanced ma  dragoon  advanced dr  tyrant   

        data            cost                                           •         ••         ••         •••        •••       ••••       •••••   
                       stage          1          2          1          1          2          1          2          1          2          3     
                       health        50         75         25         60         80         150        175        200        250        350   
                   special mobili            wallwalk   wallwalk   wallwalk   wallwalk   walljump   walljump  charged jumcharged jum  trample 

           size        width         40         40         30         36         42         44         48         52         58         64     
                       height        40         40         30         36         42         34         38         55         68         92     

        primary        damage        20         20         36         32         32         40         40         80         80         100   
        attack        repeat       1000       1000        500        600        500        500        400        900        800        800   
                     d./second       20         20         72         53         64         80         100        89         100        125   

        secondary       type          ×          ×          ×          ×         gas         ×     electric za  pounce     pounce     trample 
        attack         damage                                                     4                    60         100        100        111   
                       repeat                                                   2500                  1500        400        400        100   
                     d./second                                                   1,6                   40         250        250       1110   

        special         type          ×     spit blobs      ×          ×          ×          ×          ×          ×     spit barbs    crush   
        attack         damage                    4                                                                           110        120   
                       repeat                  1000                                                                          800        500   
                     d./second                   4                                                                          137,5       240

I'll put this into the wiki one day, but, considering the fact that I still have a life ;) I don't know when I will find the time and be in the mood to do it.
I have retired from Tremulous. Definetely. If you play a game just because it has become a habit, but u'r only feeling like a kindergarten teacher - well, maybe I am just getting too old (hell, I was a teenager when DukeNukem3D was *new*) - it's probably not a bad idea to just let it be. And I do.

Don't take this personally. Have fun, guys.