Results 1 to 9 of 9
  1. #1
    MSgt. Shooter Person
    Join Date
    Dec 2011
    Posts
    59

    Default file to activate ads, where?

    so this link http://udn.epicgames.com/Three/InGameAds.html says to edit teh ad manager code in the UDNPlayerController.uc but i can't locate that file for the life of me. wheres it at in the udk folder?

  2. #2
    MSgt. Shooter Person
    Join Date
    Dec 2011
    Posts
    59

    Default

    found it. C:\UDK\UDK-2012-03\Development\Src\UDKBase\classes

  3. #3
    MSgt. Shooter Person
    Join Date
    Dec 2011
    Posts
    59

    Default

    acually does anyone know if thats the right location it doesnt seem to be working for me. no fake ads are showing up. does it have to be a certain game type. like frameworks or cloud?

  4. #4
    MSgt. Shooter Person
    Join Date
    Sep 2011
    Location
    Tampa, FL
    Posts
    94

    Default

    The In Game Ad-Manager doesn't seem to work properly at all for the most part. All I've ever gotten it to do was lower the framerate substantially. All you can really do is report what isn't working and hope Epic Games fixes it and provides more documentation for troubleshooting.

  5. #5
    Iron Guard
    Join Date
    Sep 2011
    Posts
    526

    Default

    Quote Originally Posted by DougClayton4231 View Post
    The In Game Ad-Manager doesn't seem to work properly at all for the most part. All I've ever gotten it to do was lower the framerate substantially. All you can really do is report what isn't working and hope Epic Games fixes it and provides more documentation for troubleshooting.
    hmm some seem to get it to work properly though... the question is just... HOW? xD

  6. #6
    MSgt. Shooter Person
    Join Date
    Dec 2011
    Posts
    59

    Default

    if i could track down where the UDNPlayerController script file is located im sure i could get it working, just nobody seems to know where it is.

  7. #7
    Veteran
    Join Date
    May 2007
    Location
    Above KillZ, Below StallZ
    Posts
    9,986

    Default

    That is the name used for the custom player controller in the example.

    -- Sent from my TouchPad using Communities
    http://www.ericbla.de http://www.dungeondefenders.com http://en.wikipedia.org/wiki/Warm_Gun http://www.rekoil.com http://www.groundbranch.com

    - Please don't send me private messages asking programming questions, those would be better asked on the Programming forum here. Thanks

  8. #8
    MSgt. Shooter Person
    Join Date
    Sep 2011
    Posts
    132

    Default

    The UDNPlayerController isn't in UDK.
    It's an example on UDN.

    Inherit your custom "PlayerController" from at least "GamePlayerController" and add this:


    Code:
    class ChadlingsPlayerController extends GamePlayerController;
    
    
    
    
    var InGameAdManager AdManager;
    
    
    
    
    simulated function PostBeginPlay()
    {
            Super.PostBeginPlay();
    
            AdManager = class'PlatformInterfaceBase'.static.GetInGameAdManager();
            if (AdManager != none)
                    AdManager.ShowBanner(true);
    }

  9. #9
    MSgt. Shooter Person
    Join Date
    Dec 2011
    Posts
    59

    Default

    well that explains why i couldnt find it haha... so im using a mobileplayerpawn as my character. does that make a difference?
    ive done everything in kismet so bare with me im an artist not a programmer. so i'm still a little confused about where to add the code. is the "gameplayercontroller" the name of the file i would add it in then?

    Quote Originally Posted by uberman View Post
    The UDNPlayerController isn't in UDK.
    It's an example on UDN.

    Inherit your custom "PlayerController" from at least "GamePlayerController" and add this:


    Code:
    class ChadlingsPlayerController extends GamePlayerController;
    
    
    
    
    var InGameAdManager AdManager;
    
    
    
    
    simulated function PostBeginPlay()
    {
            Super.PostBeginPlay();
    
            AdManager = class'PlatformInterfaceBase'.static.GetInGameAdManager();
            if (AdManager != none)
                    AdManager.ShowBanner(true);
    }


 

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.