Results 1 to 6 of 6
  1. #1
    MSgt. Shooter Person
    Join Date
    Apr 2010
    Posts
    148

    Default New PlayerController

    I am trying to a new player controller for my game. When I create the file then reference the player controller in DefaultGame.ini, I get an error every time I try to compile. Can anyone diagnose this for me?

    Code:
     Log: C:\Users\Josiah\Desktop\TDDUP 4.14.2010\Development\Src\UTGame\Classes\UTPawn.uc(1310) : Error, Unrecognized type 'CharacterInfo'

  2. #2
    MSgt. Shooter Person
    Join Date
    Mar 2010
    Posts
    469

    Default

    Referencing it in DefaultGame.ini?
    Haven't heard of that one myself yet, though I haven't been around that long.

    Have you tried adding this in the default properties of your GameInfo?
    Code:
    PlayerControllerClass=class'YourProject.Your_PlayerController'

  3. #3
    MSgt. Shooter Person
    Join Date
    Apr 2010
    Posts
    148

    Default

    Um where exactly do I find the game info at?

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

    Default

    You create your own GameInfo subclass, which has the PlayerControllerClass in it. Did you -change- something in UTPawn?
    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

  5. #5
    MSgt. Shooter Person
    Join Date
    Apr 2010
    Posts
    148

    Default

    Well I just completely replaced UTPawn and I am still getting this error. I have changed nothing from the player controller other than the class name to which I renamed my PlayerController. I am very new to this, so how do I make a new Game Info?
    Last edited by Iclem; 04-16-2010 at 04:49 PM.

  6. #6
    Veteran
    Join Date
    May 2007
    Location
    Above KillZ, Below StallZ
    Posts
    9,986
    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


 

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.