Tremulous Forum
General => General Discussion => Topic started by: zybork on March 22, 2011, 12:41:31 pm
-
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)
-
Mins/maxs are in buildable/class configs (http://svn.icculus.org/tremulous/branches/gpp/assets/configs/)
-
Thank you :)
So here are the bounding box sizes for 1.2:
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.
-
and what the modifiers are for
• armour
• helmets
• battlesuits
http://svn.icculus.org/tremulous/branches/gpp/assets/armour/
-
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.
-
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.
-
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?
-
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.
-
• 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 (http://tremulous.net/forum/index.php?topic=15411.msg219803#msg219803). In the file larmour.armour it says:
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
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.
-
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:
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.