Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extra_english.lang
Omenapuu Offline
Junior Member

Posts: 31
Threads: 8
Joined: Oct 2013
Reputation: 1
#5
RE: Extra_english.lang

(10-23-2013, 08:14 PM)T122002 Wrote: You're welcome! ^^ did everything work okay?

Yeah, but I'm screwing up again. Now as I got over it, I made some other, a little more complicated things with the .hps file.. I know there are probably just small mistakes I don't notice, but when I try to load up my custom story, it says that it's unexpected ending, and here it is.. :C

----------------------------------------------------
void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "react2", true, 1);
AddUseItemCallback("hammer1", "stone_hammer_1", "passage1", "impact1", false);
SetLocalVarInt("usehammer1", 1);
SetEntityPlayerInteractCallback("lantern_1", "lantern", true);
}
void OnEnter()
{

}
void OnLeave()
{

}
void break1(string &in asEntity)
{
SetMessage("Messages", "wall1", 3.0);
}
void impact1(string &in asItem, string &in asEntity)
{
if(GetLocalVarInt("usehammer1") == 1)
(
SetLocalVarInt("usehammer1", 2);
SetMessage("Messages", "Hammerfirst", 3.0);
SetEntityActive("servant_grunt_1, true);
)
else if(GetLocalVarInt("usehammer1") == 2)
(
SetEntityActive("passage1", false);
SetEntityActive("passage2", true);
PlayGuiSound("05_rock_fall.snt", 100);
CreateParticleSystemAtEntity("dust1", "ps_dust_falling_door.ps", "passage2", false);
AddTimer("dust1", 3.0, "dust1");
)
}
void dust1(string &in asTimer)
{
DestroyParticleSystem("dust1");
}
void lantern(string &in asEntity)
{
SetPlayerLampOil(25.0);
}
-----------------------
I'm pretty tired so I can't focus really the maxium, so I'm missing something I guess... Thanks if you can help again, I honestly want to get this working Smile PS. the spaces aren't like that, copy & paste just failing
(This post was last modified: 10-23-2013, 08:33 PM by Omenapuu.)
10-23-2013, 08:32 PM
Find


Messages In This Thread
Extra_english.lang - by Omenapuu - 10-23-2013, 05:42 PM
RE: Extra_english.lang - by T122002 - 10-23-2013, 06:09 PM
RE: Extra_english.lang - by Omenapuu - 10-23-2013, 06:37 PM
RE: Extra_english.lang - by T122002 - 10-23-2013, 08:14 PM
RE: Extra_english.lang - by Omenapuu - 10-23-2013, 08:32 PM
RE: Extra_english.lang - by The chaser - 10-23-2013, 08:47 PM
RE: Extra_english.lang - by Omenapuu - 10-23-2013, 08:52 PM
RE: Extra_english.lang - by Your Computer - 10-23-2013, 08:54 PM
RE: Extra_english.lang - by Omenapuu - 10-24-2013, 04:13 PM



Users browsing this thread: 1 Guest(s)