Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Story - Setup Guide
Author Message
MulleDK19 Offline
Senior Member

Posts: 540
Joined: Jun 2009
Reputation: 10
Post: #11
RE: Custom Story - Setup Guide

(09-11-2010 01:37 AM)penumbra 4ever Wrote:  nothing happens Sad

Do you have actually have a map called 00_study.map?

[Image: 16455.png]
09-11-2010 01:42 AM
Find all posts by this user Quote this message in a reply
penumbra 4ever Offline
Member

Posts: 55
Joined: Dec 2009
Reputation: 0
Post: #12
RE: Custom Story - Setup Guide

(09-11-2010 01:42 AM)MulleDK19 Wrote:  
(09-11-2010 01:37 AM)penumbra 4ever Wrote:  nothing happens Sad

Do you have actually have a map called 00_study.map?

yes

EDIT: 00_study.map_cache

Sorry for my bad English
09-11-2010 01:43 AM
Find all posts by this user Quote this message in a reply
MulleDK19 Offline
Senior Member

Posts: 540
Joined: Jun 2009
Reputation: 10
Post: #13
RE: Custom Story - Setup Guide

(09-11-2010 01:43 AM)penumbra 4ever Wrote:  
(09-11-2010 01:42 AM)MulleDK19 Wrote:  
(09-11-2010 01:37 AM)penumbra 4ever Wrote:  nothing happens Sad

Do you have actually have a map called 00_study.map?

yes

EDIT: 00_study.map_cache

Post the log from

C:\Documents and Settings\USERNAME\Amnesia\Main\hpl.log

[Image: 16455.png]
09-11-2010 01:46 AM
Find all posts by this user Quote this message in a reply
penumbra 4ever Offline
Member

Posts: 55
Joined: Dec 2009
Reputation: 0
Post: #14
RE: Custom Story - Setup Guide

Spoiler below!
-------- THE HPL ENGINE LOG ------------
Engine build ID 20100818114615


Game Running
--------------------------------------------------------
Setting profile: 'Iago' Path: 'C:\Documents and Settings\olklklk\Meus documentos/Amnesia/Main/Iago/'
Error creating custom story from path "custom_stories/MSOS" : could not find start map.
--------------------------------------------------------


User Exit
--------------------------------------------------------
Saving main config.
Saving user config.
Deleting game modules.
'LuxInputHandler'
'LuxHelpFuncs'
'LuxSaveHandler'
'LuxScriptHandler'
'LuxProgressLogHandler'
'LuxMapHandler'
'LuxMapHelper'
'LuxPlayer'
'LuxInsanityHandler'
'LuxDebugHandler'
'LuxEffectRenderer'
'LuxMusicHandler'
'LuxMusicHandler'
'LuxEffectHandler'
'LuxCompletionCountHandler'
'LuxGlobalDataHandler'
'LuxHintHandler'
'LuxPostEffectHandler'
'LuxPreMenu'
'LuxDebugHandler'
'LuxInventory'
'LuxJournal'
'LuxCredits'
'LuxLoadScreenHandler'
Deleting config files.
--------------------------------------------------------


HPL Exit was successful!

|--Memory Manager Report-------------------------------|
|
| No memory leaks detected. Memory left: 0
|
|------------------------------------------------------|


Sorry for my bad English
09-11-2010 01:50 AM
Find all posts by this user Quote this message in a reply
MulleDK19 Offline
Senior Member

Posts: 540
Joined: Jun 2009
Reputation: 10
Post: #15
RE: Custom Story - Setup Guide

(09-11-2010 01:50 AM)penumbra 4ever Wrote:  
Spoiler below!
-------- THE HPL ENGINE LOG ------------
Engine build ID 20100818114615

Creating Engine Modules
--------------------------------------------------------
Creating graphics module
Creating system module
Creating resource module
Creating input module
Creating sound module
Creating physics module
Creating ai module
Creating gui module
Creating generate module
Creating haptic module
Creating scene module
--------------------------------------------------------

Initializing Resources Module
--------------------------------------------------------
Creating loader handlers
Creating resource managers
Adding loaders to handlers
--------------------------------------------------------

Initializing Graphics Module
--------------------------------------------------------
Setting video mode: 1280 x 800 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: NVIDIA Corporation
Renderer: GeForce 8400 GS/PCI/SSE2
Version: 3.3.0
Max texture image units: 32
Max texture coord units: 8
Max user clip planes: 6
Two sided stencil: 1
Vertex Buffer Object: 1
Anisotropic filtering: 1
Max Anisotropic degree: 16
Multisampling: 1
Texture compression: 1
Texture compression S3TC: 1
Auto generate MipMaps: 1
Render to texture: 1
Max draw buffers: 8
Max color render targets: 8
Packed depth-stencil: 1
Texture float: 1
GLSL Version: 3.30 NVIDIA via Cg compiler
ShaderModel 2: 1
ShaderModel 3: 1
ShaderModel 4: 1
OGL ATIFragmentShader: 0
Adding engine materials
Initializing DevIL
Vendor String: Abysmal Software
Version String: Developer's Image Library (DevIL) 1.6.8pre Aug 12 2006
Version Number: 168
Adding engine post effects
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
Available OpenAL devices:
0. Generic Software on HD Audio rear output(OpenAL default)
Trying to open device 'Generic Software on HD Audio rear output'... Success!
Number of mono sources: 32
Streaming setup: 4 Buffers x 262144 bytes each
--------------------------------------------------------

Initializing Game Module
--------------------------------------------------------
Adding engine updates
Initializing script functions
--------------------------------------------------------

User Initialization
--------------------------------------------------------
-------- Loading map 'menu_bg.map' ---------
Cache Loading: 1891 ms
Entities: 438 ms
Compilation: 1 ms
Total: 2360 ms
Meshes created: 25
Bodies created: 5
-------- Loading complete ---------
--------------------------------------------------------

Game Running
--------------------------------------------------------
Setting profile: 'Iago' Path: 'C:\Documents and Settings\olklklk\Meus documentos/Amnesia/Main/Iago/'
Error creating custom story from path "custom_stories/MSOS" : could not find start map.
--------------------------------------------------------

Statistics
--------------------------------------------------------
Medium framerate: 19.092789
--------------------------------------------------------

User Exit
--------------------------------------------------------
Saving main config.
Saving user config.
Deleting game modules.
'LuxInputHandler'
'LuxHelpFuncs'
'LuxSaveHandler'
'LuxScriptHandler'
'LuxProgressLogHandler'
'LuxMapHandler'
'LuxMapHelper'
'LuxPlayer'
'LuxInsanityHandler'
'LuxDebugHandler'
'LuxEffectRenderer'
'LuxMusicHandler'
'LuxMusicHandler'
'LuxEffectHandler'
'LuxCompletionCountHandler'
'LuxGlobalDataHandler'
'LuxHintHandler'
'LuxPostEffectHandler'
'LuxPreMenu'
'LuxDebugHandler'
'LuxInventory'
'LuxJournal'
'LuxCredits'
'LuxLoadScreenHandler'
Deleting config files.
--------------------------------------------------------

Exiting Gui Module
--------------------------------------------------------
Deleting all sets
Deleting all skins
Deleting all gfx elements
Deleting all materials
--------------------------------------------------------

Exiting Generate Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Scene Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Input Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Sound Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Graphics Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Resources Module
--------------------------------------------------------
Done with fonts
Done with scripts
Done with particles
Done with sounds
Done with meshes
Done with materials
Done with Gpu programs
Done with images
Destroyed all textures
Done with sound entities
Done with animations
Done with ent files
All resources deleted
--------------------------------------------------------

Exiting Physics Module
--------------------------------------------------------
--------------------------------------------------------

Exiting System Module
--------------------------------------------------------
--------------------------------------------------------

Deleting game setup provided by user
- Deleting lowlevel stuff.
Physics
Sound
Input
Resources
System
Graphics
Haptic
HPL Exit was successful!

|--Memory Manager Report-------------------------------|
|
| No memory leaks detected. Memory left: 0
|
|------------------------------------------------------|



Error creating custom story from path "custom_stories/MSOS" : could not find start map.

Make sure the map is actually called 00_study.map in your maps\ch01 folder.

[Image: 16455.png]
09-11-2010 01:51 AM
Find all posts by this user Quote this message in a reply
penumbra 4ever Offline
Member

Posts: 55
Joined: Dec 2009
Reputation: 0
Post: #16
RE: Custom Story - Setup Guide

yeah!!
thank you!

Sorry for my bad English
09-11-2010 01:53 AM
Find all posts by this user Quote this message in a reply
MulleDK19 Offline
Senior Member

Posts: 540
Joined: Jun 2009
Reputation: 10
Post: #17
RE: Custom Story - Setup Guide

(09-11-2010 01:53 AM)penumbra 4ever Wrote:  yeah!!
thank you!

No problem.

[Image: 16455.png]
09-11-2010 01:55 AM
Find all posts by this user Quote this message in a reply
penumbra 4ever Offline
Member

Posts: 55
Joined: Dec 2009
Reputation: 0
Post: #18
RE: Custom Story - Setup Guide

and about the lantern
how i can get?

Sorry for my bad English
09-11-2010 01:58 AM
Find all posts by this user Quote this message in a reply
MulleDK19 Offline
Senior Member

Posts: 540
Joined: Jun 2009
Reputation: 10
Post: #19
RE: Custom Story - Setup Guide

(09-11-2010 01:58 AM)penumbra 4ever Wrote:  and about the lantern
how i can get?

In the script file (00_study.hps), change OnStart to

////////////////////////////
// Run first time starting map
void OnStart()
{
    SetMapDisplayNameEntry("Study");
    
    //---- COLLIDE INIT ----//
    AddEntityCollideCallback("Player", "AreaFallDeath", "CollideFallDeath", false, 1);    //Kill player instantly if he falls down when outside
    AddEntityCollideCallback("work_desk_door_1", "AreaDesk", "CollideAreaDesk", true, 1);    
    AddEntityCollideCallback("Player", "AreaForestThings", "CollideForestThings", false, 1);    //Kill player instantly if he falls down when outside
    
    AddEntityCollideCallback("Player", "AreaCheckSouth", "CollideCheckSouth", false, 1);
    AddEntityCollideCallback("Player", "AreaCheckNorth", "CollideCheckNorth", false, 1);
    
    AddEntityCollideCallback("Player", "FlashbackArea_1", "CollideFlashBack", false, 1);
    
    AddEntityCollideCallback("Player", "AreaCorridorQuest", "CollideAreaCorridorQuest", true, 1);
    
    AddEntityCollideCallback("Player", "AreaFadeOut", "CollideAreaFadeOut", true, 1);
    
    AddEntityCollideCallback("Player", "AreaBreakWindow", "CollideAreaBreakWindow", true, 1);
    AddEntityCollideCallback("Player", "AreaBreakWindow_1", "CollideAreaBreakWindow", true, 1);
    
    AddEntityCollideCallback("Player", "AreaRoom1", "CollideAreaRoom", true, 1);
    AddEntityCollideCallback("Player", "AreaRoom2", "CollideAreaRoom", true, 1);
    AddEntityCollideCallback("Player", "AreaRoom3", "CollideAreaRoom", true, 1);
    
    AddEntityCollideCallback("Player", "AreaBreakWindowOnClose", "CollideAreaBreakWindowOnClose", true, 1);
    
    AddTimer("BreakWindowNoFS", 300, "TimerBreakWindowWithNoFullSearch");    //Break window if player been in level long but not visited all rooms.
    
    //---- DEBUG ----//
    if(ScriptDebugOn())
    {
        GiveItemFromFile("lantern", "lantern.ent");
        for(int i=0;i<1337;i++) GiveItemFromFile("tinderbox_"+i, "tinderbox.ent");
    }
    
    TeleportPlayer("PlayerStartArea_2");
    
    GiveItemFromFile("lantern", "lantern.ent");
    for(int i=0;i<1337;i++) GiveItemFromFile("tinderbox_"+i, "tinderbox.ent");
}

[Image: 16455.png]
09-11-2010 02:01 AM
Find all posts by this user Quote this message in a reply
penumbra 4ever Offline
Member

Posts: 55
Joined: Dec 2009
Reputation: 0
Post: #20
RE: Custom Story - Setup Guide

thank you again!

Sorry for my bad English
09-11-2010 02:18 AM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)