Leadwerks Game Engine

Leadwerks Game Engine

Notes like in Amnesia
22 Comments
ashes48 20 Mar, 2024 @ 8:31am 
This is awesome but I'm having the same issue as YT@SmirkSmileGrinGameswas having. it crashes on the published game. any way to still get the working version ?
Uppercase @  [author] 21 Feb, 2016 @ 1:53pm 
@smirk_smile_grin : sorry. It seems the files somehow went back to an old version on the steam workshop, and i get an error message when i try to reupload the file. So not sure yet whats going on. In the meantime you can download the latest version from my private owncloud server: https://cloud.software-sl.de/index.php/s/sHbt6kKfMT926zi
SmirkSmileGrin 13 Feb, 2016 @ 6:43pm 
Anyone know why this note is causeing my .exe file of my published game to crash when i click on a note? i have everything inputed such as the texture, script, sounds, etc. and it works just fine in my non published game but when i try to open the file in a published game it crashes it. Please help if you know why. I also have the text option selected to allow this to work before i published the game
nick.ace 11 May, 2015 @ 9:56pm 
This is fantastic! Thanks so much!
DrPhil'sFailingCareer 28 Mar, 2015 @ 6:03am 
Thanks for the update!
Uppercase @  [author] 27 Mar, 2015 @ 9:10pm 
just updated. Now a note can be opened with the flowgraph or at start.
When the note entity is too far away you should disable the "walk away close" checkbox.
Uppercase @  [author] 6 Mar, 2015 @ 8:48am 
hi ZacNotZachary,
It is currently not really made to be shown right from the start. It would require some modifications. I might add a flowgraph version of this script so it can also be called from the flowgraph.
DrPhil'sFailingCareer 4 Mar, 2015 @ 8:48am 
Hi just asking how to make it appear when you start as I have followed the instructions and it doesn't seem to work.
Kanaka LLTS 2 Mar, 2015 @ 10:28pm 
Man I have been trying all day to do something like this. I really appreciate you sharing your code. :sadelf:
StimEnjoyer 1 Mar, 2015 @ 9:05am 
Thanks for the reply but I figured it out :p.
Uppercase @  [author] 1 Mar, 2015 @ 8:25am 
Hi Pkingidiots,
Sorry for the late reply.

I hope i understand your question correctly.
There are two formats the text-files can have.

First a lua table where every table entry is a line. There is a example File included in the Texts subfolder.

The other one is a simple txt file where every line is a line in the game note.
For that you need to disable the Sandbox LUA setting in the editor.


For it to work in your game just attach the Script to any entity and select the according things in the Entity settings in the Script tab. I tested it with the defaulf FPS Player script.

If you have a modified Character Controller script you might need to modify the script too.
StimEnjoyer 27 Feb, 2015 @ 11:05pm 
How do you add text objects that people can read into the game?
Anthony_python 9 Feb, 2015 @ 12:55pm 
Alright sounds great beo
Uppercase @  [author] 9 Feb, 2015 @ 11:34am 
thanks. i just updated the script with some things that where wished and also some things that annoyed me. :)

i added
- flowgraph outputs ( slenderman anyone? :) )
- open / close sound selection
- font selection
- loading of lua text files for sandboxed mode (there is a text1.lua as example)

hope you like it
Anthony_python 8 Feb, 2015 @ 5:07pm 
overall I give you a 4/5 :)
Anthony_python 8 Feb, 2015 @ 5:07pm 
Also it might not be a bad thing to check if any is nil and if not then continue and if it is nil in output an error saying "this so and so cannot be nil"
Anthony_python 8 Feb, 2015 @ 5:00pm 
its good I like it, but one thing you can use is Script.fontPath = "" --path "Font" "font (*.ttf):ttf" to allow changability in the editor then put self.font = Font:Load(self.fontPath,self.textSize) in the place of the original :p2cube:
Uppercase @  [author] 8 Feb, 2015 @ 2:45pm 
Nice. thanks for letting me know.
Anthony_python 8 Feb, 2015 @ 12:51pm 
now that the beta was rolled back and is working again, the workshop item downloaded and Note.lua apeared just fine now, nothing to worry about.
Anthony_python 8 Feb, 2015 @ 11:35am 
Nope. no Note.lua in Scripts/Objects/Items
Uppercase @  [author] 8 Feb, 2015 @ 10:06am 
It should be. It is my first upload here but can you look into \Scripts\Objects\Items\
if there is a Note.lua file?
Anthony_python 8 Feb, 2015 @ 1:11am 
uh, is there actually any thing in the file, because i've subed and unsubed several times for it, doesn't seem to be any thing in it.