Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document describes how to test your cosmetic item in game and see it on the character you are creating it for. It assumes you have already created your item following the KF2 Cosmetic Item Tutorial

Step-by-step guide

  1. Open the SDK.
  2. File > Open and browse to <Your Drive Steam is Installed on>\Program Files (x86)\Steam\steamapps\common\killingfloor2\KFGame\BrewedPC\Maps\SDK.
  3. Open ItemTest_<Character Name>.kfm that matches the character you are creating the item for. For example ItemTest_DJScully.kfm if you are working on Scully.
  4. It should look something like this:
    Image Added
  5. Open the content content browser and find the static mesh of the item you created earlier. I'm going to test the DJHeadphones:
    Image Added
  6. With the static mesh selected in the content browser, rightclick on the ground and select "Add InterpActor: <Your asset name> to add it to the level. It's very important you place as an InterpActor or your item will not attach to the character:
    Image Added
  7. With your mesh now placed in the level, open Kismet by clicking on the Kismet icon:
    Image Added
  8. With kismet open, go back to the level 3d view and click on your item to select it.
  9. In the Kismet workspace, with your item selected, right click in the workspace and click "New Object Var Using InterpActor_1":
    Image Added
  10. This will add your interp actor as a variable in Kismet:
    Image Added
  11. Right click on the purple box below "Attachment" on the Attach to actor node and select "Break Link To" the existing link:
    Image Added
  12. Once the link is broken, left click on the same purple box below the Attachment and drag a line to your new item interp actor variable.
  13. You can delete the old variable that was previously connected if you want. 
  14. Close Kismet.
  15. Click the "Play this Level in editor Window" button to test your item in game:
    Image Added
  16. If you created your item correctly and followed this tutorial correctly your item should be attached to the animated character like this.
    Image Added

 

 

 

 

Info

Filter by label (Content by label)
showLabelsfalse
max5
spacesKAG
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "KAG"
labelskb-how-to-article

...