Jump to content

Alternate hacking help


senterpat

Recommended Posts

So I'm creating an alternate hacking method for the Dead Money vending machines, using MessageBoxEx to generate random patterns. Right now this is being handled by altering the script for the DMVM, presenting a menu with hack or purchase. When hack is selected it gives a leveled list item that contains one of a few tokens with random pattern scripts. All that's working fine, but now I'm faced with 2 problems I can't quite figure out. Or am too tired. Either way, I'd appreciate any help with the following:

 

1: How do I track which machines have been hacked? I want to leave it operable, with the just the hacking attempt left out. It'd be easy enough if it was just one item, but they are all over the place, and can't figure how to track them individually without giving each a separate script. Maybe just a placeatme altVendingMachine with the fadein disabled?

 

2: If I'm using the token method, how can I track which stage the machine is at, as you have to pass 3 checks.

 

Thanks for the help!

Link to comment
Share on other sites

1) Set a variable, let's call it bIsHacked, that when set to a non-default value designates the machine as having been hacked. The machines do not share state, setting the variable on one will not affect the others. Now you can use a variable check to show a different message depending on if the machine has been hacked.

 

2) Same solution, introduce a variable that contains the stage.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...