Jello

Warper
Member
Joined
Jun 21, 2016
Messages
3
Reaction score
0
First Language
English
Primarily Uses
Hello,


I'm new to the forum.  I develop games using RPG Maker VX Ace and RPG Maker MV for fun outside of work.  I work on different IT-Projects, non-programming based, at my job.  I am a complete Java Script novice, and still in the processing of learning.  I have searched through Google trying to find a script that would allow me to pull up word documents or notepad files in-game.  My plan is to take our training/new hire guide and use RPG Maker to replicate our Data Center in the game.  And when you access the terminal/computer you are sitting at, you can access the different documents that are stored within that shared folder.  Sort of like just using the game as a GUI to access those training documents.  It would be much easier to have a script that would allow me to access these documents in-game, rather than have to retype them all into a journal/notepad in game.  Think anyone might be able to help with this?  Thanks!
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,005
First Language
Tagalog
Primarily Uses
RMVXA
You want the game to just open them (meaning the program makes it open on Word for example) or make the game show it inside the game window?
 

Jello

Warper
Member
Joined
Jun 21, 2016
Messages
3
Reaction score
0
First Language
English
Primarily Uses
I wanted to be able to boot up the game like normal.  And when the character goes to a computer and hits the action button.  I want to be able to pull up a menu where you can select different Word Documents.  Our training material that we use here at work.  Like for example, the character walks up to the computer, you press the action button, It pulls up a menu in-game.  It has different options like, "Common Abend Codes", "WDC Unit Sorter Wave SOP".  If you were to select one of those, it would pull up the Word Document in-game or outside of the game.  Either one works.  Not sure if it's actually possible.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,005
First Language
Tagalog
Primarily Uses
RMVXA
It would be easy to make it open outside of the game I think (well on Ace it was just a simple call to the system to open any external file or program)... 


Try this one if it works


require("child_process").exec('youApp').unref();




just change youApp to the path of your word file
 

Jello

Warper
Member
Joined
Jun 21, 2016
Messages
3
Reaction score
0
First Language
English
Primarily Uses
I'll test it out this week or next week when I finally get the time to sit down and work on it.  Thanks Adiktuzmiko!
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,125
Reaction score
14,641
First Language
English
Primarily Uses
RMMV
You wouldn't be able to make it open up a Word document in-game, because of all the extra crud that MS puts into its word documents for the formatting and settings.  You could probably make it open up a plain text document and show the text in the game window, but not Word.
 

Latest Threads

Latest Profile Posts

Rest in Peace vlog gun...
vloggunsmallface.png
Another unnamed character, and probably last one for now.
She's a dragon girl inspired by fafnir dragon. as always, name suggestion is welcomed.
Dragon_Girl.jpg

Dragon_Girl_1.png
Hmm.... So I can use my quick ports of QPlugins, but QMovement breaks MZ's save system. Or I can use the Luna port of the QPlugins whose QMap breaks MZ's save system. I can't decide I want to fix one of those, or just make a new save system. The new one would look so much better.. I'm kind of tempted. :LZSexcite:
I'm very happy and I want everyone to be happy too, so I decided to share this song about the end of the world! :biggrin:
I just booked a spot for my COVID vaccine today. I am just waiting to see when they can get me in. I'll be so happy when I don't have to be paranoid about the virus anymore. I'm also thinking about moving to Atlanta, Georgia, Denver, Colorado, or Houston, Texas in the far future. Maybe once my channel gets off the ground.

Forum statistics

Threads
111,162
Messages
1,058,833
Members
144,401
Latest member
Sabiaryl
Top