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
[SOLVED] "Picked Up"
Zjurc Offline
Junior Member

Posts: 43
Threads: 8
Joined: Jan 2012
Reputation: 0
#1
Rainbow  [SOLVED] "Picked Up"

I may be stupid, but my object (in this case a key) is not accepting its custom name and description. When picking up it says "Picked Up" and when in inventory, its blank.

The name of my key is "key_1" and in that other name (in the entities) its "key1"

Okay. So I've set up my key, everything nice and beautiful. Now on to the mighty extra_english.lang!

Quote: <CATEGORY Name="Inventory">
<Entry Name="ItemDesc_key1">A key for the Main Hall</Entry>
<Entry Name="ItemName_key1">Main Hall Key</Entry>
</CATEGORY>

Anything wrong? The .lang file with this code is in the same location as the map. The map does not have its own .hps file (should it?).

Thanks in advance! Big Grin
(This post was last modified: 01-16-2012, 08:10 PM by Zjurc.)
01-13-2012, 09:21 PM
Find
Unearthlybrutal Offline
Posting Freak

Posts: 775
Threads: 12
Joined: May 2011
Reputation: 26
#2
RE: "Picked Up"

Only maps and .hps files should be in the "maps" folder.
The .lang file should be in your story's folder.
(* the folder where are the .cfg file and maps folder) Smile

When Life No Longer Exists
Full-conversion mod
(This post was last modified: 01-13-2012, 10:29 PM by Unearthlybrutal.)
01-13-2012, 10:28 PM
Website Find
Zjurc Offline
Junior Member

Posts: 43
Threads: 8
Joined: Jan 2012
Reputation: 0
#3
RE: "Picked Up"

(01-13-2012, 10:28 PM)Unearthlybrutal Wrote: Only maps and .hps files should be in the "maps" folder.
The .lang file should be in your story's folder.
(* the folder where are the .cfg file and maps folder) Smile
Smile thanks! I organized my story a bit. But still says "picked up".
It should be "Picked up Main Hall Key" or something like that i guess.
01-13-2012, 10:44 PM
Find
Unearthlybrutal Offline
Posting Freak

Posts: 775
Threads: 12
Joined: May 2011
Reputation: 26
#4
RE: "Picked Up"

Is the "key1" your key's name or is it "CustomSubItemTypeName" in the second tab on the right, when you click the key in the level editor?

When Life No Longer Exists
Full-conversion mod
(This post was last modified: 01-13-2012, 10:55 PM by Unearthlybrutal.)
01-13-2012, 10:54 PM
Website Find
Zjurc Offline
Junior Member

Posts: 43
Threads: 8
Joined: Jan 2012
Reputation: 0
#5
RE: "Picked Up"

(01-13-2012, 10:54 PM)Unearthlybrutal Wrote: Is the "key1" your key's name or is it "CustomSubItemTypeName" in the second tab on the right, when you click the key in the level editor?

"CustomSubItemTypeName" key1
"Name" key_1

Should those two be replaced?
(This post was last modified: 01-13-2012, 11:06 PM by Zjurc.)
01-13-2012, 11:00 PM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#6
RE: "Picked Up"

"CustomSubItemTypeName" key_1
"Name" Can be anything you want. This is for scripting.

(This post was last modified: 01-14-2012, 12:28 AM by Statyk.)
01-14-2012, 12:19 AM
Find
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#7
RE: "Picked Up"

Make sure you have arranged your folders like this and exactly this.

custom_stories
-----|(your custom story name)

----------|extra_english.lang

----------|custom_story_settings.cfg

----------|maps

----------------|Map files(or folders containing map files)


(if that makes sense)

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
(This post was last modified: 01-14-2012, 05:08 AM by Tripication.)
01-14-2012, 03:15 AM
Find
HollowRiku13 Offline
Member

Posts: 93
Threads: 15
Joined: Dec 2011
Reputation: 2
#8
RE: "Picked Up"

A key for the Main Hall</Entry>
Main Hall Key</Entry>


You need to put a space between "Main Hall" and "</Entry>"

It should look like :


<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_key1">A key for the Main Hall </Entry>
<Entry Name="ItemName_key1">Main Hall Key </Entry>
</CATEGORY>
(This post was last modified: 01-14-2012, 05:42 AM by HollowRiku13.)
01-14-2012, 05:40 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#9
RE: "Picked Up"

(01-14-2012, 05:40 AM)HollowRiku13 Wrote: A key for the Main Hall
Main Hall Key


You need to put a space between "Main Hall" and ""

It should look like :



A key for the Main Hall
Main Hall Key

Not exactly. You're just going to have an unnoticable space at the end of the message.

01-14-2012, 05:59 AM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#10
RE: "Picked Up"

You do like this:

In the .lang file you put

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_CANBEWHATEVERUWANT">A key for the Main Hall </Entry>
<Entry Name="ItemName_CANBEWHATEVERUWANT">Main Hall Key </Entry>
</CATEGORY>

and then in level editor you click the key and then on entities you write on "CustomSubItemTypeName" what you wrote on CANBEWHATEVER thing in .lang file

Hoped it helped Smile

01-14-2012, 11:14 AM
Find




Users browsing this thread: 5 Guest(s)