Froge
Posting Freak
Posts: 2,955
Threads: 176
Joined: Jul 2012
Reputation:
125
|
Entities
Hope this question doesn't sound too stupid.
Upon creation of an entity and putting it in the "entities" file of a custom story, how do you get the HPL editor to recognize that this entity exists so that you can put it in a level?
|
|
08-28-2012, 02:15 AM |
|
Adny
Posting Freak
Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation:
173
|
RE: Entities
root>entities>nameofentity; the custom story directory is pretty much useless for the level editor. It needs to be a .ent and have with it a .dae, .dds, .mat and .msh files.
I rate it 3 memes.
|
|
08-28-2012, 02:18 AM |
|
Froge
Posting Freak
Posts: 2,955
Threads: 176
Joined: Jul 2012
Reputation:
125
|
RE: Entities
But once you archive up the custom story file the entity will still exist within the map?
|
|
08-28-2012, 02:24 AM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
|
08-28-2012, 02:27 AM |
|
Adny
Posting Freak
Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation:
173
|
RE: Entities
The entity has to be in the root folder>entities for it to show up in your level editor's resources (and the game itself). When you publish your mod and make the file people download, try doing something like:
name_of_mod>root> both entities + custom_story folders>contents of each*
Installation will be as simple as dragging it into the root folder and overwriting the necessary files. Piece of cake.
* = entities will have the entity, custom story will have the basic custom story information
I rate it 3 memes.
|
|
08-28-2012, 02:44 AM |
|
Froge
Posting Freak
Posts: 2,955
Threads: 176
Joined: Jul 2012
Reputation:
125
|
RE: Entities
Actually, I recall a couple custom stories (not full conversion) like Abduction that just required copypasting the map into the custom story folder and the custom entities inside would still show up.
|
|
08-28-2012, 03:25 AM |
|
Obliviator27
Posting Freak
Posts: 792
Threads: 10
Joined: Jul 2011
Reputation:
66
|
RE: Entities
If you include a folder named
entities
in your custom story folder, any custom entities located in there will show up in your map when you play it in-game. I usually make sure I have a copy in my redist entities folder as well, because I'm too lazy to edit my resources.cfg.
|
|
08-28-2012, 03:57 AM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Entities
In actuality, it doesn't necessarily matter where in your custom story's folder the files are located in, so long as they're in at least where your custom_story_settings.cfg file is.
For those who are "too lazy to edit the resources.cfg" file: Have you at least considered symbolic links? (Oh, the irony.)
(This post was last modified: 08-28-2012, 04:41 AM by Your Computer.)
|
|
08-28-2012, 04:39 AM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: Entities
(08-28-2012, 04:39 AM)Your Computer Wrote: In actuality, it doesn't necessarily matter where in your custom story's folder the files are located in, so long as they're in at least where your custom_story_settings.cfg file is.
For those who are "too lazy to edit the resources.cfg" file: Have you at least considered symbolic links? (Oh, the irony.) I have actually moved from having duplicate folders to simply putting, <Directory Path="/custom_stories" AddSubDirs="true" /> and it's quite easy. After putting that in your resources.cfg, open your level in the level editor and simply find or place an entity down. Then go to the right tab and pick the Mesh: [...] and find yours in your custom story folder.
Much more organized.
|
|
08-28-2012, 08:17 AM |
|
|