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
Making my first level!
christopher231 Offline
Junior Member

Posts: 26
Threads: 4
Joined: Jul 2011
Reputation: 0
#29
RE: Making my first level!

ok i got the extra_english.lang to work, here it is Big Grin
<LANGUAGE>
<RESOURCES />
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">"The Castle"
</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_TowerKey">Tower Key</Entry>
<Entry Name="ItemDesc_TowerKey">Looks like the key for the near by Tower</Entry>
</CATEGORY>
</LANGUAGE>

but now i cant seem to get the key to unlock the door Dodgy


void OnStart()
{
AddUseItemCallback("", "TowerKey_1", "castle_arched01_3", "UsedKeyOnDoor", ture);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("castle_arched01_3", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "castle_arched01_3", 0, false);
RemoveItem("TowerKey_1");
}

void OnEnter()
{
}
void OnLeave()
{
}

can some one please show me whats wrong?
http://www.youtube.com/user/clrsub11#p/u/2/3vn9MhoRFl0
this is the vid ive been watching that shows you how to make it work.

P.S. this is for a differnt level so thats why different names for e.g. the key name
(This post was last modified: 07-12-2011, 01:39 PM by christopher231.)
07-12-2011, 09:01 AM
Find


Messages In This Thread
Making my first level! - by christopher231 - 07-08-2011, 04:07 AM
RE: Making my first level! - by Zypherzemus - 07-08-2011, 04:23 AM
RE: Making my first level! - by christopher231 - 07-08-2011, 04:26 AM
RE: Making my first level! - by Tanshaydar - 07-08-2011, 04:29 AM
RE: Making my first level! - by christopher231 - 07-08-2011, 04:31 AM
RE: Making my first level! - by Tanshaydar - 07-08-2011, 04:37 AM
RE: Making my first level! - by christopher231 - 07-08-2011, 04:38 AM
RE: Making my first level! - by christopher231 - 07-08-2011, 06:51 AM
RE: Making my first level! - by Zypherzemus - 07-08-2011, 07:27 AM
RE: Making my first level! - by christopher231 - 07-08-2011, 07:57 AM
RE: Making my first level! - by Zypherzemus - 07-08-2011, 08:22 AM
RE: Making my first level! - by Angerpull - 07-09-2011, 12:49 AM
RE: Making my first level! - by MrCookieh - 07-08-2011, 01:13 PM
RE: Making my first level! - by Kyle - 07-08-2011, 02:16 PM
RE: Making my first level! - by christopher231 - 07-08-2011, 04:51 PM
RE: Making my first level! - by Kyle - 07-08-2011, 06:20 PM
RE: Making my first level! - by MrCookieh - 07-08-2011, 05:35 PM
RE: Making my first level! - by christopher231 - 07-09-2011, 12:27 AM
RE: Making my first level! - by Kyle - 07-09-2011, 12:31 AM
RE: Making my first level! - by christopher231 - 07-09-2011, 12:32 AM
RE: Making my first level! - by Kyle - 07-09-2011, 12:36 AM
RE: Making my first level! - by Zypherzemus - 07-09-2011, 12:40 AM
RE: Making my first level! - by Kyle - 07-09-2011, 12:51 AM
RE: Making my first level! - by christopher231 - 07-09-2011, 01:01 AM
RE: Making my first level! - by christopher231 - 07-09-2011, 07:57 AM
RE: Making my first level! - by Kyle - 07-09-2011, 01:38 PM
RE: Making my first level! - by christopher231 - 07-10-2011, 03:48 AM
RE: Making my first level! - by Zypherzemus - 07-10-2011, 04:40 AM
RE: Making my first level! - by christopher231 - 07-12-2011, 09:01 AM
RE: Making my first level! - by Zypherzemus - 07-12-2011, 06:55 PM
RE: Making my first level! - by christopher231 - 07-13-2011, 06:55 AM
RE: Making my first level! - by Zypherzemus - 07-13-2011, 07:52 AM
RE: Making my first level! - by christopher231 - 07-13-2011, 02:28 PM
RE: Making my first level! - by Zypherzemus - 07-13-2011, 06:55 PM
RE: Making my first level! - by christopher231 - 07-14-2011, 12:31 AM



Users browsing this thread: 5 Guest(s)