I've been using Mouse to write logs/notes/diary entries in-game from my character's point of view, but man, sometimes Mouse just isn't having it with me :(
Love this mod though, finally, I can type into fallout terminals! After all these years!
If you just want to type, I recommend Journal of the Sole Survivor by reg2k - https://www.nexusmods.com/fallout4/mods/13462 - it's been out for years and is made just for this purpose.
Yes! I found that mod not too long after making this post, so I've started putting them in that journal instead of Mouse. I'm keeping this mod around, though...
It's impressive when i'm '"surfing" on mods just to watch the creativity at work ... i find something that push the limit of my imagination ^^ I've saw strange things but this one is a masterpiece of weirdness lol How the hell you got the idea to create a mini-OS for the pipboy just for the proof of concept ?!
It's isolated. While controlling settlement objects would be cool, it would be absolutely useless for two reasons. Number one, you can't control individual objects, only groups of the same type of object. Number two, holotape programs close the moment you exit the terminal interface, they can't run in the background, meaning you can't have a program continuously controlling stuff, like turning lights on and off based on time of day etc.. So again, while it would be interesting, it wouldn't be able to do anything the built-in terminal interface can't.
Two huge questions: Do you have any plans to continue developing the language as a project? (hell, can it even be done inside the Bethesda engine?) Is it possible for programs written in Mouse this way to 'reach out' to lights or switches in the settlement it is running in? (again, is that even possible?)
This is a very interesting development! Bethesda, and other game producers need to consider allowing a programming interface within the game engine when they make construction and such like the settlements in Fallout a part of the game.
A1: I consider the project finished, maybe save for some bugfixes, if the need arises. I will be releasing the source code eventually, so that anyone could continue developing it, if they wanted to.
A2: Theoretically yes, it is possible for programs to interact with the Papyrus scripts that control electronics (how do you think the default terminal menus work?), but it is not implemented and it would be almost completely useless anyway because there is no way to address individual components, only groups (all turrets, all switches, all lightboxes etc.), and because the terminals themselves don't run in real time and cannot continue executing whatever holotape you put into them after you step away from them, so any additional functionality this could potentially expose over regular terminal menus would be lost. In short, the default controls you get when accessing a terminal are good enough.
A3: Even though this wasn't a question, AFAIK Bethesda actually did consider making a Lua interpreter but for some reason decided against it. Possibly because they ran out of time, possibly because of the limitations described in A2, and possibly because the Scaleform VM (Autodesk's "optimized" version of Flash Player) that runs all the UI code in FO4 just isn't fast enough to handle something so complex (or maybe it is, but it isn't getting enough CPU cycles during the game loop).
This is a real immersive mod for a hacker playthrough, which is pretty cool! ^~^ Surfice to say, my game did freeze when I incorretly pressed in my code >_< Is there a way to make text documents from this, I saw that words can be put in, but I'm not sure if files can actually be created with your mod, and if so where would I find the save doc?
1st: You probably managed to find a way of freezing the game I didn't anticipate (again...), if you can, send me the code in a PM on the forums and I'll see if I can find what you did and fix it. Or you can file a bug report, but, again, try providing the code.
2nd: SWF programs have no way of accessing the local filesystem (security and all that), neither directly, nor through Papyrus scripts, so all the files you create are actually stored in your savegames. To get to the data outside the game, you would open a save file with a text editor, e.g. Notepad, and search for SDMouseFILE, it should find all the files you created in JSON format (actual file contents are in plain text inside the JSON, don't worry, some special charactes will be escaped though). The same works for Brainf*ck, the key you'd be search for then would be SDBFFILE. Be careful not to change anything inside the save file, it could possibly get corrupted and no longer load. I'm sorry that there isn't a better way to do it, but there's not much I can do about it.
Thanks man! I wish I could help with that programming aspect, it's a tricky thing to get into I found that when I was in college, we used MySQL, so parts of inputting code into a database, and some database creation is familiar.
No it isn't: <LETTER>: - colon immediately after variable - "pop value from stack and store it in variable"
As I said in the description, I made some changes to the language, some symbols can no longer be preceeded with whitespaces, so describing them separately of other relevant symbols simply doesn't make sense, some symbols don't exist in this version of Mouse, some have different meaning, some are new to this version.
19 comments
Love this mod though, finally, I can type into fallout terminals! After all these years!
I've to download it just to endorse that lol
if AAF is installed
then
modavskill onehanded +10 000
end
Two huge questions:
Do you have any plans to continue developing the language as a project? (hell, can it even be done inside the Bethesda engine?)
Is it possible for programs written in Mouse this way to 'reach out' to lights or switches in the settlement it is running in? (again, is that even possible?)
This is a very interesting development! Bethesda, and other game producers need to consider allowing a programming interface within the game engine when they make construction and such like the settlements in Fallout a part of the game.
Super well done @onbad!
A2: Theoretically yes, it is possible for programs to interact with the Papyrus scripts that control electronics (how do you think the default terminal menus work?), but it is not implemented and it would be almost completely useless anyway because there is no way to address individual components, only groups (all turrets, all switches, all lightboxes etc.), and because the terminals themselves don't run in real time and cannot continue executing whatever holotape you put into them after you step away from them, so any additional functionality this could potentially expose over regular terminal menus would be lost. In short, the default controls you get when accessing a terminal are good enough.
A3: Even though this wasn't a question, AFAIK Bethesda actually did consider making a Lua interpreter but for some reason decided against it. Possibly because they ran out of time, possibly because of the limitations described in A2, and possibly because the Scaleform VM (Autodesk's "optimized" version of Flash Player) that runs all the UI code in FO4 just isn't fast enough to handle something so complex (or maybe it is, but it isn't getting enough CPU cycles during the game loop).
It's still an amazing feat you've accomplished here.
Surfice to say, my game did freeze when I incorretly pressed in my code >_<
Is there a way to make text documents from this, I saw that words can be put in, but I'm not sure if files can actually be created with your mod, and if so where would I find the save doc?
2nd: SWF programs have no way of accessing the local filesystem (security and all that), neither directly, nor through Papyrus scripts, so all the files you create are actually stored in your savegames. To get to the data outside the game, you would open a save file with a text editor, e.g. Notepad, and search for SDMouseFILE, it should find all the files you created in JSON format (actual file contents are in plain text inside the JSON, don't worry, some special charactes will be escaped though). The same works for Brainf*ck, the key you'd be search for then would be SDBFFILE. Be careful not to change anything inside the save file, it could possibly get corrupted and no longer load. I'm sorry that there isn't a better way to do it, but there's not much I can do about it.
I found that when I was in college, we used MySQL, so parts of inputting code into a database, and some database creation is familiar.
<LETTER>: - colon immediately after variable - "pop value from stack and store it in variable"
As I said in the description, I made some changes to the language, some symbols can no longer be preceeded with whitespaces, so describing them separately of other relevant symbols simply doesn't make sense, some symbols don't exist in this version of Mouse, some have different meaning, some are new to this version.