Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about custom model entities
Luis Offline
Frictional Games

Posts: 280
Threads: 19
Joined: Jun 2006
Reputation: 9
#2
RE: Question about custom model entities

Sure! You only have to open the LevelEditor.cfg file (should be in your <Path to My documents folder>/HPL2/) with a text editor. Then add ExtraStaticObjectDir1="quoted full path to your custom static objects dir" for static objects, or ExtraEntityDir1="quoted full path to your custom entities dir" as an attribute in the "Directories" tag. If you have several directories, just increment the numeric suffix for each one.

A working example (ignore the LastUsedPath part):
<Directories LastUsedPath="D:/amnesia/redist/maps/main/ch01" ExtraEntityDir1="D:\HPL_2\redist\entities" />

Better if you move all new assets to the custom story root directory, cos right now the game will not look for them if they are outside it. If many model packs are made available to the public in a near future, we could look into making them shareable among custom stories Smile

Also, when adding custom dirs, try to mimic how the game static_objects and entities folders are structured (as in 1 subfolder == 1 category). That will save the editor and yourself some headaches Smile

EOF
(This post was last modified: 10-18-2010, 04:41 PM by Luis.)
09-15-2010, 04:51 PM
Find


Messages In This Thread
RE: Question about custom model entities - by Luis - 09-15-2010, 04:51 PM



Users browsing this thread: 1 Guest(s)