Doors
Oct 7 2007, 5:39 am
By: LemonFang  

Oct 7 2007, 5:39 am LemonFang Post #1



So, I need help with some doors, I have the first part done where you enter down but it's kinda hard to get out in the same place...

Anyways I have Several locations going to the same location (Enter is ok!) but when you exit your supposed to return to the same location you entered from. but when I leave the building it goes to another location...

(To better explain this, I will use some sort of weird lingo, BEAR WITH ME!)

Ok let's say you enter from Location "A" and you go to Location "B" and when you leave you go back to location "B" and your supposed to transport back to location "A", and then let's say you go to Location "C" You're supposed to travel to Location "B" and when you leave your supposed to travel back to "C" but my problem is that I transport back to location "A" in my tests, please help.




None.

Oct 7 2007, 8:13 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

I don't exactly know what you mean. But a simple 2-way teleporter works as follows:
Make 2 pairs of locations named "Enter" & "Inside" and "Exit" & "Outside"

Then place them as followed:

Outside Enter. Wall Exit. . Inside
____ . . ____. . || ____ . ,____
|. . .| . |. . .|. .|| |. . | . |. . .|
|___| . |___|. .|| |___| . |___|
. . . . . . . . . . .||

(Sorry for that crappy ASCII pic, but SEN doesn't allow multiple spaces, so I had to use dots. Try to ignore them.)

And make the following Triggers:

Teleported Players
Conditions:

Current Player brings at least 1 unit to Enter
Actions:
Move All [men] for Current Player at Enter to Inside
Preserve Trigger


Teleported Players
Conditions:

Current Player brings at least 1 unit to Exit
Actions:
Move All [men] for Current Player at Exit to Outside
Preserve Trigger

If you try to use less locations you would end up teleporting in (to exit) and teleport out instantly (or the next trigger loop).




Oct 7 2007, 8:14 am Roy Post #3

An artist's depiction of an Extended Unit Death

Based off your fantastic lingo:

You need to use a switch or something to detect that you came from location C.

I'll use death counters as an example:

Trigger
Players

  • Current Player
  • Conditions

  • Bring 1 men to location A
  • Actions

  • Modify deaths for Current Player: Set to 1 for Uraj Crystal
  • (Enter through location A actions)
  • Preserve Trigger


  • Trigger
    Players

  • Current Player
  • Conditions

  • Bring 1 men to location B
  • Current player has suffered 1 deaths of Uraj Crystal
  • Actions

  • (Leave through location A actions)
  • Modify deaths for Current Player: Set to 0 for Uraj Crystal
  • Preserve Trigger


  • --------------------------------------------------------------------------------------------------------------------------------------------------------

    Trigger
    Players

  • Current Player
  • Conditions

  • Bring 1 men to location C
  • Actions

  • Modify deaths for Current Player: Set to 2 for Uraj Crystal
  • (Enter through location C actions)
  • Preserve Trigger


  • Trigger
    Players

  • Current Player
  • Conditions

  • Bring 1 men to location B
  • Current player has suffered 2 deaths of Uraj Crystal
  • Actions

  • (Leave through location C triggers)
  • Modify deaths for Current Player: Set to 0 for Uraj Crystal
  • Preserve Trigger


  • I used Uraj Crystal as an example; use a unit that you know won't be killed in your map :P

    Post has been edited 5 time(s), last time on Oct 7 2007, 9:07 am by Roy.




    Oct 7 2007, 8:30 am NudeRaider Post #4

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    Quote from Roy
    Based off your fantastic lingo:

    You need to use a switch or something to detect that you came from location C.

    I'll use death counters as an example:

    [...]

    I used Uraj Crystal as an example; use a unit that you know won't be killed in your map :P
    Oh sry, now I know what you were trying to do. Then you need 6 locations.
    Ofc Roy's solution would work.




    Oct 7 2007, 8:44 am Ahli Post #5

    I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

    I make this in another way. You just need to set a switch, if you used the door. (I will use death counts as well. you can use normal switches, too.)

    Teleport from A tp B:

    Trigger
    Players

  • Current Player
  • Conditions

  • Bring at least 1 men to location A
  • Current player has suffered exactly 0 deaths of Uraj Crystal
  • Actions

  • Modify deaths for Current Player: Set to 1 for Uraj Crystal
  • Move the units from location A to B
  • Preserve Trigger


  • Teleport from B to A:

    Trigger
    Players

  • Current Player
  • Conditions

  • Bring at least 1 men to location B
  • Current player has suffered exactly 0 deaths of Uraj Crystal
  • Actions

  • Modify deaths for Current Player: Set to 1 for Uraj Crystal
  • Move the units from location B to A
  • Preserve Trigger


  • Reset the Teleport Switch:

    Trigger
    Players

  • Current Player
  • Conditions

  • Bring exactly 0 men to location A
  • Bring exactly 0 men to location B
  • Current player has suffered exactly 1 deaths of Uraj Crystal
  • Actions

  • Modify deaths for Current Player: Set to 0 for Uraj Crystal
  • Preserve Trigger


  • You can disable the door with other values of Uraj Crystal death count.




    Oct 7 2007, 9:05 am Roy Post #6

    An artist's depiction of an Extended Unit Death

    That wouldn't work, because he wants to reuse location b for multiple doors, and in your example, location b will always give 1 death and send to location a...




    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [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
    [2026-6-20. : 6:15 pm]
    Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
    [2026-6-20. : 3:47 pm]
    NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
    [2026-6-20. : 3:43 pm]
    NudeRaider -- Contained nothing new for me. Didn't know all building's behavior, but very much all unit's. Also Terran balance whine - also nothing new :lol:
    Please log in to shout.


    Members Online: Symmetry, Prankenstein, O)FaRTy1billion[MM]