Author Topic: Massdriver range announcement  (Read 5938 times)

{7}wrath

  • Posts: 232
  • Turrets: +25/-26
Massdriver range announcement
« on: July 05, 2009, 07:57:55 pm »
My brother had the idea that whenever somebody was shot with a massdriver, the announcement would include the range, like this: "wr4th was massdriven by Cadmium at 13 metres."

What do you guys think of implementing this in the next release?

Nux

  • Posts: 1778
  • Turrets: +258/-69
Re: Massdriver range announcement
« Reply #1 on: July 05, 2009, 08:14:17 pm »
Or maybe even for those lucky long-range shotty kills.  ;)

mooseberry

  • Community Moderators
  • *
  • Posts: 4005
  • Turrets: +666/-325
Re: Massdriver range announcement
« Reply #2 on: July 05, 2009, 08:19:46 pm »
Just like those CoD mods. I don't really see the point of this though, not least because there aren't many places in normal maps where you can actually see for a loong distance.
Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]

मैं हिन्दी का समर्थन

~Mooseberry.

Ellohir

  • Posts: 192
  • Turrets: +14/-13
    • El balrog con alas
Re: Massdriver range announcement
« Reply #3 on: July 05, 2009, 08:21:53 pm »
Meters? Why metric system?

I think the best would be to notice the distance when is longer than a certain threshold.

{7}wrath

  • Posts: 232
  • Turrets: +25/-26
Re: Massdriver range announcement
« Reply #4 on: July 05, 2009, 08:38:02 pm »
Metric or whatever, it doesn't matter. And probably having a threshold would be a good idea.

Ellohir

  • Posts: 192
  • Turrets: +14/-13
    • El balrog con alas
Re: Massdriver range announcement
« Reply #5 on: July 05, 2009, 08:41:35 pm »
I use metric system (Europe r00lz) but I just though that it should be configurable, either Metric or... What was the other thing? Imperial or something like that, isn't it?

PureNoob

  • Posts: 59
  • Turrets: +6/-11
Re: Massdriver range announcement
« Reply #6 on: July 05, 2009, 09:00:54 pm »
I use metric system (Europe r00lz) but I just though that it should be configurable, either Metric or... What was the other thing? Imperial or something like that, isn't it?
And also option to not to show the range at all. It would be cool idea for a mod but I wouldn't mind to have it in 1.2, too.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Massdriver range announcement
« Reply #7 on: July 05, 2009, 09:06:52 pm »
there isn't really a conversion from game units to metric (or imperial, or anything else).
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Knowitall66

  • Posts: 492
  • Turrets: +70/-52
Re: Massdriver range announcement
« Reply #8 on: July 06, 2009, 02:47:08 am »
I'm pretty sure this came from Soubok, but I'm too not sure; "8 game units equals 1 foot".

Defiance

  • Posts: 66
  • Turrets: +3/-15
Re: Massdriver range announcement
« Reply #9 on: July 06, 2009, 04:18:01 am »
nvm
"Be gone, little fucker. Shoo." -Sinclair

danmal

  • Posts: 244
  • Turrets: +21/-6
Re: Massdriver range announcement
« Reply #10 on: July 06, 2009, 05:11:27 am »
there isn't really a conversion from game units to metric (or imperial, or anything else).

Doesn't matter too much. It can be pretty much arbitery tbh as long as the distance seems believable.

+ OPTIMUS +

  • Posts: 1098
  • Turrets: +263/-164
Re: Massdriver range announcement
« Reply #11 on: July 06, 2009, 07:25:55 am »
from the grave:

From the GtkRadiant manual:
Code: [Select]
In the game world, eight units roughly equal one foot (30.5 cm).This means that around 26 units equals the meter you say is absent in Tremulous.

So according to that the average height of the trem human is about 210 cm.

"The metre is the length of the path traveled by light in vacuum during a time interval of 1⁄299,792,458 of a second. It follows that the speed of light in vacuum is exactly 299,792,458 metres per second. (17th CGPM, 1983, Resolution 1)[2]"

Light doesn't move in Tremulous, therefore there are no metres.
success is the ability to go from failure to failure without losing your enthusiasm

+PICS+

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: Massdriver range announcement
« Reply #12 on: July 06, 2009, 07:54:30 am »
Should be 32 units to a meter (human = 56/32=1.75m).

googles

  • Posts: 219
  • Turrets: +30/-19
Re: Massdriver range announcement
« Reply #13 on: July 06, 2009, 03:46:21 pm »
Code: [Select]
vec3_t    diff;
float    dist;

VectorSubtract( tr.endpos, ent->client->ps.origin, diff );
dist = VectorLength( diff );

trap_SendServerCommand(-1, va("print \"Your distance is %f\n\"", dist ) );


<.<