1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

M16A4 public beta release

Discussion in 'Infiltration Development' started by MP_Duke, Apr 19, 2004.

  1. chuckus

    chuckus Can't stop the bum rush.

    Joined:
    Sep 23, 2001
    Messages:
    771
    Likes Received:
    0
    Yeh that sound does get on your nerves after a while... especially after three straight days on the firing range!!
     
  2. MP_Duke

    MP_Duke Banned

    Joined:
    May 23, 2002
    Messages:
    711
    Likes Received:
    0
    That's the most amateur coding evar; hint: you don't use while loops to increment variables you want to implement at each stage
     
  3. [C22]-Acolyte

    [C22]-Acolyte Ai kotoba afuro to gunsou!

    Joined:
    Jan 20, 2002
    Messages:
    130
    Likes Received:
    0
    Duke, could you redo the M203 reload animation so that it would look more like the existing set of animations for the M16A2, or would that be too much of a trouble?
     
  4. Demosthanese

    Demosthanese .

    Joined:
    Apr 11, 2002
    Messages:
    796
    Likes Received:
    0
    Go Duke. You are now actively trying to piss on every last one of my posts. I een said
    that was a half-assed bit of coding simply used to represent the general idea, and while
    loops can be used to increment, and it is just as stable as a for loop or do-while loop. It
    all comes down to the preference of the coder, asshat.

    You want to talk to me, PM me. Don't spread the misery around the rest of the forum.
     
  5. Beppo

    Beppo Infiltration Lead-Programmer

    Joined:
    Jul 29, 1999
    Messages:
    2,284
    Likes Received:
    1
    Ehem, sorry to say that, but 'preference' is a bit off here:
    Code:
    //Loop starts when caught on fire
    for(int FirePain = 5; Health > 0 && Fire = True; Health -= FirePain)
    {
    Not commonly used but working... even if not the 'standard' usage of a for loop. A standard would be to in/decrease the int from the first argument in the third.


    Code:
      while(FirePain < 10) //Fire is flaring up
        FirePain++;
    This equals to directly set FirePain = 10. If you want to steadily increase the FirePain step by step then you need to use a simple IF statement here instead of a while loop.


    Code:
      while(Prone = True && MovingSidewas = True) //Prone and rolling around
      {
        FirePain -= 2;
        If(FirePain <= 0) //Check to see if you are still taking damage from fire
          Fire = False;
      }
    }
    Same here... an IF statement was the thing you wanted to use here.


    Now take back this 'asshat' comment or try to post proper code in the first place.
     
    Last edited: May 4, 2004
  6. Cleeus[JgKdo]

    Cleeus[JgKdo] because respawns suck

    Joined:
    Jun 8, 2002
    Messages:
    798
    Likes Received:
    0
  7. fist_mlrs

    fist_mlrs that other guy

    Joined:
    Jan 4, 2001
    Messages:
    1,496
    Likes Received:
    0
    *grabs some popcorn*
     
  8. NTKB

    NTKB Banned

    Joined:
    Aug 25, 2001
    Messages:
    2,858
    Likes Received:
    0
    Duke. By all means continue to smear his entrails all over the thread and forum.
     

    Attached Files:

  9. Fat Marrow

    Fat Marrow Vegetable

    Joined:
    Feb 27, 2002
    Messages:
    755
    Likes Received:
    1
    Where is the love, y'all?

    :fluffle:
     
  10. MP_Duke

    MP_Duke Banned

    Joined:
    May 23, 2002
    Messages:
    711
    Likes Received:
    0
    ahh, take it easy on my man demo, he's having a bad week :p
     
  11. MP_Duke

    MP_Duke Banned

    Joined:
    May 23, 2002
    Messages:
    711
    Likes Received:
    0
    update 04.05.04 2:42 PM

    All tomfooleries aside, we got an update...

    Updated files: INFM16A4.u, INFM16A4.ini

    Fixed: hip-shots moving to the right relative to LAM (thanks DEFkon, this was a consequence from fixing an earlier bug of the gyrating LAM dot; gotta love those)

    Updates:
    - modified suppressor and mag slapping sounds (thanks Crowze)
    - reduced incendiary kill radius further while adding a flame radius check from more inflammatory damage :p (also replaced the 24 flying flames with just one explosion fireball which should chew up less cpu)
    - ini updated with 2 variables bReplaceIncendiary and bRemoveIncendiary, set these to True to replace incendiaries with normal 40s or remove them altogether, respectively (thanks Crowze)

    Download from Post #1
     
  12. {GD}Odie3

    {GD}Odie3 You Give Odie a Boner

    Joined:
    Nov 19, 2001
    Messages:
    1,209
    Likes Received:
    0
    {GD} Server Updated
     
  13. MP_Duke

    MP_Duke Banned

    Joined:
    May 23, 2002
    Messages:
    711
    Likes Received:
    0
    That was damn fast :p
    Forgot to mention one thing, the indendiaries obey the laws of yurch now if bYurchNades=True
     
    Last edited: May 4, 2004
  14. DEFkon

    DEFkon Shhh

    Joined:
    Dec 23, 1999
    Messages:
    1,934
    Likes Received:
    0
    I think i might have found a new bug, but i can't be sure. Basically it "seems" as if now burst fired from the hip shows the same type of Lam not lineing up with the impacts symptoms that effected single fire previously. It's really hard to tell though because the rate of fire on the gun is pretty high which makes it diffiult to track the last two shots. maybe it's just me seeing bugs where there aren't...
     
  15. Demosthanese

    Demosthanese .

    Joined:
    Apr 11, 2002
    Messages:
    796
    Likes Received:
    0
    wppt!

    I'll go take a look at the LAM on the firing range, and see if I see that as well.
     
  16. Demosthanese

    Demosthanese .

    Joined:
    Apr 11, 2002
    Messages:
    796
    Likes Received:
    0
    From what I could tell, it seemed to match up. Sometimes it moved too quickly to see,
    but other times it flashed just long enough that I could see it. From what I could tell, the
    LAM matches the where the bullet shoots.

    As fo the code, I mentioned that it was not ment to be functional. Just something to do
    while I was bored, so **** off. That's why I refered to it as psudocode.
     
  17. MP_Duke

    MP_Duke Banned

    Joined:
    May 23, 2002
    Messages:
    711
    Likes Received:
    0
    When you burst fire, the LAM dot also moves quickly to the right and then back again. The first shot lining up with the dot means it's working, even though you can't observe this with the 2nd and 3rd shots...
    Anyhow, who the hell uses a LAM??? :p
     
  18. (SDS)benmcl

    (SDS)benmcl Why not visit us here in the real world.

    Joined:
    May 13, 2002
    Messages:
    1,897
    Likes Received:
    0
    lol. I actually use the LAM but not for what its supposed to be used for.
     
  19. Fat Marrow

    Fat Marrow Vegetable

    Joined:
    Feb 27, 2002
    Messages:
    755
    Likes Received:
    1
    ..?
     
  20. MP_Duke

    MP_Duke Banned

    Joined:
    May 23, 2002
    Messages:
    711
    Likes Received:
    0
    Are you saying you like to point it at people's faces so they see that big red dot on their screen? I do that too lol
     

Share This Page