Results 1 to 8 of 8
  1. #1
    MSgt. Shooter Person
    Join Date
    Nov 2009
    Posts
    405

    Default Character height

    Is there any way to change default character height in script?

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

    Default

    You can modify the BaseEyeHeight or the collision cylinder height in the Pawn default properties.

  3. #3
    MSgt. Shooter Person
    Join Date
    Nov 2009
    Posts
    405

    Default

    EyeHeight won't work, as I'm faking first person model, by using third person with camera attached to head. And I'm not quite sure how could I increase height of collision cyllinder?

  4. #4
    MSgt. Shooter Person
    Join Date
    Aug 2010
    Posts
    467

    Default

    Change the height in the defaultproperties.

  5. #5
    MSgt. Shooter Person
    Join Date
    Nov 2009
    Posts
    405

    Default

    But by what command? As I said, changing eyeheight is not a viable option... So what do I need to write there?

  6. #6
    MSgt. Shooter Person
    Join Date
    Mar 2010
    Posts
    112

    Default

    If you want to change the collision component, try this in you pawn default properties:

    Code:
    Begin Object Name=CollisionCylinder
    		CollisionRadius=+0021.000000		
    		CollisionHeight=+0044.000000		//Set your value here
    	End Object
    	CylinderComponent=CollisionCylinder

    But as you said you're using a camera attached to the head, I'm not sure it's a relevant solution...

  7. #7

    Default

    If you have attached it to the head, can't you just offset it? Otherwise you may just have to result to modifying the model

  8. #8
    MSgt. Shooter Person
    Join Date
    Sep 2010
    Posts
    31

    Default

    I'm loving this thread!

    I'm also doing fake 1st person with a camera attached to the head. The way I did it is with a modified pawn with an "eyes" socket. The camera is located at the socket's position. That involved having a custom model, something you might not want. Still, it's just an extra socket. Won't hurt

    Works OK except it either clips into walls or through the pawn itself. I didnt think of playing with collision stuff. I'll give it a try

    When you say the camera is attached to the head, what do you mean exaclty? Is it simply updated to follow the head coordinates or is it really attached, like a mesh component?
    Last edited by MontyPython; 11-12-2010 at 06:31 PM.


 

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.