Results 1 to 3 of 3
  1. #1

    Default setting the DefaultProperties?

    Hello everyone, I come from UE1 and I thought I'd feel familiar with the UDK..

    But surely I must be missing something, The only way to edit defaultproperties is now through Script?

    The editor does not rebuild scripts? and has to be restarted?



    On to my actual problem,
    I'm having problems setting the CollisionHeight of a Cylinder Component.

    The GamePawn has this little snippet in the default properties:

    PHP Code:
    begin object Class=CylinderComponent Name=CylComponent
            CollisionRadius 
    30
            CollisionHeight 
    28
        end object

        Components
    .Add(CylComponent)
        
    CylinderComponent CylComponent 
    For some reason the collisionheight is always 78, and the radius is 34.

    I have tried to set the bounds directly
    PHP Code:
    begin object Class=CylinderComponent Name=CylComponent 
            Bounds 
    = (Origin=(X=0,Y=0,Z=0),
                          
    BoxExtent=(X=30.000000,Y=30.000000,Z=28.000000),
                          
    SphereRadius=55)
        
    end object 
    But I'm still left with a collisionheight of 78.

    When I start the game and write console command "editactor class=pawn"
    Setting the collisionheight works as expected.

    So what exactly determines the collisionheight? Thanks.

  2. #2

    Default

    Looks like there is some error with the parsing of ini files,
    anything after ";" should be threated as a comment.
    But UDK doesn't seem to know that, so the following is not allowed:
    Game=MyGame.MyGameInfo;UTGame.UTDeathmatch


    Took some time to know it was the ini files

  3. #3
    Veteran
    Join Date
    May 2007
    Location
    Above KillZ, Below StallZ
    Posts
    9,953

    Default

    Are you extending your own pawn, or trying to edit the base classes?
    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.