Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Crashed Battlecruiser
Crashed Battlecruiser
Dec 14 2014, 12:34 am
By: ranmakun  

Dec 14 2014, 12:34 am ranmakun Post #1



Hi Masters!!
I want to after repair the crashed battlecruise, freshly run the trigers i want to do. I leave understanding. Sorry for my bad english.. :stfu: :unsure:

Steps:

1.- The scv repair to 100% the crashed battlecruise. This step is first. Without this step the other trigers should not work.
2.- Then, i create with trigers other battlecuiser (hiperion) above the crashed battlecuiser (this is remove). I add other efects.

Help me please. I use SCMDRAFT last version. :rolleyes:



None.

Dec 14 2014, 12:53 am O)FaRTy1billion[MM] Post #2

👻 👾 👽 💪

If you don't need at least one of the resources for anything else, you could figure out exactly how many minerals or gas it costs to repair the battlecruiser and then have it so the player only gets that much. Then you would just detect when whichever is at 0.

Otherwise the only other method I can think of is with EUDs to detect HP, which would be a bit more complicated to explain since it is far more technical but are probably the best solution.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Dec 14 2014, 12:54 am lil-Inferno Post #3

Just here for the pie

I take it you want to make a battlecruiser when the crashed one is repaired to 100% health. One solution would be checking what the player's minerals or gas will be when the crashed battlecruiser is at 100% health after repairing, and then implementing a trigger for when the player reaches that amount so you'll know it's at 100% health. This is situational though and wouldn't work if the player is actively getting minerals or gas, and also wouldn't work if the crashed battlecruiser gets damaged.

Otherwise, someone who knows more about EUDs than I do will suggest them and explain further.

Edit: Ninja'd.




Dec 14 2014, 1:06 am O)FaRTy1billion[MM] Post #4

👻 👾 👽 💪

Without explaining anything, here is how to do it with EUDs:

Place your Norad II wherever and go to it's properties.
With it selected, hit this button:


Make sure it's ID is 0.


Go to properties and get it's health:


Multiply it's health by 256 (700*256 = 179200).

Here is the EUD trigger:
Detect Unit #0 HP
Players

  • Player whatever
  • Conditions

  • Memory(19027, Exactly, 179200);
  • Actions

  • Remove Unit At Location("Current Player", "Norad II (Crashed Battlecruiser)", 1, "Crashed Battlecruiser");
  • Create Unit("Current Player", "Hyperion (Battlecruiser)", 1, "Crashed Battlecruiser");
  • (Other effects ...)


  • If more than one exists then the trigger will have to be copied and changed for each unique crashed battlecruiser.



    TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
    EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
    EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
    MapSketch - New image->map generator!
    EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
    SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
    \:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

    Dec 15 2014, 3:46 pm ranmakun Post #5



    Thanks for the answers!!! but the triger dont work ... :( I did exactly what you suggest me. Help me please :stfu:



    None.

    Dec 15 2014, 5:36 pm ranmakun Post #6



    Hi!! I can use EUDGen 2.0.3 for this??? explain to me please.. :unsure:



    None.

    Dec 15 2014, 5:36 pm Sacrieur Post #7

    Still Napping

    A EUD is an Extended Unit Death, in basic terms, it's a way of reading game data that isn't available through normal triggers.

    Roy created a program that creates the EUD for you: EUDGen 2


    The Norad II Crashed Battlecruiser has a default value of 700 HP. Using this knowledge, you can set it up easily.




    All that's left from here is to copy and paste this into your SCMDraft text triggers. Make sure to hit the compile button before you close trigedit.




    It will show up in your classic editor. Feel free to edit this trigger's actions to whatever you need.




    And don't forget, the index ID we used has to match the one we gave EUDGen (in my examples I used index 0), or else Starcraft will be reading the wrong unit's HP. It's found in the "index" column of the unit properties window.





    None.

    Dec 15 2014, 6:11 pm ranmakun Post #8



    OH MY GOD THANK YOUUUU!!!!!!!!!!!!!!! THANK YOU ALL!!!!!!!!!! IT WORKS!!!!!!!!!!!!!THANK YOU SO MUCH!!!!!!!!!!! :teehee: :teehee: :teehee:



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [09:38 pm]
    NudeRaider -- Ultraviolet
    Ultraviolet shouted: NudeRaider sing it brother
    trust me, you don't wanna hear that. I defer that to the pros.
    [2024-4-27. : 7:56 pm]
    Ultraviolet -- NudeRaider
    NudeRaider shouted: "War nie wirklich weg" 🎵
    sing it brother
    [2024-4-27. : 6:24 pm]
    NudeRaider -- "War nie wirklich weg" 🎵
    [2024-4-27. : 3:33 pm]
    O)FaRTy1billion[MM] -- o sen is back
    [2024-4-27. : 1:53 am]
    Ultraviolet -- :lol:
    [2024-4-26. : 6: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.
    [2024-4-26. : 6: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
    [2024-4-26. : 6: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?
    [2024-4-26. : 6:49 pm]
    Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
    [2024-4-26. : 6:48 pm]
    Vrael -- On this Topic, I could definitely use some Introductions.
    Please log in to shout.


    Members Online: NudeRaider