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
|