The Wiki for Tale 4 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Difference between revisions of "User:Cegaiel/Macros/Crematory"
Line 18: | Line 18: | ||
− | <b>Minor Note:</b> Should you attempt to grab | + | <b>Minor Note:</b> Should you attempt to grab this script and attempt to alter it for your own building, I recommend grabbing the one from the "SACFAR" link. The reason is that EL's has a long label that will cause it to miss the buttons on yours (if you don't have a long multi-line label on the building). I also added more comments on the SACFAR version to make it easier for you to edit. |
---- | ---- |
Revision as of 08:10, 23 January 2010
Preconfigured SACFAR & EL Crematory 1024x768 (Actools)
CREDIT: Original script is Anukhu's Crematory Macro. Instructions on his script says to use 1200x800. However, this resolution does not exist to me. I tried at 1200x768 and 1200x880 and the macro was not clicking where it should.
So, I finally figured out what needed to be edited to make it work at my resolution (1024x768). Each crematory has different slider bar/button combos. So I also pre-configured two different crematories and it will work, as is, at the below crematories.
Get Code:
Critical Note: The coordinates of: "Vertical position of the middle of slider bar" and "Vertical position of button center" is recorded (in the script) with the "Take..." option NOT present. Should you ever pinup the crematory menu with the "Take..." option present, then this macro will FAIL (because it will miss clicking the buttons). Clicking the crematory with items already loaded will cause the buttons to not be in the correct position. Make sure the crematory is completely empty when you pin it up! When the "Take..." option appears later, it will have a scroll bar, and not cause negative effects. The macro will still function correctly on future runs, as long as you do not unpin the menu.
Minor Note: Should you attempt to grab this script and attempt to alter it for your own building, I recommend grabbing the one from the "SACFAR" link. The reason is that EL's has a long label that will cause it to miss the buttons on yours (if you don't have a long multi-line label on the building). I also added more comments on the SACFAR version to make it easier for you to edit.
Instructions:
Copy/paste the actools script for the correct crematory, into notepad or something. Save As something.mac
Pin up Crematory far top left. Have game running and bring AcTools to front as shown in image. Load the crematory with all the ingredients, first. Click the Start button (in Actools) to begin. The Pinup window must not be blocked by the Actools program. As soon as you click Start, it will move over and click "Fire the Crematory" button and begin. Make sure you can see that option before clicking Start.