Sprite Origins

PhyPhy Join Date: 2003-03-01 Member: 14163Members
<div class="IPBDescription">Someone tell me how!</div> I've always wanted to do a GL sprite that indicated the correct adjustment for range, and have it done, but i need to know how to make a coordinate to be its origin, can anyone help?

Comments

  • IcejellyIcejelly Join Date: 2003-06-10 Member: 17176Members
    Man if that was created it'll be like shooting monkeys into a barrel....uhm.....'nades into a hive... <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo--> <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif'><!--endemo-->
  • Owen1Owen1 Join Date: 2003-04-13 Member: 15457Members
    erm... i think ud have to make 1 that can correspond with autoaim
  • Vash_Fourty_Five_LcVash_Fourty_Five_Lc Join Date: 2003-06-01 Member: 16913Members
    Weeeell I think you'd have your work cut out for you. I assume by saying you want a crosshair for proper adjustments for the GL you mean numbers and such. Well, first off what units are you gonna put those numbers in? HL worldly units aren't in anything that you can easily relate to Metric or what not, just in...um.....world units. You could use these said units as your basis instead, and mark off "3 units away=2 marks up" etc. but then you have another problem. Yah gotta factor in height and what not, shooting at different heights may mess up the arc and projected point of impact. And the angle at which you shoot at these heights coupled with richochet could very well throw that math out the window...

    A scenario: I am on a flat plane and I fire my GL downwards at a 45 degree angle to hit an oncoming skulk. Now what if I fired at that same 45 degree while I was 5 feet (feet being relative to the size of the marines) above on a platform. I may overshoot that same skulk. Or if I aim up too high I may hit the ceiling, there by ricocheting the grenade downard, messing up my arc. Ugh. No, I say there are too many variables to deal with for an accurate GL crosshair, as much as we all want one. The best method, as everyone well say, or most at least, is to simply get use to the arc and learn to compensate, then learn to shoot instinctively upon these arcs. I did it myself fairly easy, but for others it may take awhile. Nothing better to do, but if anything, try to drop the gren a little lower so it's a better change the aliens will walk into it....

    Point in case, seeing as my friend was a mad Demolition/Explosives man for the game Tribes when I introduced him to it, I started to devise a complex mortar and grenade aiming reticle. This consisted of grenade markings on the left and mortars on the right going from the middle of the crosshair down. The units used where simply the numbers used when you laser range anything. I did a fair amount of tests, I ranged an object on the same plane with my laser, set up even distances (100, 200 etc.) and proceeded to test the arcs for both weapons. All this countless checking and testing, and finally finding where the arc of the grenade and mortar cut off (effectively leaving me to "gray out" the numbered ranges that you COULD NOT reach) and I was left with a crosshair I was very proud of. Just by being given the range to a target, you could put out in one shot a grenade or mortar almost directly on top of the object, as long as it was within arc range. And when this was presented to my friend..... he simply said. "Cool, but I already figured out how to shoot by feel." And then proceed to own with the mortar at any and all ranges, heights, on the fly, you name it, to this day. Gah...... what a waste of manpower and time that was........ Sorry, just my little rant to go along with this to prove....something... <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->
  • PhyPhy Join Date: 2003-03-01 Member: 14163Members
    The default GL sprite is just a pet peeve, it doesn't measure right. The way I've derived the ranges are from some physics formulas ans so far they seem to be at least moderately accurate. My measurements are in feet assuming that HL units are 16/ft, player height is added in the calculations and the range would be the first time it touches the ground. The rangefinder would be for level ground, sloped or uneven would be too jumbled to accually put in there and might confuse some people. I'm also assuming the grenade projectile's muzzle speed is 800u/s (derived from an equation using results from shooting it straight up). The current sprite I'm working on will be for 800x600, I'll have to do a 1024x768 next...
Sign In or Register to comment.