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
#1
Custom story mac

What kind of text document do you use for the scripting and stuff, for the .hps and .cfg files? I tried Open Office and that went no where, and also tried downloading notepad, but that one dun work on mac. Please help me!
04-28-2011, 08:59 PM
Find
Droopy Offline
Member

Posts: 111
Threads: 5
Joined: Feb 2011
Reputation: 0
#2
RE: Custom story mac

.hps handles scripting

use textedit, it's simple enough

Listen to the fear, maybe it's your friend.
04-28-2011, 09:15 PM
Find
DannieWest Offline
Member

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

Okay, I'll give it a shot!
Didn't really work...
*sigh* There's srsly no guide on how to make a custom story on a mac computer, there is one of windows and one on how to install custom stories on mac, but none bout how to make them!
I've created a small map, wrote the whole setting stuff in the cfg file, the "Void Onstart() []-thingys" in the hps, placed em all where they belong in the custom storie folder, but nothing shows up when I start the game!
(This post was last modified: 04-28-2011, 09:35 PM by DannieWest.)
04-28-2011, 09:23 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#4
RE: Custom story mac

Copy files from existing and working custom story and edit its files to see if it works for you.

04-28-2011, 10:00 PM
Website Find
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
Simpanra Offline
Senior Member

Posts: 314
Threads: 28
Joined: Mar 2011
Reputation: 0
#6
RE: Custom story mac

I use a mac and it works jsut fine =) you just need patience and understanding =), here, try copying this into the void OnEnter() section of your .hps =)

///////////////////////////////
///Run when entering map
void OnEnter()
{
AddTimer("FadeIntro", 0, "FadeIntro");
}

void FadeIntro(string &in asTimer)
{
FadeOut(0);
FadeIn(6);
}

This will make your vision fade in from black when you start the level =)
04-28-2011, 10:28 PM
Find
DannieWest Offline
Member

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

Cool :p I'll try that!
Only problem is that I can't run the story, not showing up >.< Launch game -> Select profile -> Custom Story -> Can only find the ones I downloaded, not the one I made myself Sad
I just wonder, would it be possible maybe for someone to create a tutorial video about how to create a custom story on mac and put on youtube? I kinda feel like a pain in the ass asking all those questions and still nothing works :o
04-28-2011, 10:35 PM
Find
ricky horror Offline
Member

Posts: 54
Threads: 8
Joined: Apr 2011
Reputation: 0
#8
RE: Custom story mac

I use a Mac, and TextEdit was awful for it when I tried :/
Use TextWrangler, it's meant for scripting
04-29-2011, 02:11 AM
Find
DannieWest Offline
Member

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

Okay =) Time to try it out!
(04-29-2011, 02:11 AM)ricky horror Wrote: I use a Mac, and TextEdit was awful for it when I tried :/
Use TextWrangler, it's meant for scripting

OMG FINALLY!!!! THANKS YOU SOOO MUCH MAN!!! Heart
Finally I can start making my own custom stories Big Grin
(This post was last modified: 04-29-2011, 07:19 AM by DannieWest.)
04-29-2011, 07:12 AM
Find
ricky horror Offline
Member

Posts: 54
Threads: 8
Joined: Apr 2011
Reputation: 0
#10
RE: Custom story mac

(04-29-2011, 07:12 AM)DannieWest Wrote: Okay =) Time to try it out!
(04-29-2011, 02:11 AM)ricky horror Wrote: I use a Mac, and TextEdit was awful for it when I tried :/
Use TextWrangler, it's meant for scripting

OMG FINALLY!!!! THANKS YOU SOOO MUCH MAN!!! Heart
Finally I can start making my own custom stories Big Grin

No problem [:
Works great, doesn't it?
It's Mac's version of C++

Amnesia: Ricky's Horror - Full Conversion
04-29-2011, 07:37 AM
Find




Users browsing this thread: 2 Guest(s)