Results 1 to 34 of 34
  1. #1
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default Trying to Compile Script FAIL

    Hi guys
    I've created an animated model that I want to get working within UDK. Thus far I have produced the Animset/Animtree/Physasset and created the the uScripts that are necessary such as the game/pawn/player.uc but when I go to compile them in Frontend I am getting this error -
    Analyzing...
    C:\UDK\UDK-2011-06\Binaries\..\Development\Src\TRex\Classes\090003 87Game.uc : Error, Script vs. class name mismatch (09000387Game/09000387)
    C:\UDK\UDK-2011-06\Binaries\..\Development\Src\TRex\Classes\090003 87Game.uc : Error, Script vs. class name mismatch (09000387Game/09000387)
    C:\UDK\UDK-2011-06\Development\Src\TRex\Classes\09000387.uc(1) : Error, Class name '09000387' doesn't match name of source file '09000387'
    Compile aborted due to errors.

    Warning/Error Summary
    ---------------------
    C:\UDK\UDK-2011-06\Binaries\..\Development\Src\TRex\Classes\090003 87Game.uc : Error, Script vs. class name mismatch (09000387Game/09000387)
    C:\UDK\UDK-2011-06\Development\Src\TRex\Classes\09000387.uc(1) : Error, Class name '09000387' doesn't match name of source file '09000387'

    Failure - 3 error(s), 0 warning(s)
    Execution of commandlet took: 3.89 seconds
    [Apr 26, 3:38 PM] COMMANDLET 'UDK.exe make' FAILED


    I've tried searching the net for suggestions but I still cant seem to get it working.

    It would be of great help if someone could point out the obvious.
    Thanks

  2. #2
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,749

    Default

    it seems like you called the file something else and the class something else post your codes please,

  3. #3
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    Thanks for the quick response, here are the codes.

    Game
    Code:
    class 09000387 extends UTDeathMatch;
    
    defaultproperties
    {
       PlayerControllerClass=Class'TRexPlayer'
       DefaultPawnClass=Class'TRexPawn'
       MapPrefixes(0)="WAR"
       MapPrefixes(1)="DM"
    }
    Pawn
    Code:
    class TRexPawn extends UTPawn;
    
    var()	bool					bCauseFracture;
    var SkeletalMesh defaultMesh;
    var MaterialInterface defaultMaterial0;
    var AnimTree defaultAnimTree;
    var array<AnimSet> defaultAnimSet;
    var AnimNodeSequence defaultAnimSeq;
    var PhysicsAsset defaultPhysicsAsset;
    var actor yourvehicle;
    var class<utweapon> BOOMGun;
    
    
    simulated function SetCharacterClassFromInfo(class<UTFamilyInfo> Info)
    {
    	Mesh.SetSkeletalMesh(defaultMesh);
    	Mesh.SetMaterial(0,defaultMaterial0);
    	Mesh.SetPhysicsAsset(defaultPhysicsAsset);
    	Mesh.AnimSets=defaultAnimSet;
    	Mesh.SetAnimTreeTemplate(defaultAnimTree);
    
    	AimNode = AnimNodeAimOffset( mesh.FindAnimNode('AimNode') );
    }
    
    defaultproperties
    {
       defaultMesh=SkeletalMesh'TRex.TRexWalk''
       defaultAnimTree=AnimTree'TRex.TRexAnTre'
       defaultAnimSet(0)=AnimSet'TRex.TRexAnimSet'
       defaultPhysicsAsset=PhysicsAsset'TRex.TRexWalk_Physics'
    
       bcausefracture=true
       MaxJumpHeight=5000.000000
       JumpZ=500.000000
       GroundSpeed=300.000000
       drawscale = 1.0
    
    }
    Player
    Code:
    class TRexPlayer extends UTPlayerController;
    
    simulated function PostBeginPlay() 
    {
    	super.PostBeginPlay();
    
            SetCameraMode('ThirdPerson');
    
    	SetTimer(1.0,true);
    }
    
    DefaultProperties
    {
       bBehindView=True
    }

  4. #4
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,749

    Default

    Did you save your file names as for example 09000387.uc
    and TRexPlayer.uc and TRexPawn.uc ?

  5. #5
    MSgt. Shooter Person
    Join Date
    Jun 2010
    Location
    In 3dfx's crypt
    Posts
    243

    Default

    It is telling you, your file is called "090003 87Game.uc" and you class is named "09000387" , they must have the same same name or "09000387Game" or "09000387".
    Sorry for my english.
    Waiting glide's reborn! while trying to start to learn to understand how to work with UnrealScript...

  6. #6
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    I saved them as: 09000387Game.uc TRexPlayer.uc and TRexPawn.uc

  7. #7
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,749

    Default

    Well that's the problem, rename it and remove the Game just call it 09000387 and compile it

  8. #8
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    Ahh yeah I really don't know how I didn't notice the 'game' at the end.

    However, there is now another error which reads ...

    Code:
    Ahh yeah I really don't know how I didn't notice the 'game' at the end.
    
    However, there is now another error which reads ... 
    
    Analyzing...
    C:\UDK\UDK-2011-06\Development\Src\TRex\Classes\09000387.uc(1) : Error, Class name '09000387' doesn't match name of source file '09000387'
    Compile aborted due to errors.
    
    Warning/Error Summary
    ---------------------
    C:\UDK\UDK-2011-06\Development\Src\TRex\Classes\09000387.uc(1) : Error, Class name '09000387' doesn't match name of source file '09000387'
    
    Failure - 1 error(s), 0 warning(s)
    Execution of commandlet took:  3.11 seconds
    [Apr 26, 4:12 PM] COMMANDLET 'UDK.exe make' FAILED

  9. #9
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,749

    Default

    That's normal it's the same mistake you called your file 09000387(1) when the class is called 09000387, so rename it and remove the (1)

  10. #10
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    Sorry about being such a simpleton - i've renamed it again to just '09000387' but i still get the same error here is a printscreen

    This Image Was Automatically Resized by using the Screenshot Tag.  Click to view the full version

  11. #11
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,749

    Default

    Alright two secs i'll compile them myself and see if it's the code or frontend going mad

    EDIT==============================================
    Alright built successfully no errors only warnings but that's normal i don't have your assets, anyway i modified the game name it seems like frontend hates too much number :P
    anyway here are the codes

    Code:
    class Game09000387 extends UTDeathMatch;
    
    defaultproperties
    {
       PlayerControllerClass=Class'TRexPlayer'
       DefaultPawnClass=Class'TRexPawn'
       MapPrefixes(0)="WAR"
       MapPrefixes(1)="DM"
    }
    Code:
    class TRexPawn extends UTPawn;
    
    var()	bool					bCauseFracture;
    var SkeletalMesh defaultMesh;
    var MaterialInterface defaultMaterial0;
    var AnimTree defaultAnimTree;
    var array<AnimSet> defaultAnimSet;
    var AnimNodeSequence defaultAnimSeq;
    var PhysicsAsset defaultPhysicsAsset;
    var actor yourvehicle;
    var class<utweapon> BOOMGun;
    
    
    simulated function SetCharacterClassFromInfo(class<UTFamilyInfo> Info)
    {
    	Mesh.SetSkeletalMesh(defaultMesh);
    	Mesh.SetMaterial(0,defaultMaterial0);
    	Mesh.SetPhysicsAsset(defaultPhysicsAsset);
    	Mesh.AnimSets=defaultAnimSet;
    	Mesh.SetAnimTreeTemplate(defaultAnimTree);
    
    	AimNode = AnimNodeAimOffset( mesh.FindAnimNode('AimNode') );
    }
    
    defaultproperties
    {
       defaultMesh=SkeletalMesh'TRex.TRexWalk' // you placed two ' of those things here, 
       defaultAnimTree=AnimTree'TRex.TRexAnTre'
       defaultAnimSet(0)=AnimSet'TRex.TRexAnimSet'
       defaultPhysicsAsset=PhysicsAsset'TRex.TRexWalk_Physics'
    
       bcausefracture=true
       MaxJumpHeight=5000.000000
       JumpZ=500.000000
       GroundSpeed=300.000000
       drawscale = 1.0
    
    }


    Code:
    class TRexPlayer extends UTPlayerController;
    
    simulated function PostBeginPlay() 
    {
    	super.PostBeginPlay();
    
            SetCameraMode('ThirdPerson');
    
    	SetTimer(1.0,true);
    }
    
    DefaultProperties
    {
       bBehindView=True
    }
    Last edited by reinrag; 04-26-2012 at 11:36 AM.

  12. #12
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    Ok, thankyou

  13. #13
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,749

    Default

    Done it's the post on top

  14. #14
    Prisoner 849
    Join Date
    Jan 2010
    Posts
    899

    Default

    it has been quite a while, but i remember someone saying that it's best to avoid numbers in class names since that might give problems.

  15. #15
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    Thanks for sorting out the classes reinrag.
    However, I am now getting
    Code:
     Analyzing...
    Scripts successfully compiled - saving package 'C:\UDK\UDK-2011-06\Binaries\Win32\..\..\UDKGame\Script\TRex.u'
    [Apr 26, 4:48 PM] COMMANDLET 'UDK.exe make' FAILED
    :S
    Last edited by amingtonspitfires; 04-26-2012 at 12:00 PM.

  16. #16
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,749

    Default

    Don't use Frontend just use the "built-in" compiler, go to default engine write +EditPackages=TRex
    if you haven't done so then click on UDK and it will ask you" do you want to rebuild scripts" click yes and it should work

  17. #17
    MSgt. Shooter Person
    Join Date
    Jan 2011
    Posts
    60

    Default

    Have you tried a full rebuild/recook?

  18. #18
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    I tried using the built in compiler but it crashes when i press 'yes' to rebuilding scripts.

    I've just gave it a full rebuild and this error occurs..

    Code:
    Analyzing...
    Scripts successfully compiled - saving package 'C:\UDK\UDK-2011-06\Binaries\Win32\..\..\UDKGame\Script\TRex.u'
    [Apr 26, 5:17 PM] COMMANDLET 'UDK.exe CookPackages -platform=PC DM-Deck.udk -full -multilanguagecook=INT' FAILED

  19. #19
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,749

    Default

    Alright post your launch log we'll see why it crashes

  20. #20
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    Launch Log
    Code:
    Log: Log file open, 04/26/12 17:37:20
    Init: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
    DevConfig: GConfig::LoadFile associated file:  ..\..\UDKGame\Config\UDKCompat.ini
    DevConfig: GConfig::Find has loaded file:  ..\..\Engine\Config\ConsoleVariables.ini
    Init: Version: 8623
    Init: Epic Internal: 0
    Init: Compiled (64-bit): Jun 23 2011 05:47:59
    Init: Changelist: 935754
    Init: Command line: editor 
    Init: Base directory: C:\UDK\UDK-2011-06\Binaries\Win64\
    [0000.16] Init: Computer: ELLIE
    [0000.16] Init: User: Ellie
    [0000.16] Init: CPU Page size=4096, Processors=4
    [0000.16] Init: High frequency timer resolution =2.597724 MHz
    [0000.16] Init: Memory total: Physical=3.9GB Pagefile=7.7GB Virtual=8192.0GB
    [0000.56] Init: WinSock: I am Ellie (192.168.0.14:0)
    [0000.56] Init: Presizing for 0 objects not considered by GC, pre-allocating 0 bytes.
    [0000.56] Init: Object subsystem initialized
    [0000.60] Log: Found D3D11 adapter 0: ATI Mobility Radeon HD 5470
    [0000.60] Log: Adapter has 503MB of dedicated video memory, 0MB of dedicated system memory, and 1719MB of shared system memory
    [0000.60] Log: Shader platform (RHI): PC-D3D-SM5
    [0001.68] Log: PhysX GPU Support: DISABLED
    [0001.68] Init: Initializing FaceFX...
    [0001.68] Init: FaceFX 1.7.4 initialized.
    [0001.71] Init: Version: 8623
    [0001.71] Init: Epic Internal: 0
    [0001.71] Init: Compiled (64-bit): Jun 23 2011 05:47:36
    [0001.71] Init: Command line:  
    [0001.71] Init: Base directory: C:\UDK\UDK-2011-06\Binaries\Win64\
    [0001.71] Init: Character set: Unicode
    [0001.71] Log: Executing Class UnrealEd.MakeCommandlet
    [0001.71] Init: UEngine initialized
    [0001.93] Heading: --------------------Core - Release--------------------
    [0001.93] Log: New File, Existing Package (Package Untitled_0, Package Core)
    [0001.94] Log: Loading global macros for Core
    [0001.97] Heading: --------------------Engine - Release--------------------
    [0002.09] Log: New File, Existing Package (Package Untitled_1, Package Engine)
    [0002.39] Log: Loading global macros for Engine
    [0002.97] Heading: --------------------GFxUI - Release--------------------
    [0002.98] Log: New File, Existing Package (Package Untitled_2, Package GFxUI)
    [0002.98] Log: Loading global macros for GFxUI
    [0003.00] Heading: --------------------GameFramework - Release--------------------
    [0003.01] Log: New File, Existing Package (Package Untitled_3, Package GameFramework)
    [0003.04] Log: Loading global macros for GameFramework
    [0003.11] Heading: --------------------UnrealEd - Release--------------------
    [0003.13] Log: New File, Existing Package (Package Untitled_4, Package UnrealEd)
    [0003.15] Log: Loading global macros for UnrealEd
    [0003.20] Heading: --------------------GFxUIEditor - Release--------------------
    [0003.20] Log: New File, Existing Package (Package Untitled_5, Package GFxUIEditor)
    [0003.21] Log: Loading global macros for GFxUIEditor
    [0003.21] Heading: --------------------IpDrv - Release--------------------
    [0003.21] Log: New File, Existing Package (Package Untitled_6, Package IpDrv)
    [0003.23] Log: Loading global macros for IpDrv
    [0003.25] Heading: --------------------OnlineSubsystemPC - Release--------------------
    [0003.26] Log: New File, Existing Package (Package Untitled_7, Package OnlineSubsystemPC)
    [0003.26] Log: Loading global macros for OnlineSubsystemPC
    [0003.28] Heading: --------------------OnlineSubsystemSteamworks - Release--------------------
    [0003.28] Log: New File, Existing Package (Package Untitled_8, Package OnlineSubsystemSteamworks)
    [0003.29] Log: Loading global macros for OnlineSubsystemSteamworks
    [0003.31] Heading: --------------------UDKBase - Release--------------------
    [0003.33] Log: New File, Existing Package (Package Untitled_9, Package UDKBase)
    [0003.37] Log: Loading global macros for UDKBase
    [0003.42] Heading: --------------------UTEditor - Release--------------------
    [0003.42] Log: New File, Existing Package (Package Untitled_10, Package UTEditor)
    [0003.42] Log: Loading global macros for UTEditor
    [0003.43] Heading: --------------------UTGame - Release--------------------
    [0003.47] Log: New File, Existing Package (Package Untitled_11, Package UTGame)
    [0003.73] Log: Loading global macros for UTGame
    [0004.09] Heading: --------------------UTGameContent - Release--------------------
    [0004.09] Log: New File, Existing Package (Package Untitled_12, Package UTGameContent)
    [0004.14] Log: Loading global macros for UTGameContent
    [0004.16] Heading: --------------------TRex - Release--------------------
    [0004.16] Log: Analyzing...
    [0004.16] Log: Loading global macros for TRex
    [0004.18] Log: Success: Compiled 52 line(s), 16 statement(s).
    
    [0004.18] Log: Scripts successfully compiled - saving package 'C:\UDK\UDK-2011-06\Binaries\Win64\..\..\UDKGame\Script\TRex.u'
    [0004.29] Critical: appError called: Assertion failed: i>=0 && i<this->ArrayNum [File:d:\depot\unrealengine3\development\src\core\inc\Array.h] [Line: 1835]
    
    Stack: Address = 0x4021c159 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x4092df49 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x408cd4f2 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x4018ec2b (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x4019cf8f (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x41150e0d (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x41720c01 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x41721a2d (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x41721b9a (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0xf368cf02 (filename not found) [in C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll]
    Address = 0x20071c   (filename not found) 
    Address = 0xd9       (filename not found) 
    Address = 0x1        (filename not found) 
    Address = 0x40000000 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x40000000 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    
    [0004.29] Critical: Windows GetLastError: The operation completed successfully. (0)
    [0015.53] Log: === Critical error: ===
    Assertion failed: i>=0 && i<this->ArrayNum [File:d:\depot\unrealengine3\development\src\core\inc\Array.h] [Line: 1835]
    
    Stack: Address = 0x4021c159 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x4092df49 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x408cd4f2 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x4018ec2b (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x4019cf8f (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x41150e0d (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x41720c01 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x41721a2d (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x41721b9a (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0xf368cf02 (filename not found) [in C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll]
    Address = 0x20071c   (filename not found) 
    Address = 0xd9       (filename not found) 
    Address = 0x1        (filename not found) 
    Address = 0x40000000 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x40000000 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    
    
    Address = 0xfd07a88d (filename not found) [in C:\Windows\system32\KERNELBASE.dll]
    Address = 0x40261505 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x4021d698 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x4021c1cc (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x4092df49 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x408cd4f2 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x4018ec2b (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x4019cf8f (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x41150e0d (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x41720c01 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x41721a2d (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x41721b9a (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0xf368cf02 (filename not found) [in C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll]
    Address = 0x20071c   (filename not found) 
    Address = 0xd9       (filename not found) 
    Address = 0x1        (filename not found) 
    Address = 0x40000000 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]
    Address = 0x40000000 (filename not found) [in C:\UDK\UDK-2011-06\Binaries\Win64\UDK.exe]

  21. #21
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,749

    Default

    Alright two secs i'll try to find out if it's the same for me,

  22. #22
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,749

    Default

    Weird ... it worked for me i was able to play using your gametype, did you modify any base class or something ? also did you create a folder called classes, if you want i'll send you a PM with a link to the working scripts so you can download them

  23. #23
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    Yeah i created the classes folder within the [Development]-[SRC]-[TRex]-[Classes]
    I didnt touch any base classes (well not that im aware of anyways)
    Yeah that would be great if you could do that. Im so confused as to why it wont work for me :/
    Thanks for your help!

  24. #24
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,749

    Default

    Alright Done... Sent you a PM Mate,

  25. #25
    Boomshot
    Join Date
    Aug 2011
    Posts
    2,274

    Default

    Quote Originally Posted by thommie View Post
    it has been quite a while, but i remember someone saying that it's best to avoid numbers in class names since that might give problems.
    Its advisable not to use numbers in class names for the simple reason it's bad practice. "Naming is the mother of all things", as Zen might say. Name your classes something sensible, descriptive an unlikely to cause confusion.

  26. #26
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    I've tried changing the numbers but unfortunately i still get this error
    Code:
    Analyzing...
    Scripts successfully compiled - saving package 'C:\UDK\UDK-2011-06\Binaries\Win32\..\..\UDKGame\Script\TRex.u'
    [Apr 26, 7:01 PM] COMMANDLET 'UDK.exe make' FAILED

  27. #27
    Banned
    Join Date
    Feb 2011
    Location
    BXL/Paris
    Posts
    2,169

    Default

    Those in the red must match:
    YourGame.uc
    class YourGame extends UTDeathMatch;
    UE don't like the numbers in the names of packages/classes - especially at the end... Use i.e. JurassicGame, TRexGame, ZooGame or simply MyGame. When you making the game, try to find simple and unique names - without digits...
    Last edited by VendorX; 04-26-2012 at 02:38 PM.

  28. #28
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    Renamed it to TRexGame and made sure that the u.c matches but i still get the [Apr 26, 7:01 PM] COMMANDLET 'UDK.exe make' FAILED error

  29. #29
    Banned
    Join Date
    Feb 2011
    Location
    BXL/Paris
    Posts
    2,169

    Default

    You can:
    0. Remove your game from Src and make full rebuild - if it fail then go to 2.
    1. ...or Delete all UDK...ini files... Try again...
    2. ...or re-install UDK... Try again...
    3. ...or upload somewhere your game and send me link by PM.
    Last edited by VendorX; 04-26-2012 at 04:25 PM.

  30. #30
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    So Im still getting the "COMMANDLET 'UDK.exe make' FAILED" error. This is how my .uc's look.

    Game
    Code:
    class TRexGame extends UTDeathMatch;
    
    defaultproperties
    {
       PlayerControllerClass=Class'TRexPlayer'
       DefaultPawnClass=Class'TRexPawn'
       MapPrefixes(0)="WAR"
       MapPrefixes(1)="DM"
    }

    Pawn
    Code:
    class TRexPawn extends UTPawn;
    
    var()	bool					bCauseFracture;
    var SkeletalMesh defaultMesh;
    var MaterialInterface defaultMaterial0;
    var AnimTree defaultAnimTree;
    var array<AnimSet> defaultAnimSet;
    var AnimNodeSequence defaultAnimSeq;
    var PhysicsAsset defaultPhysicsAsset;
    var actor yourvehicle;
    var class<utweapon> BOOMGun;
    
    
    simulated function SetCharacterClassFromInfo(class<UTFamilyInfo> Info)
    {
    	Mesh.SetSkeletalMesh(defaultMesh);
    	Mesh.SetMaterial(0,defaultMaterial0);
    	Mesh.SetPhysicsAsset(defaultPhysicsAsset);
    	Mesh.AnimSets=defaultAnimSet;
    	Mesh.SetAnimTreeTemplate(defaultAnimTree);
    
    	AimNode = AnimNodeAimOffset( mesh.FindAnimNode('AimNode') );
    }
    
    defaultproperties
    {
       defaultMesh=SkeletalMesh'TRex.TRexWalk'
       defaultAnimTree=AnimTree'TRex.TRexAnTre'
       defaultAnimSet(0)=AnimSet'TRex.TRexAnimSet'
       defaultPhysicsAsset=PhysicsAsset'TRex.TRexWalk_Physics'
    
       bcausefracture=true
       MaxJumpHeight=5000.000000
       JumpZ=500.000000
       GroundSpeed=300.000000
       drawscale = 1.0
    
    }

    Player
    Code:
    class TRexPlayer extends UTPlayerController;
    
    simulated function PostBeginPlay() 
    {
    	super.PostBeginPlay();
    
            SetCameraMode('ThirdPerson');
    
    	SetTimer(1.0,true);
    }
    
    DefaultProperties
    {
       bBehindView=True
    }

  31. #31
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    Quote Originally Posted by VendorX View Post
    You can:
    0. Remove your game from Src and make full rebuild - if it fail then go to 2.
    1. ...or Delete all UDK...ini files...
    2. ...or re-install UDK...
    3. ...or upload somewhere your game and send me link by PM.
    Hi VendorX, earlier today I tried re-installing UDK but unfortunately I still got the same errors. Is it okay if i send the files over to you?

  32. #32
    Banned
    Join Date
    Feb 2011
    Location
    BXL/Paris
    Posts
    2,169

    Default

    Yeah, go on...

  33. #33
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    Just sent it

  34. #34
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Location
    England
    Posts
    32

    Default

    Solved thanks to reinrag and VendorX


 

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.