Frictional Games Forum (read-only)
Getting the Credits to Roll - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Getting the Credits to Roll (/thread-15281.html)

Pages: 1 2


Getting the Credits to Roll - Thief977 - 05-06-2012

I'm working on a 3-level quick story for an english project, and I'm almost done. I just got the brute scripted today, but I hit a snag. At first, it looked like the key and bucket of tar in the level just had blank names, but now I see the story's description on the main menu is gone!

From the looks of it, the extra_english.lang file is disconnected somehow. Any ideas how to fix this?

Once I get this patched up, I'll add a link to this quick level for any would-be testers.
Not going for anything of superior quality. It's practically a tech-demo for my class.


RE: Almost Done / Lang File Error - Cranky Old Man - 05-06-2012

You've most likely forgot a tag, used a double quotation character (instead of """), or forgot a double quotation character where there should be. You should try to look for it yourself, but you can always go for option two, and do like everybody else does, and post the entire lang file and waste my time instead.


RE: Almost Done / Lang File Error - Xanthos - 05-06-2012

You have at least ONE error on it.
Post the script here and we will fix it Tongue


RE: Almost Done / Lang File Error - Rownbear - 05-06-2012

(05-06-2012, 07:18 AM)Cranky Old Man Wrote: You've most likely forgot a tag, used a double quotation character (instead of """), or forgot a double quotation character where there should be. You should try to look for it yourself, but you can always go for option two, and do like everybody else does, and post the entire lang file and waste my time instead.
I thought helping people was optional? :p


RE: Almost Done / Lang File Error - Cranky Old Man - 05-06-2012

(05-06-2012, 01:30 PM)Rownbear Wrote:
(05-06-2012, 07:18 AM)Cranky Old Man Wrote: You've most likely forgot a tag, used a double quotation character (instead of """), or forgot a double quotation character where there should be. You should try to look for it yourself, but you can always go for option two, and do like everybody else does, and post the entire lang file and waste my time instead.
I thought helping people was optional? :p
Well, yes, but even voluntarily, systematically checking a large lang file takes awhile, and the voluntaire would only be doing the job that the one being helped could just as "easily" have done himself. I'm just willing to have my time wasted. I shouldn't even be here. I should be modding.


RE: Almost Done / Lang File Error - Thief977 - 05-06-2012

Sorry about getting back to you guys so late. A thunderstorm took out the internet, and it just came back up.

So, I'm looking for things like quotations where they shouldn't be? Ok. doesn't seem so bad.


RE: Almost Done / Lang File Error - Thief977 - 05-06-2012

Alright, almost got the whole thing done.
The last bit is getting this bucket of tar to unlock a level door. The sound I selected plays, but the door remains locked.

void UsedKeyOnDoor4(string &in asItem, string &in asEntit)
{
SetSwingDoorLocked("level_wood_2", false, true);
PlaySoundAtEntity("", "ui_use_oil", "level_wood_2", 0, false);
RemoveItem("bucket_of_tar");
}

Any ideas? I read somewhere that level doors unlock differently.


RE: Almost Done / Lang File Error - Xanthos - 05-06-2012

Level door script is
SetLevelDoorLocked("level1", false);


RE: Almost Done / Lang File Error - FlawlessHappiness - 05-06-2012

Yes... Pretty easy Smile instead of, SetSwingDoorLocked then SetLevelDoorLocked because swing door is a normal door and level door is a level door Wink also the level door does not have the effect option so it should just be ("leveldoorname", false);


RE: Almost Done / Lang File Error - Thief977 - 05-06-2012

If this works, I love you guys.

Nope, an error came up when I got to the level:

FATAL ERROR: Could not load script file "map location"
main (35,2) : ERR : No matching signatures to 'SetLevelDoorLocked(string@&, const bool, const bool)'

This is line 35:
SetLevelDoorLocked("level_wood_2", false, true);