MulleDK19
Senior Member
Posts: 545
Threads: 21
Joined: Jun 2009
Reputation:
10
|
RE: Custom Story - Setup Guide
(09-11-2010, 01:37 AM)penumbra 4ever Wrote: nothing happens
Do you have actually have a map called 00_study.map?
|
|
09-11-2010, 01:42 AM |
|
penumbra 4ever
Member
Posts: 55
Threads: 1
Joined: Dec 2009
Reputation:
0
|
RE: Custom Story - Setup Guide
(09-11-2010, 01:42 AM)MulleDK19 Wrote: (09-11-2010, 01:37 AM)penumbra 4ever Wrote: nothing happens
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 |
|
MulleDK19
Senior Member
Posts: 545
Threads: 21
Joined: Jun 2009
Reputation:
10
|
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
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
|
|
09-11-2010, 01:46 AM |
|
penumbra 4ever
Member
Posts: 55
Threads: 1
Joined: Dec 2009
Reputation:
0
|
RE: Custom Story - Setup Guide
Sorry for my bad English
|
|
09-11-2010, 01:50 AM |
|
MulleDK19
Senior Member
Posts: 545
Threads: 21
Joined: Jun 2009
Reputation:
10
|
RE: Custom Story - Setup Guide
(09-11-2010, 01:50 AM)penumbra 4ever Wrote:
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.
|
|
09-11-2010, 01:51 AM |
|
penumbra 4ever
Member
Posts: 55
Threads: 1
Joined: Dec 2009
Reputation:
0
|
RE: Custom Story - Setup Guide
yeah!!
thank you!
Sorry for my bad English
|
|
09-11-2010, 01:53 AM |
|
MulleDK19
Senior Member
Posts: 545
Threads: 21
Joined: Jun 2009
Reputation:
10
|
RE: Custom Story - Setup Guide
(09-11-2010, 01:53 AM)penumbra 4ever Wrote: yeah!!
thank you!
No problem.
|
|
09-11-2010, 01:55 AM |
|
penumbra 4ever
Member
Posts: 55
Threads: 1
Joined: Dec 2009
Reputation:
0
|
RE: Custom Story - Setup Guide
and about the lantern
how i can get?
Sorry for my bad English
|
|
09-11-2010, 01:58 AM |
|
MulleDK19
Senior Member
Posts: 545
Threads: 21
Joined: Jun 2009
Reputation:
10
|
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");
}
|
|
09-11-2010, 02:01 AM |
|
penumbra 4ever
Member
Posts: 55
Threads: 1
Joined: Dec 2009
Reputation:
0
|
RE: Custom Story - Setup Guide
thank you again!
Sorry for my bad English
|
|
09-11-2010, 02:18 AM |
|
|