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.

[Mutator] SecondWind - Mk23 LAM Switch

Discussion in 'Infiltration Development' started by UN17, May 17, 2004.

  1. shan

    shan www.clanterritory.com

    Joined:
    Jan 29, 2000
    Messages:
    1,011
    Likes Received:
    0
    I will put it on both my servers....meant to, just forgot today.
     
  2. shan

    shan www.clanterritory.com

    Joined:
    Jan 29, 2000
    Messages:
    1,011
    Likes Received:
    0
    I'm all for combining muties into the same package and I like second wind too.
     
  3. yurch

    yurch Swinging the clue-by-four

    Joined:
    May 21, 2001
    Messages:
    5,781
    Likes Received:
    0
    Sounds like a mutator I'm familiar with... ;)
     
  4. Beppo

    Beppo Infiltration Lead-Programmer

    Joined:
    Jul 29, 1999
    Messages:
    2,284
    Likes Received:
    1
    Got an email about the LAM switch muty reducing the bulk of the Mk23 to zero.

    Guess you forgot to set its bulk in a loadout mutator properly cause it is not the same old class name anymore.
    Code:
    class MyMutator extends INFc_LoadoutMutator;
    
    function int CheckItemBulk(class A) {
    	if ( ClassIsChildOf( class'MyPackage.MyNewWeaponClass', A ) ) 
         		return 6; //BulkValue of Mk23
    
    	return -1;
    }
    
    Guess you need the same for the DE.50AE mutator.
     
  5. UN17

    UN17 Taijutsu Specialist

    Joined:
    Dec 7, 2003
    Messages:
    675
    Likes Received:
    0
    Hmm... I did not think of that! The DE already has it's own bulk return call because it's a completely new weapon. The Mk23 LAM only modifies the LAM part, so it did not occur to me that INF would not recognize it as one of the regular weapons, hence assign no bulk. Thanks for the info, I'll add that in right now :)


    Edit: Note to future INF projects or mods, please don't hardcode everything again! Make everything modular so you and your fans can add content without hacking the script to bits and dodging conflicts left and right :)
     
    Last edited: May 27, 2004
  6. Beppo

    Beppo Infiltration Lead-Programmer

    Joined:
    Jul 29, 1999
    Messages:
    2,284
    Likes Received:
    1
    Every new equipment class needs a new loadout mutator to be recognized within the game. This includes the loadout info, bulk, HUD stuff aso.

    to your edit...
    Name another mod that is in itself 'modable' and features own 'mutator hooks' for other folks to get their stuff included easily... ;)
     
  7. shan

    shan www.clanterritory.com

    Joined:
    Jan 29, 2000
    Messages:
    1,011
    Likes Received:
    0
    Let me know when you make the changes to the mutie and I will add it to my servers.
     
  8. geogob

    geogob Koohii o nomimasu ka?

    Joined:
    Mar 11, 2000
    Messages:
    4,148
    Likes Received:
    0
    I see that in TDM, at end of rounds, the LAM dot is not (always) destroyed.
     

    Attached Files:

  9. UN17

    UN17 Taijutsu Specialist

    Joined:
    Dec 7, 2003
    Messages:
    675
    Likes Received:
    0
    Yes! You discovered my "leave strange floating lights in mid-air" feature. I noticed this a long time ago while being forced to play TDM at gunpoint. The code is in there for the laserdot to destroy itself when it has no owner, I suppose TDM works in a different way. I'll change it in the next laser update, though I must say I'm waiting for Yurch to perfect his smooth laser dot. Play EAS!
     
  10. {GD}Odie3

    {GD}Odie3 You Give Odie a Boner

    Joined:
    Nov 19, 2001
    Messages:
    1,208
    Likes Received:
    0
    Only one EAS server open in the US for now. GD server is TDM to help out Shan and his creeping Ping issue. Trying to find out if GD server will have the same issue(s) as Shan's TDM server.

    So, better get that fix sooner than later. ;)
     
  11. sir_edmond

    sir_edmond In my own world

    Joined:
    Aug 12, 2003
    Messages:
    606
    Likes Received:
    0
    There goes EAS, UN17. How long till we get the EAS back odie?
     
  12. {GD}Odie3

    {GD}Odie3 You Give Odie a Boner

    Joined:
    Nov 19, 2001
    Messages:
    1,208
    Likes Received:
    0
  13. geogob

    geogob Koohii o nomimasu ka?

    Joined:
    Mar 11, 2000
    Messages:
    4,148
    Likes Received:
    0
    Yes, I thought you'd already know about this UN, but I prefer to report it anyway.
     

Share This Page