Results 1 to 6 of 6

Thread: Archetype usage

  1. #1
    Lordink
    Guest

    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

  2. #2
    daimaku
    Guest
    you need to select a class, right click on it a choose create an archetype.

  3. #3
    Lordink
    Guest
    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
    Lordink
    Guest
    Thank u, this problem is solved

  6. #6
    LucasWalter
    Guest
    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •