Show GameType in UDK?



  • I’ve already got some script… I’m looking for what to put in Config and Localization…

    In:
    C:/GameZ/UDK/Blah Blah/UDKGame/

    Config/

    Localization/INT/

    What do I name those items and what do I put inside them? My folder is called EoW for script.



  • http://www.hourences.com/an-entire-simple-udk-game/

    I would recommend looking at this.Kind of outdated but some parts are helpful nonetheless.
    If your script family is EoW then the localization file would be EoW.int



  • Figured it out, gotta make:
    C:\GameZ\UDK\UDK-2011-08\UDKGame\Config\

    EoW.ini

    [EoW.EoWxGame]
    GoalScore=25
    
    [EoWxGame UTUIDataProvider_GameModeInfo]
    GameMode=Elements of War
    GameSettingsClass=UTGameSettingsTDM
    GameSearchClass=UTGameSearchTDM
    PreviewImageMarkup=UI_FrontEnd_Art.GameTypes.___TeamDeathmatch
    DefaultMap=EoW-Map
    Prefixes=EoW
    OptionSet=TDM
    IconImage=UI_HUD.HUD.UI_HUD_BaseD
    IconU=571
    IconV=76
    IconUL=149
    IconVL=105
    
    

    Localization/INT/
    EoW.int

    [EoWxGame UTUIDataProvider_GameModeInfo]
    FriendlyName=Elements of War
    Description=Team vs Team combat
    
    


  • Delete:
    C:\GameZ\UDK\UDK-2011-08\UDKGame\Config
    Anything with UDK_Name

    C:\GameZ\UDK\UDK-2011-08\UDKGame\Config
    DefaultEngine.ini

    [UnrealEd.EditorEngine]
    +EditPackages=UTGame
    +EditPackages=UTGameContent
    +ModEditPackages=EoW

    DefaultEngineUDK.ini
    [UnrealEd.EditorEngine]
    EditPackagesOutPath=…\UDKGame\Script
    FRScriptOutputPath=…\UDKGame\ScriptFinalRelease
    +EditPackages=UDKBase
    +EditPackages=UTEditor
    +ModEditPackages=EoW
    AutoSaveDir=…\UDKGame\Autosaves
    InEditorGameURLOptions=?quickstart=1?numplay=1

    C:\GameZ\UDK\UDK-2011-08\Development\Src\EoW\Classes
    EoWxGame.uc

    // /* *** *** ***                 *** *** *** */ //
    // /* *** *** *** Elements of War *** *** *** */ //
    // /* *** *** ***                 *** *** *** */ //
    
    class EoWxGame extends UTTeamGame
    	config(game);
    		// UTDeathmatch // UTGame
    
    defaultproperties
    {
       Acronym="EoW"
       MapPrefixes[0]="EoW"
    
       bTeamGame=True
       HUDType=CLass'EoW.EoWxHUD'  //  HUDType=Class'UTGame.UTTeamHUD'
    
       // DefaultInventory(0)=Class'UTGame.UTWeap_Enforcer'
       // DefaultInventory(1)=Class'UTGame.UTWeap_ImpactHammer'
    
       PlayerControllerClass=Class'EoW.EoWxPlayer'  // PlayerControllerClass=Class'UTGame.UTPlayerController'
       DefaultPawnClass=Class'EoW.EoWxPawn'         // DefaultPawnClass=Class'UTGame.UTPawn'
    
    }
    
    

    EoWxHUD.uc

    // /* *** *** ***                 *** *** *** */ //
    // /* *** *** *** Elements of War *** *** *** */ //
    // /* *** *** ***                 *** *** *** */ //
    
    class EoWxHUD extends UTTeamHUD
    	dependson(UTWeapon)
    	config(Game);
    		// UTHUD
    
    defaultproperties
    {
    
    }
    
    

    EoWxPawn.uc

    // /* *** *** ***                 *** *** *** */ //
    // /* *** *** *** Elements of War *** *** *** */ //
    // /* *** *** ***                 *** *** *** */ //
    
    class EoWxPawn extends UTPawn
    	config(Game)
    	notplaceable;
    		// UDKPawn
    
    defaultproperties
    {
    	JumpZ=999.0
    }
    
    

    EoWxPlayer.uc

    // /* *** *** ***                 *** *** *** */ //
    // /* *** *** *** Elements of War *** *** *** */ //
    // /* *** *** ***                 *** *** *** */ //
    
    class EoWxPlayer extends UTPlayerController
    	dependson(EoWxPawn)
    	dependson(UTPlayerReplicationInfo)
    	config(Game);
    			// UDKPlayerController
    
    defaultproperties
    {
       // bBehindView=True
    }
    
    

    Compiled code goes:
    C:\GameZ\UDK\UDK-2011-08\UDKGame\Script
    EoW.u


Log in to reply