Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Having trouble with mobile grids
Having trouble with mobile grids
May 17 2009, 10:30 pm
By: scwizard  

May 17 2009, 10:30 pm scwizard Post #1



I attempted a super super simple use of mobile grids. To make an explosion happen directly north south east and west of a zergling.

At first it seemed to work fine, but then as you move the zergling around, the shape gets distorted as you can see below:



What's going on here? The map consists of five triggers, so it should be really easy to open it up and see what I'm doing wrong.

It's kind of hard to describe the bug, but if you open up the map, you'll see how it usually explodes, and how sometimes it'll explode in a funny shape, and then start exploding properly again.

Attachments:
attempt.scm
Hits: 3 Size: 39kb



None.

May 17 2009, 10:50 pm ForTheSwarm Post #2



Because you used "kill" to kill the wraith, Starcraft will not create an air unit in the wraith's location until the next trigger cycle.
Basically, the wraith explosions are messing up the grid.

EDIT: My solution: create and kill all of the wraiths in one trigger.

Post has been edited 1 time(s), last time on May 17 2009, 11:29 pm by ForTheSwarm.



None.

May 17 2009, 10:52 pm scwizard Post #3



Quote from ForTheSwarm
Because you used "kill" to kill the wraith, Starcraft will not create an air unit in the wraith's location until the next trigger cycle.
Basically, the wraith explosions are messing up the grid.
Ahh, that's very interesting. Thanks :)

Do you know how many ticks (hyper trigger cycles, 1/12th of a second) it takes for a wraith that's killed to disapear completely, and no longer mess up the grid? From these results we know that it's at least 48.

Does this number vary from air unit to air unit?



None.

May 17 2009, 11:46 pm JaFF Post #4



Quote from scwizard
Do you know how many ticks (hyper trigger cycles, 1/12th of a second) it takes for a wraith that's killed to disapear completely, and no longer mess up the grid? From these results we know that it's at least 48.
Units are completely killed after one trigger loop.



None.

May 18 2009, 1:27 am scwizard Post #5



Quote from ForTheSwarm
EDIT: My solution: create and kill all of the wraiths in one trigger.
Tried it. It doesn't work. What now?

EDIT: Well, what would probably work. Is first centering four locations, then creating and killing a wraith at each of the locations.

But I would really like to know why the map doesn't currently work, and also what exactly is triggering this. It seems to start acting weird when I move diagonal or something. What could be causing that?

Attachments:
attempt.scm
Hits: 4 Size: 39.19kb

Post has been edited 1 time(s), last time on May 18 2009, 1:35 am by scwizard.



None.

May 18 2009, 2:04 am Pyro682 Post #6



Here.
I reformatted your triggers so they would work.




Things I did:
-Changed hypers from 3 to 5. (It makes me feel better.)
-Moved the comment to the second last position (The one right before "Preserve Trigger")
-Erased Your timer Triggers, and Erased your Grid triggers.
-Made another DC Timer set of triggers
-Made another Grid. (I avoided the use of GIving, and just created the devourers.)
-Your Fatal Error:::: You had the location size too big. It was a 2x2 Terrain Square location size, so I reduced it down to 1x1 Terrain squares. The corners were overlapping on the devourers.

And For god sakes lad, make comments for your Death Counters. Even though the Unit itself has the name Timer, It's better if you give the entire trigger a comment as well, so I don't have to read through it all.




EDIT:::::: The whole "Death of a wraith" thing is complete garbage. The map titled "Fast Attempt" has no timer, and it works fine to prove it. Guys, if you do not know the answer to a question, do not guess.
The other edits are for colors. :)

Attachments:
Fast Attempt.scm
Hits: 3 Size: 39.77kb
attempt.scm
Hits: 1 Size: 39.89kb

Post has been edited 4 time(s), last time on May 18 2009, 2:14 am by Pyro682.



None.

May 18 2009, 2:20 am scwizard Post #7



Quote from Pyro682
Things I did:
-Changed hypers from 3 to 5. (It makes me feel better.)
-Moved the comment to the second last position (The one right before "Preserve Trigger")
Handwriting lol :P
Quote
-Made another Grid. (I avoided the use of GIving, and just created the devourers.)
Thanks for the tips on good practice. I've heard about giving being one of the laggiest actions.

Quote
-Your Fatal Error:::: You had the location size too big. It was a 2x2 Terrain Square location size, so I reduced it down to 1x1 Terrain squares. The corners were overlapping on the devourers.
Oh, so that was the problem. Thank you very much.

Quote
And For god sakes lad, make comments for your Death Counters. Even though the Unit itself has the name Timer, It's better if you give the entire trigger a comment as well, so I don't have to read through it all.
More handwriting lol.

Quote
EDIT: The whole "Death of a wraith" thing is complete garbage. The map titled "Fast Attempt" has no timer, and it works fine to prove it. Guys, if you do not know the answer to a question, do not guess.
The other edits are for colors. :)
Fucking signed. Seriously stop wasting my time people.

Anyways I'm not going to try changing my handwriting unless I release a concept map or something. And then I'll probably do some sort of handwriting poll to find out what people prefer.



None.

May 18 2009, 2:27 am Pyro682 Post #8



Handwriting? You mean you're typing these suckers out? If not, what do you mean by "Handwriting"??



None.

May 18 2009, 2:31 am scwizard Post #9



Oh, handwriting refers to the difference in programming styles. How you format your comments. What you name your variables etc.

There's no right or wrong style of handwriting, but it's possible for certain handwriting styles to be considered sloppier or neater than other handwriting styles.

So what I was saying, is that this applies to starcraft maps to. For instance whether your put your comment at the top of your actions, or in the second to last position, or in the last position, doesn't effect the workings of the map, it's a handwriting difference. Just like naming of variables would be a handwriting difference in C.



None.

May 18 2009, 3:06 am samsizzle Post #10



Lol, i put my comments on the very bottom.



None.

May 18 2009, 3:39 am Pyro682 Post #11



No. My handwriting is always right.
lol



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: Roy, IlyaSnopchenko