Hi all,
I was trying to find a function like this in the software itself or a plugin that could be appropriated to do this, but it seems nobody from the community ever needed it.
WHAT:
What I need is a way to have my game send information through a parallel port to another machine. The whole point is to have one or several events in the game that I want to log onto another machine.
EXAMPLE:
So let's say I create an event in the game, like picking up an item. Player walks up to a letter on the ground, and they press a button to interact with it. This triggers a control switch on. This control switch on (or off eventually, say when they hand it in) is what I want to send through the parallel port. There would most likely be more than one control switches in the game.
MORE INFO:
Essentially, I only need a trigger sent through the parallel port. This other machine knows what to do with it, it just stores it as a time-point, and there's functionality to code and store more different signals, so that end is taken care of.
The parallel port I'm using is 16-bit, only has four wires, so I could send up to 16 different triggers through it. Ideally, I could redefine the triggers either through RPGMMV interface or in the code itself. By "redefining the triggers" I mean define what control switch or other event command sends information (trigger) through which bit. If the event of picking up a letter commands "Control Switch #0001=ON", then I would define that to be sent through a certain bit.
Another thing that would be really convenient is if there were an option either built-in or adjustable to make one of the channels (bits) send triggers at randomised intervals. I'm talking about intervals under 30s. So whilst my players are playing the game, one of the bits, let's says the first wire for simplicity's sake, sends a trigger to the other machine at a randomised interval ranging from 1 to 30 seconds.
If anyone thinks this is possible to implement, and would be willing to give it a knock, please do not hesitate to contact me for more information. Looking forward to your ideas and replies!
I was trying to find a function like this in the software itself or a plugin that could be appropriated to do this, but it seems nobody from the community ever needed it.
WHAT:
What I need is a way to have my game send information through a parallel port to another machine. The whole point is to have one or several events in the game that I want to log onto another machine.
EXAMPLE:
So let's say I create an event in the game, like picking up an item. Player walks up to a letter on the ground, and they press a button to interact with it. This triggers a control switch on. This control switch on (or off eventually, say when they hand it in) is what I want to send through the parallel port. There would most likely be more than one control switches in the game.
MORE INFO:
Essentially, I only need a trigger sent through the parallel port. This other machine knows what to do with it, it just stores it as a time-point, and there's functionality to code and store more different signals, so that end is taken care of.
The parallel port I'm using is 16-bit, only has four wires, so I could send up to 16 different triggers through it. Ideally, I could redefine the triggers either through RPGMMV interface or in the code itself. By "redefining the triggers" I mean define what control switch or other event command sends information (trigger) through which bit. If the event of picking up a letter commands "Control Switch #0001=ON", then I would define that to be sent through a certain bit.
Another thing that would be really convenient is if there were an option either built-in or adjustable to make one of the channels (bits) send triggers at randomised intervals. I'm talking about intervals under 30s. So whilst my players are playing the game, one of the bits, let's says the first wire for simplicity's sake, sends a trigger to the other machine at a randomised interval ranging from 1 to 30 seconds.
If anyone thinks this is possible to implement, and would be willing to give it a knock, please do not hesitate to contact me for more information. Looking forward to your ideas and replies!