The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Editor = hell?...
Jehuty Offline
Junior Member

Posts: 8
Threads: 2
Joined: Oct 2010
Reputation: 0
#1
Editor = hell?...

Hi, im french so excuse my bad language :x

well..... i try do make a map, i do a room without any problem
created light, props etc...

il created all files needed for a custom storie and after the 1st problem apear when i tried to do a diary, haha... a diary. god its the 2ns day i try to do this shit

i created an entity (note) drop it on a desk named it note1 and give him a notetext named papier1 (i tried a lot of name but no one work)

after that i added my speech on the lang file:
-------------------------------------
<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">C'est ma 1er map.[br]J'espere que vous avez prevu des couches!</Entry>
</CATEGORY>
<CATEGORY Name="Ending">
<Entry Name="MyCredits">- Produit par Jehuty -[br][br][br]- SWALLOWED -[br][br][br]J'espere que vous avez aimé!</Entry>
</CATEGORY>
<CATEGORY Name="Journal">
<Entry Name="Diary_papier1_Name1">Mes dernieres notes</Entry>

<Entry Name="Diary_papier1_Text1">blablabla</Entry>
-------------------------------------------------
(i cut it here cause the rest is for the inventory)

but the note alway stay blank... i never seen a editor like this
actually i try to dont kill myself :x

hm, that the 1st problem, now the 2nd one: after passed 2 day on this fuking diary, i tried to door a locked door can be unlocked by a key, its fun! (that what i thinked before start... how fool i am)

i followed the video tutorial on the other website with the guy who speak like an hot potatoe and do all thing in the ch00.hps

i created a key named cle_1 with a subname : cle1
i added information into the extra_french.lang file too, like the diary:

-------------------------------------------------------
</CATEGORY>
<CATEGORY Name ="Inventory">
<Entry Name="ItemDesc_Cle1">C'est la cle de ma chambre, on est jamais trop prudent...</Entry>
<Entry Name="ItemName_Cle1">Cle de la chambre</Entry>
</LANGUAGE>
------------------------------------------------------
but when i play my map the key stay blank.... (sometime the name apear when i edit my map and change some things (i dont edit the key!!! WTF!!!)


and if by miracle the name apear (that mean the key is recognised i think)
the script file dont work:

////////////////////////////
// Run first time starting map
void OnStart()
{
AddCombineCallback("", "Cle_1", "Porte_1", "usedkeyondoor", true);
}

void usedkeyondoor(string &in asItem, string &in asentity)
{
SetSwingDoorLocked("Porte_1", false, true);
PlaySoundAtEntity("", "unlock_door", "Porte_1", 0, false);
RemoveItem("Cle_1");
}

////////////////////////////


sorry for this huge and disgusting post, but i really need help i think... or i will just give up and never come back :/

(edit: i try a lot of different names for all my entity, and ilooked into "the darkness" for see how he doing, but its exactly the same as me)
thx and bye
10-01-2010, 11:39 PM
Find


Messages In This Thread
Editor = hell?... - by Jehuty - 10-01-2010, 11:39 PM
RE: Editor = hell?... - by Noj - 10-01-2010, 11:48 PM
RE: Editor = hell?... - by Jehuty - 10-01-2010, 11:55 PM
RE: Editor = hell?... - by HakePT - 10-02-2010, 12:07 AM
RE: Editor = hell?... - by Jehuty - 10-02-2010, 12:54 AM
RE: Editor = hell?... - by HakePT - 10-02-2010, 02:11 AM
RE: Editor = hell?... - by Noj - 10-02-2010, 04:58 AM
RE: Editor = hell?... - by Jordo76 - 10-02-2010, 08:48 AM
RE: Editor = hell?... - by Jehuty - 10-02-2010, 05:52 PM
RE: Editor = hell?... - by Jordo76 - 10-02-2010, 07:05 PM



Users browsing this thread: 1 Guest(s)