|
Smokey Joe
|
 |
« Reply #15 on: September 20, 2011, 02:02:51 pm » |
|
Nope.
|
|
|
|
|
Logged
|
~ Smokey Joe
|
|
|
|
Dusty
|
 |
« Reply #16 on: September 20, 2011, 06:57:41 pm » |
|
The only way I could see this working is by the medigun shooting an object that uses the mp_step_avoid or whatever. I don't think it's very easy to make a line break (correct me if I'm wrong psycho.)
|
|
|
|
|
Logged
|
|
|
|
|
NAGN
|
 |
« Reply #17 on: September 20, 2011, 07:36:48 pm » |
|
If I'm not mistaken, this used to be sort of implemented, but it was sort of broken and it was later patched out
|
|
|
|
|
Logged
|
  [im
|
|
|
RebelINS
Martial Expert
Offline
Posts: 6676
Future is so bright I gotta wear shades
|
 |
« Reply #18 on: September 20, 2011, 07:51:10 pm » |
|
The medibeam line would have to use some sort of anchor system.
If there is an intersection with an obstacle on the line between the healer and the patient, that coordinate would be saved as an anchor point. Then a new line would be drawn from the healer to the anchor point, and one from the anchor point to the patient. It's not really bending around corners, but it would be the same visual approximation.
From that point, you can do some extra stuff: A) put a limit on the internal angle of the two lines. For example, if it exceeds 90 degrees, the beam breaks. This is to prevent too much abuse of the system, considering that the current limit is distance-based. If there was no angle limit, the patients could go up and around some platforms without breaking the beam, because they're still within the distance limit.
B) Make the anchoring function recursive, so that it can bend more than once. This allows you to make more anchor points out of the sub-lines.
These are just implementation ideas I have from some extensive research on 2d ninja rope/general rope physics. Hopefully enough to give someone with more time and effort to work on this.
|
|
|
|
|
Logged
|
|
|
|
|
Humble Master
|
 |
« Reply #19 on: September 23, 2011, 06:55:34 pm » |
|
umm
Pylo is faster than the doktor
by like 2 pixles, not enough to post about.
|
|
|
|
|
Logged
|
Finally returned
|
|
|
BillyBobJoe
2011 Haxxy Finalist
Offline
Posts: 550
I quit
|
 |
« Reply #20 on: September 24, 2011, 12:57:56 pm » |
|
Yes please make this. Plus look at this screenshot. How come beam can go through some stuff?  and no it's not a pic from the medic beam glitch
|
|
|
|
|
Logged
|
hiatusI QUIT GUYS 
|
|
|
|
Unsung Hero
|
 |
« Reply #21 on: September 24, 2011, 04:19:22 pm » |
|
You clicked while moving your mouse around, so the beam is still in place even though it's going through some walls.
|
|
|
|
|
Logged
|
 Swimming is all about speshul powah. I have mastered swimming in 721 different strokes. Proud member of [PHS]
|
|
|
BillyBobJoe
2011 Haxxy Finalist
Offline
Posts: 550
I quit
|
 |
« Reply #22 on: September 24, 2011, 04:31:51 pm » |
|
but it's not supposed to right  plus I moved it a little bit more then it broke
|
|
|
|
|
Logged
|
hiatusI QUIT GUYS 
|
|
|
|
I_am_awesome
Guest
|
 |
« Reply #23 on: September 24, 2011, 05:18:00 pm » |
|
but it's not supposed to right  plus I moved it a little bit more then it broke the beam is just for the visuals, the actual collision check looks if it's possible to 'draw a line' from the one object (or rather it's hitbox) to the other. the beam is drawn from the tip to the origin of the soldier (roughly his center) 
|
|
|
|
|
Logged
|
|
|
|
|
Dusty
|
 |
« Reply #24 on: September 24, 2011, 05:46:39 pm » |
|
The collision line is also a lot smaller than the medibeam
|
|
|
|
|
Logged
|
|
|
|
BillyBobJoe
2011 Haxxy Finalist
Offline
Posts: 550
I quit
|
 |
« Reply #25 on: September 24, 2011, 05:54:47 pm » |
|
thanks now i understand 
|
|
|
|
|
Logged
|
hiatusI QUIT GUYS 
|
|
|
|
Smokey Joe
|
 |
« Reply #26 on: September 24, 2011, 07:13:33 pm » |
|
but it's not supposed to right  plus I moved it a little bit more then it broke the beam is just for the visuals, the actual collision check looks if it's possible to 'draw a line' from the one object (or rather it's hitbox) to the other. the beam is drawn from the tip to the origin of the soldier (roughly his center)  Are you telling me that all this time my waving the medigun around corners as an attempt not to cut the line was all for nothing?
|
|
|
|
|
Logged
|
~ Smokey Joe
|
|
|
|
Footpöp
|
 |
« Reply #27 on: September 24, 2011, 08:43:20 pm » |
|
Yeah, and that kinda means that he's not the second fastest.
That's completely missing the point of medic being able to move around fast enough to compensate for the few seconds where the heal beam breaks. As for the idea of allowing it to bend, it would be nice, but in my opinion it should only be a few degrees before it breaks, to give it more leniency but not to buff it to the point where a medic can be behind a crate and healing someone on the other side of it.
|
|
|
|
|
Logged
|
Team /ABC/ 
|
|
|
|
Commando
|
 |
« Reply #28 on: September 25, 2011, 01:20:19 am » |
|
Being able to heal someone through a crate... Thats one serious medigun.
|
|
|
|
|
Logged
|
|
|
|
|
Phantom Brave
|
 |
« Reply #29 on: September 25, 2011, 02:40:48 am » |
|
^ Making it trace from the end of the gun instead is something we might be able to get away with.
|
|
|
|
|
Logged
|
 Linkin Park lyrics here
|
|
|
|