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
Custom story mac
DannieWest Offline
Member

Posts: 156
Threads: 13
Joined: Apr 2011
Reputation: 0
#5
RE: Custom story mac

(04-28-2011, 10:00 PM)Tanshaydar Wrote: Copy files from existing and working custom story and edit its files to see if it works for you.

Downloaded the Staying Alive and copied as followed:
////////////////////////////
// Run first time starting map
void OnStart()
{
//Add the Lantern and 10 Tinderboxes when in Debug mode, always good to have light!
if(ScriptDebugOn())
{
GiveItemFromFile("lantern", "lantern.ent");

for(int i=0;i<10;i++) GiveItemFromFile("tinderbox_"+i, "tinderbox.ent");
}
}
For the .hps one and:
<Main

Name = "TestStory"
Author = "DannieWest"
MapsFolder = "maps/"
StartMap = "TestStory.map"
StartPos = "PlayerStartArea_1"
/>
for the .cfg but no sign of the story when I launch the game =/
04-28-2011, 10:13 PM
Find


Messages In This Thread
Custom story mac - by DannieWest - 04-28-2011, 08:59 PM
RE: Custom story mac - by Droopy - 04-28-2011, 09:15 PM
RE: Custom story mac - by DannieWest - 04-28-2011, 09:23 PM
RE: Custom story mac - by Tanshaydar - 04-28-2011, 10:00 PM
RE: Custom story mac - by DannieWest - 04-28-2011, 10:13 PM
RE: Custom story mac - by Simpanra - 04-28-2011, 10:28 PM
RE: Custom story mac - by DannieWest - 04-28-2011, 10:35 PM
RE: Custom story mac - by ricky horror - 04-29-2011, 02:11 AM
RE: Custom story mac - by DannieWest - 04-29-2011, 07:12 AM
RE: Custom story mac - by ricky horror - 04-29-2011, 07:37 AM
RE: Custom story mac - by Simpanra - 04-29-2011, 10:29 AM
RE: Custom story mac - by ricky horror - 04-29-2011, 11:18 AM



Users browsing this thread: 1 Guest(s)