Results 1 to 3 of 3
  1. #1
    MSgt. Shooter Person
    Join Date
    Aug 2006
    Posts
    104

    Default Bug in Vehicle CTF?

    I created a mutator that does some ModifyPlayer() stuff, and it works excellently in Deathmatch and Team Deathmatch. Upon trying it in Vehicle CTF, though, I found that it did not do anything that it was supposed to, and putting a `log() entry in ModifyPlayer(), I found that the function wasn't even being called.

    Doing some scouring, I found that ModifyPlayer() is called by SetPlayerDefaults(), which is a gametype function. In Vehicle CTF, this function is overridden to set the class of the player's hoverboard, but it does not call super.SetPlayerDefaults(), so ModifyPlayer() is never called either. I would imagine that this is not the intended functionality, and so I wanted to mention it for discussion or for some head people to read and see "oh, crap, *fixfixfix*".

    And for clarification, adding "super.SetPlayerDefaults();" in at the end of the SetPlayerDefaults() function of UTGameContent\UTVehicleCTFGame_Content.uc fixes the issue.

  2. #2
    Administrator
    Join Date
    Jun 2006
    Posts
    272

    Default

    Thanks, I'll check into this.

  3. #3
    MSgt. Shooter Person
    Join Date
    Aug 2006
    Posts
    104

    Default

    Cool, thanks for responding. For reference, how would such a bugfix be distributed to UDK developers? Just as a downloadable patch for the source, or also patching UTGame.u, or what?


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.