Frodos
Junior Member
Posts: 28
Threads: 7
Joined: Sep 2012
Reputation:
0
|
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 |
|