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 help
aqfitz622 Offline
Junior Member

Posts: 23
Threads: 9
Joined: Nov 2011
Reputation: 0
#11
RE: Custom story help

(11-12-2011, 09:51 PM)Statyk Wrote: A .hps file is necessary for ALL scripts within the .map that the name matches PERFECTLY... Just open Notepad (Notepad++ is recommended) and copy this into it:

//____________________________

void OnStart()
{

}

void OnEnter()
{

}

void OnLeave()
{

}

//_______________________

Then save it in the same folder as the map as the name calls. For example:

test.map
test.hps

**MAKE SURE that in the "File Name" when saving, you put ".hps" at the end. Otherwise, it'll save as a ".txt" and that's wrong.**
i created the HPS file and put it in the maps

.CFG


<Main
Name="trapped"
Author="aqfitz"
ImgFile=""

MapsFolder="maps/"
StartMap="trapped.map"
StartPos=""
/>

.LANG


<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">test</Entry>
</CATEGORY>
</LANGUAGE>


.hps


//____________________________

void OnStart()
{

}

void OnEnter()
{

}

void OnLeave()
{

}

//_______________________

is there more i need to do because it still dosnt show up
11-12-2011, 10:12 PM
Find


Messages In This Thread
Custom story help - by aqfitz622 - 11-12-2011, 07:51 PM
RE: Custom story help - by Statyk - 11-12-2011, 08:22 PM
RE: Custom story help - by aqfitz622 - 11-12-2011, 08:28 PM
RE: Custom story help - by GreyFox - 11-12-2011, 08:47 PM
RE: Custom story help - by Darion97 - 11-12-2011, 08:48 PM
RE: Custom story help - by aqfitz622 - 11-12-2011, 08:54 PM
RE: Custom story help - by Darion97 - 11-12-2011, 09:03 PM
RE: Custom story help - by aqfitz622 - 11-12-2011, 09:32 PM
RE: Custom story help - by Statyk - 11-12-2011, 09:51 PM
RE: Custom story help - by aqfitz622 - 11-12-2011, 10:12 PM
RE: Custom story help - by Statyk - 11-12-2011, 10:21 PM
RE: Custom story help - by Darion97 - 11-12-2011, 09:54 PM
RE: Custom story help - by aqfitz622 - 11-12-2011, 10:35 PM
RE: Custom story help - by Statyk - 11-12-2011, 10:42 PM



Users browsing this thread: 3 Guest(s)