Staredit Network > Forums > Modding Assistance > Topic: Triggers in mods?
Triggers in mods?
Oct 17 2008, 6:50 pm
By: Biophysicist  

Oct 17 2008, 6:50 pm Biophysicist Post #1



I've seen several people mentioning triggers in mods, and I was wondering how they do that. Then I heard of a program called TrigPlug, but don't know where to get it or how to use it if I did. Can someone help?

(Assuming TrigPlug is, in fact, related to triggers... If not, is there any other way to change the default melee triggers?)

Post has been edited 1 time(s), last time on Oct 17 2008, 6:57 pm by TassadarZeratul.



None.

Oct 17 2008, 8:14 pm O)FaRTy1billion[MM] Post #2

👻 👾 👽 💪

There are .trg files in the MPQ... just export triggers and strip header information.

Things you should be aware of:
- Locations are not loaded... although I've heard ways to get around that.
- Strings cannot be used in triggers (unless you want to display like map name ...)
- CUWP slots cannot be used.

TrigPlug expands triggers... but it isn't done.



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!

Oct 17 2008, 8:47 pm poiuy_qwert Post #3

PyMS and ProTRG developer

To expand a bit more, the triggers that a mod uses are triggers that apply only for certain game modes. For example the Melee game mode uses triggers to give the initial 50 minerals to all players, and to defeat the players when they have no buildings.




Oct 17 2008, 9:47 pm Biophysicist Post #4



Okay. So I how do I export the triggers, and how do I get them into the MPQ? (eg. what program, what filename, and what program do I use?)

@poiuy_qwert: I guessed that, but thanks anyway.



None.

Oct 18 2008, 1:17 am poiuy_qwert Post #5

PyMS and ProTRG developer

You can export triggers with StarEdit (or SC X-tra Editor since it is StarEdit) then hex edit or use a program to strip the header, or you can write triggers in PyTRG.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04: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
[04: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?
[04: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
[06: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.
[03:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
[03: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:
[2026-6-19. : 9:57 am]
Oh_Man -- makes me wonder if SEN knows anything about the topic
[2026-6-19. : 9:57 am]
Oh_Man -- artosis dropped pretty interesting vid: https://youtu.be/EqZHB8Blra4
[2026-6-18. : 5:01 pm]
Ultraviolet -- :wob:
[2026-6-17. : 6:15 am]
RexyRex -- :wob:
Please log in to shout.


Members Online: Moose