RE: Grid system
Jun 2 2020, 6:49 am
By: youarenotworthy  

Jun 2 2020, 6:49 am youarenotworthy Post #1



Hi guys, I've spent about 6 hours today trying to get this to work, but I can't, so I'm asking for help.

Failed to get ImageSize ( http://ibb.co/Wk3ZtMc )

The top trigger makes the templar move from the left burrowed unit over to the right burrowed unit. It works perfectly with no issues.

When I try to incorporate the inverse triggers, which would make it go from right to left, two things happen:

1. The second part doesn't work. The triggers don't work in the inverse. I've tried deleting the first set of triggers to see if the second set work standalone, they do not. I can't figure it out.
2. With the second set of triggers active, the first trigger works the first two times, but on the second time the templar freezes up and I can't move it anymore.

Map attached if you want to take a closer look.

Please help!

Post has been edited 1 time(s), last time on Jun 2 2020, 10:13 pm by youarenotworthy. Reason: New problem... see post below.



None.

Jun 2 2020, 6:12 pm Ultraviolet Post #2

We do a little trolling

I briefly looked at you triggers and immediately noticed that you are only using observers for your mobile grid, but from my understanding observers alone will not create a functional grid. Have you read the wiki article on mobile grids found here? Back when I was messing with mobile grids, closely reading this article helped me with getting functional mobile grids going. I'd also recommend reading the part about the offset glitch as this can often cause problems.

I also notice that your grid locations are called 4x4 grid and 8x8 grid. While not directly related to your question, I thought it worth mentioning that my understanding of mobile grids is that they only work in odd number sizes (3x3 and 5x5) due to the way units are created with one unit at the center.

Hope these things help, let us know if not.



My Projects:

Impossible Ultraviolet | Impossible UV 2 | Impossible UV 3
Mercenaries 2020 | Mercenaries III
Squad Defense

Legacy Projects (No guarantee of functionality in modern SC):

Pixel Adventure 2 | Space Snipers | Control the Ball

______________________________________________

Join me in Torn City

Jun 2 2020, 8:24 pm youarenotworthy Post #3



I figured it out. I was under the false impression that the game removes things in the same order that it creates them, cause this worked for the right movement, but it worked by accident. So instead, I created 5 observers for player 3, then 1 observer for player 2, then removed the player 3 observers and VOILA!:)



None.

Jun 2 2020, 8:25 pm youarenotworthy Post #4



The system works perfectly now.



None.

Jun 2 2020, 8:36 pm Roy Post #5

An artist's depiction of an Extended Unit Death

If you're using ScmDraft, the latest version has an action called "EUD: Location Position". To move the 'Movement' location one tile to the right, you would do:

EUD: Modify Movement's left edge: add 32 pixels.
EUD: Modify Movement's right edge: add 32 pixels.


And to move it one tile to the left:
EUD: Modify Movement's left edge: subtract 32 pixels.
EUD: Modify Movement's right edge: subtract 32 pixels.


You may find this less cumbersome and more flexible than mobile grids.




Jun 2 2020, 9:05 pm youarenotworthy Post #6



Quote from Roy
If you're using ScmDraft, the latest version has an action called "EUD: Location Position". To move the 'Movement' location one tile to the right, you would do:

EUD: Modify Movement's left edge: add 32 pixels.
EUD: Modify Movement's right edge: add 32 pixels.


And to move it one tile to the left:
EUD: Modify Movement's left edge: subtract 32 pixels.
EUD: Modify Movement's right edge: subtract 32 pixels.


You may find this less cumbersome and more flexible than mobile grids.

Wow. This could have saved me a lot of time XD But thanks a lot, good to know. I might just keep it how it is for now, but definitely have to keep this in mind in case the grid system starts causing me problems later. That's a cool addition.



None.

Jun 2 2020, 9:12 pm Ultraviolet Post #7

We do a little trolling

Quote from Roy
If you're using ScmDraft, the latest version has an action called "EUD: Location Position". To move the 'Movement' location one tile to the right, you would do:

EUD: Modify Movement's left edge: add 32 pixels.
EUD: Modify Movement's right edge: add 32 pixels.


And to move it one tile to the left:
EUD: Modify Movement's left edge: subtract 32 pixels.
EUD: Modify Movement's right edge: subtract 32 pixels.


You may find this less cumbersome and more flexible than mobile grids.

It feels so obvious seeing you state it as I've used this action for other goals, but never thought about using it for this purpose! This seems all around far superior to mobile grids since you can get pixel perfect results and not have to worry about whether there are air units in the way of your grids.



My Projects:

Impossible Ultraviolet | Impossible UV 2 | Impossible UV 3
Mercenaries 2020 | Mercenaries III
Squad Defense

Legacy Projects (No guarantee of functionality in modern SC):

Pixel Adventure 2 | Space Snipers | Control the Ball

______________________________________________

Join me in Torn City

Jun 2 2020, 10:15 pm youarenotworthy Post #8



FIXED

Post has been edited 2 time(s), last time on Jun 3 2020, 4:30 am by youarenotworthy.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:00 pm]
Symmetry -- poo poo papa
[02:46 pm]
lil-Inferno -- pee pee child
[2026-6-27. : 6:10 pm]
Ultraviolet -- sweet summer child
[2026-6-26. : 10:31 am]
NudeRaider -- blessed innocent soul knows nothing of the strife we had before EUDs were discovered :teehee:
[2026-6-23. : 3:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[2026-6-21. : 4:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[2026-6-21. : 4:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
Please log in to shout.


Members Online: RIVE, IlyaSnopchenko