Results 1 to 6 of 6

Thread: Archetype usage

  1. #1

    Default Archetype usage

    Hi all,

    I'm quite new to UnrealScript, sorry if the question sounds n00bish :-(
    For the making of a sidescroller, I used this kit http://udn.epicgames.com/Three/Devel...tarterKit.html, however, my needs in game navigation types brought me to http://forums.epicgames.com/threads/...1#post29555284 thread.
    I copied the code and made some classes as a kit child classes, and almost all works just fine - but the problem is, I use my own Pawn class as a child of kit's PlayerPawn class. PlayerPawn uses archetypes, so I have to define my own archetype in my Pawn child class and replace PlayerPawn's archetype with it . How to do this and where? How to create an Archetype from a class? I tried to find any tutorials but did not succeed. I also tried several ways by myself, but when I implemented an Archetype in script defaultproperties like
    Code:
    DefaultPawnArchetype=EvePlayerPawn'Useful.Archetypes.APlayerPawn
    the compiler did not see it, which meant that an archetype should be created from udk editor, but I did not find it there
    Last edited by Lordink; 12-06-2011 at 01:10 PM.

  2. #2
    Redeemer
    Join Date
    Nov 2009
    Location
    Caracas
    Posts
    1,819
    Gamer IDs

    Gamertag: daimakupikoro PSN ID: lone_vampire

    Default

    you need to select a class, right click on it a choose create an archetype.
    http://vincenzoravo.vrs.com.ve http://www.slaughtermaze.com

    please don't fill my inbox with questions, ask in the forum, the answers will help you and others !!!

  3. #3

    Default

    Uhm... Ok, but where? In UDK Editor? I mean, I can right click on a static mesh or brush in udk and choose "Create an archetype", but that would be a static mesh archetype. How to create it for a Pawn class?

  4. #4

  5. #5

    Default

    Thank u, this problem is solved

  6. #6
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Posts
    186

    Default

    I read the two links that you posted and I am stuck on one problem... I am using a modular pawn for my game which allows customization for the character. I had to create an archetype so that all the different skeletal meshes showed up. My question is how can I use the archetype as a playable character? 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.