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
Locked Door Message not Working, Help Needed. (Awarding Virtual Cookie)
Frodos Offline
Junior Member

Posts: 28
Threads: 7
Joined: Sep 2012
Reputation: 0
#12
RE: Problem with "extra_english.lang"

Sigh, I've tried all your advice and more and it still doesn't work! I'm so disappointed with myself, I feel like I'm letting you all down. I think we'll try one more time and if it doesn't work that's okay, you all have done enough already.

I'm going to give you all the info, hopefully someone will find the problem.

Name of Door: roomone
Active: Yes
CastShadows:Yes
StaticPhysics:No
IsAffectedbyDecal:No

PlayerInteractCallback: DoorLockedPlayer

PlayerInteractCallBackAutoRemove: Yes
Locked: Yes

OpenAmount: 0


extra_english.lang:



<LANGUAGE>
<CATEGORY Name="Messages">
<Entry Name="lockeddoor">The door is locked from the outside, maybe there is another way out of here.</Entry>
</CATEGORY>
</LANGUAGE>

hps file:



void OnStart()
{
SetEntityPlayerInteractCallback("roomone", "DoorLockedPlayer", true);
}

void DoorLockedMessage(string &in entity)
{
SetMessage("Messages", "lockeddoor", 0);
}


note: There is one other thing in english_Lang, a code for a note message, which works fine.

There is nothing else in hps other than the door code.

Veteran Writer

Need help with your CS plot? PM me!

Noob Scripter, need help PM me.




09-03-2012, 11:05 PM
Find


Messages In This Thread
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 01:58 AM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 02:26 AM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 02:53 AM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 03:56 AM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 04:22 AM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 04:29 AM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 04:20 PM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 11:05 PM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 11:11 PM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 11:13 PM



Users browsing this thread: 1 Guest(s)