The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
RE: "Where do I start?" - HPL2 Learning Foundation
I meant from the forum.
Thanks, Alex
THE OTHERWORLD (WIP)
Aculy iz dolan.
|
|
11-02-2012, 12:18 PM |
|
Alex Ros
Senior Member
Posts: 447
Threads: 46
Joined: Aug 2012
Reputation:
20
|
RE: "Where do I start?" - HPL2 Learning Foundation
Okey. Here's another absolutely newbie question. And I presume it's kinda stupid question. If I want to store my new custom models, textures, entities, etc... at the custom_stories/my_folder how to do that?
I mean with new maps I just have to write down MapsFolder="maps/" at the custom_story_settings.cfg file and that's all. With scripts for maps it's even easier - just making .hps file near my_map.map file with the same name and engine will find it.
But what do to with custom models, textures, entities, etc? Should I write something somewhere like MapsFolder, like EntitiesFolder="bla-bla-bla"? Or what? I've searched a lot about that and I can't find out what to do. How to make engine know where my custom things are stored? As I predict the answer is SOOO simple that I just don't see as I don't see my own nose ))))))
(This post was last modified: 11-16-2012, 11:44 PM by Alex Ros.)
|
|
11-16-2012, 11:43 PM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: "Where do I start?" - HPL2 Learning Foundation
As long as you have the entities in a folder in your custom story, the game will read them. Just drop the custom entities/texture/sounds/music/etc. in your custom story folder and the game will do the rest.
|
|
11-17-2012, 12:22 AM |
|
Alex Ros
Senior Member
Posts: 447
Threads: 46
Joined: Aug 2012
Reputation:
20
|
RE: "Where do I start?" - HPL2 Learning Foundation
Wow. Just copy folders and their name structure at custom_stories folder and engine will read them? So easy O_o Shit that was surely in front of my eyes like a nose...
|
|
11-17-2012, 12:30 AM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: "Where do I start?" - HPL2 Learning Foundation
Haha, no worries, we all have our moments.
|
|
11-17-2012, 12:30 AM |
|
Alex Ros
Senior Member
Posts: 447
Threads: 46
Joined: Aug 2012
Reputation:
20
|
RE: "Where do I start?" - HPL2 Learning Foundation
Oh well, ok, I got it with entities/texture/sounds/music/etc folders at custom_stories folder. All works just great ingame, engine do see custom textures and models, all is cool...
But how to make my new entities/texture/sounds/music/etc folders at custom_stories folder visible at Level Editor? When, for example, I'm opening entities list at LevelEditor it shows only entities, which are particularly at usual Amnesia entities folder.
|
|
11-17-2012, 04:05 PM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: "Where do I start?" - HPL2 Learning Foundation
That's pre-determined in a configuration file somewhere, but it's not necessary to change it. Follow these steps:
1) Open the root/redist resources.cfg and add the directory: <Directory Path="/custom_stories" AddSubDirs="true" />
2) Save and open the LevelEditor. Place any entity/static object (depends on what object type you will be changing this to)
3) Pick that entity/s.o., and on the right bottom, it will say "Mesh [...]" or "Entity File [...]". Pick the button and navigate to your custom story folder and pick the desired object.
|
|
11-17-2012, 06:13 PM |
|
|