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
Entities
Froge Offline
Posting Freak

Posts: 2,955
Threads: 176
Joined: Jul 2012
Reputation: 125
#1
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?

[Image: p229xcq]
08-28-2012, 02:15 AM
Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
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
Find
Froge Offline
Posting Freak

Posts: 2,955
Threads: 176
Joined: Jul 2012
Reputation: 125
#3
RE: Entities

But once you archive up the custom story file the entity will still exist within the map?

[Image: p229xcq]
08-28-2012, 02:24 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Entities

Why do people miss step 8? http://wiki.frictionalgames.com/hpl2/amn...evenvguide Sure, this may not list the entity in the entities list, but at least it won't remove them upon opening the map file.

Tutorials: From Noob to Pro
(This post was last modified: 08-28-2012, 02:28 AM by Your Computer.)
08-28-2012, 02:27 AM
Website Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#5
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
Find
Froge Offline
Posting Freak

Posts: 2,955
Threads: 176
Joined: Jul 2012
Reputation: 125
#6
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.

[Image: p229xcq]
08-28-2012, 03:25 AM
Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#7
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
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#8
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.)

Tutorials: From Noob to Pro
(This post was last modified: 08-28-2012, 04:41 AM by Your Computer.)
08-28-2012, 04:39 AM
Website Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#9
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
Find




Users browsing this thread: 3 Guest(s)