| 06-07-2003, 01:19 PM | #31 |
i got too mutch homework so im dropin out. |
| 06-07-2003, 08:22 PM | #32 |
Guest | Good on you for making the forum more interactive than just a forum kharma :) I learned plenty in doing this. Two bugs in the way the triggers function which I will happily explain after the submissions are finished in case there is a spoiler there. I also had to learn about build orders which I had never actually neede before. The people that think it was too easy may have got something out of it by having a sub-contest amongst themselves such as create the scripts in such a way so that the building would be finished in the fastest possible time (given a set of build coordinates perhaps to make it even). Or they might have developed their map such that no two towers were within 600 of each other. Cheers |
| 06-07-2003, 10:58 PM | #33 |
*blinks* oh my god your suggestion of making the buildings 600 apart was exactally how i had it worded when i gave the idea to Kharma... your scaring me :) |
| 06-08-2003, 12:12 AM | #34 | |
Quote:
In testing, without changing the speed of day, my peons finished before nightfall. HINT: (all i changed was build time to 1) |
| 06-08-2003, 12:30 AM | #35 | |
Guest | Quote:
muahaha Well I thought it was a logical extension of the idea. Quite funny that it was the original idea :) Afterall, if they are placing towers randomly, it's possible that they will box themselves in (highly improbable of course). Making them 600 apart is a good distance so that they don't overlap too much :) Next mission could be to give the peons a set of plans which the chief architect designed so that every tower was covered by at least two other towers :) Then we have to create our triggers to get them to build to that pattern. Bonus points for NOT using any static points in the triggers. But then that's slightly unfair for those that don't like maths too much... (Who remembers LOGO? lol) Cheers |
| 06-08-2003, 04:26 AM | #36 |
Guest | HEHE this thing was ez it took me under an hour to complete it all. |
| 06-08-2003, 01:59 PM | #37 |
Guest | am i mistaken?-- didnt the towers have to be a certain distance apart? wan't logo that lego programming thing? i havent thought/heard about that in ages. |
| 06-08-2003, 03:19 PM | #38 | |
Quote:
|
| 06-08-2003, 05:28 PM | #39 | |
Guest | Quote:
MicrosoftXP said that he changed the build time in "testing" though, which is fine according to the rules you just cant have the build time as 1 in the submission. the real trick for me was the spacing issue, and since i want to finish my own map and i know nothing about making regions via triggers (which was the only way i could think of making sure that a tower was never built next to another tower) i decided i would pass THIS TIME. im interested in seing how it was done because i dont understand entirely how to use triggers to create regions. will the solution be posted tomorrow?-- i am gone (no computer access) for about a month in two days, and i'd like to see how it's done. EDIT-- oh, i guess there is one other way (maybe), but i wont say until the contest is over. |
| 06-08-2003, 09:42 PM | #40 |
Guest | [quote]Originally posted by mr.jumbo [b]MicrosoftXP said that he changed the build time in "testing" though, which is fine according to the rules you just cant have the build time as 1 in the submission. LOL I thought I read the instructions a dozen times to make sure I didn't miss anything yet I DID miss something!!! That is soooo funny Wd on spotting it. I thought of doing that as an added extra but I didn't bother as I wanted to keep it "simple> in the end my submission is invalid as it is possible for two towers to be next to each other since they randomly place them. Cheers |
| 06-09-2003, 09:56 AM | #41 |
Guest | Since this is the due date i'll tell you what i did. I told it to pick a random point within the camera bounds. (slightly smaller than the full map) I called up all units owned by player one of type (type being the watch tower) and tell it to check the distance between (picked unit) and the point i just made. If the distance was 350 or greater than do nothing. Else repeat the trigger. If you load up my map you'll see what i mean i also put in code to tell you how many tries it took for it to find a random spot not touching another tower. I was going to put a leader board in that includes how many towers left, how much money left, and the exact time of day. The day problem made it just longer not harder. I just stuck a true false statement that was triggered by 6 and 18 oclock. This was a very easy game but i still enjoyed it. It did take some though for me to come up with this idea. (1 hour) so it wasn't completly ez i guess. I just hope we continue to do this here and i will continue to try and figure out how to solve these puzzles. |
| 06-09-2003, 01:51 PM | #42 |
Guest | i hope instead of do nothing you had it repick-- otherwise the peons wouldn't alternate... correct? |
| 06-09-2003, 03:06 PM | #43 | |
Quote:
Well a tower is 256*256 that is an diagonal of 362.038 that means if there are towers diagoanly from eachother the distance between them are 362 . If the two towers are at a distanve of one tower to eachother then the space between them are 256. So in order to have exactly one tower room between all towers u need an quadratic shape i think its called of (256*3)^2 center on top of the point two test. If there are any towers within in this area select an other point. |
| 06-09-2003, 06:19 PM | #44 | |
Guest | Quote:
Well when I attempted this the second time round, after re-reading the rules, I assumed kharma did not mean this literally as it would be impossible to produce more than 4 towers. i.e. change the wording to: No two towers can be built directly next to each other. That is, you must have an empty space at least the size of 1 tower in between any two towers on the map. With this in mind, I simply placed mine no closer than 500 to each other with a failsafe retry counter to ensure that if the map was overly crowded and there was no space left, they would abort their building. Afterall these guys are so stupid that they honestly believe it's more important not to violate the spacing rule and pocket the money thats left over rather than violate the spacing rule and possilby block their force off :) I never waited to see my guys finish the job so for all I know, there is only enough room in the map to complete the task paying strict attention to the spacing, leaving the smallest possible space between the towers. My liberal 500 spacing might be a bad choice but hey, I already failed once with my first try :P Good fun and I learned that using Test Map from the World Editor when you have a recursive Trigger doesn't work properly! Or maybe I just need a reboot... |
| 06-09-2003, 07:59 PM | #45 |
about spacing: you guys know there is an Arithmatic function right? You can use it to multiply integers or reals. . . . . . |
