Staredit Network

Staredit Network -> Concepts -> Instant Multiplication
Report, edit, etc...Posted by Subrosian on 2005-09-26 at 00:50:58
The great thing about this is that it takes only 1 trigger cycle for the entire multiplication process, unlike the one in the Binary Calculator/Arithmatic tutorial, which can take a very long time if both numbers are in the thousands range.
[attachmentid=14233]
It is also possible to make the number limit higher, but this is what I want to show right now.

Edit: Yeah, I've been obsessed with this math stuff...
Edit: Read down for the updated version!
Report, edit, etc...Posted by Sniper on 2005-09-26 at 00:58:02
GJ with the instant calculations thing. I can see you used the binary system you keep talking about =/. However...this took a LOT of triggers. Doing multplication tux's way may not be instant, but it takes a lot less triggers.
Report, edit, etc...Posted by Subrosian on 2005-09-28 at 20:18:41
Before anyone says, I know that the gas return triggers are redundant. Sure, the process time would not be that much longer with just one gas return process, but it actually takes as long to add a death count condition on each trigger as making the gas return triggers (or maybe even longer, if I don't add comments to them).

And if you don't understand this post, don't worry about it.

ADDITION:
[attachmentid=14263]
Multiplication limit extended to 65535!

I actually did not write all of the triggers this time (man that would be a lot of work), but made a little script using Javascript to make the triggers with a loop function and input them into the map using SCM Draft's Trigedit.

And if you want to put the multiplication into your map, feel free to copy and paste the multiplication triggers using Trigedit or just Save and Load the triggers into your own map. They are easily portable for use; just set the ore and gas values and set the switch for the multiplication.
Report, edit, etc...Posted by PCFredZ on 2005-09-28 at 21:23:15
Check out MindArchon's Trigger Duplicator. It would have made this a LOT easier.
Report, edit, etc...Posted by Subrosian on 2005-10-01 at 13:52:21
QUOTE
I actually did not write all of the triggers this time (man that would be a lot of work), but made a little script using Javascript to make the triggers with a loop function and input them into the map using SCM Draft's Trigedit.


Did you read that part of my post? I already made this easy by making my own script for the triggers, and downloading a different program and learning how to use it would take as long as the length of making the script.

Besides, the trigger duplicator would not work with this kind of triggering, since it cannot have doubling intervals, which my map required.

Addition: This is the script I made, just to let you see what I did, exactly:
[attachmentid=14269]
You would see that I didn't put much work at all, after looking at the source code.
Next Page (1)