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.
[2026-9-14. : 3:21 pm]
Oh_Man -- Racoon City Remastered*
[2026-9-14. : 3:21 pm]
Oh_Man -- Join the front line SEN, DEFEND MANKIND. 2030 is just a number! https://scmscx.com/map/2fHHj96p
[2026-9-14. : 3:21 pm]
Oh_Man -- from the maker of the legendary Architect RPG, the peerless Racoon City, the capitvating One Piercing Note, comes another creation minutes in the making
[2026-9-14. : 11:15 am]
Oh_Man -- heh heh thanks for the minerals suckers, now it's time to quit while i'm ahead
[2026-9-14. : 1:01 am]
Oh_Man -- Heroes of the Storm literally died and was revived before we got next SC game. Wb Loveless, u cooking any UMS for us?
[2026-9-13. : 11:35 pm]
LoveLess -- getting diablo 5 and wow 4 before starcraft ghost
[2026-9-13. : 9:22 pm]
RIVE -- To be fair, I used to post custom emotes back when I still used the forums.
[2026-9-13. : 12:54 pm]
l)ark_ssj9kevin -- RIVE
RIVE shouted: 💯
holy shit did you just use an emoji on SEN that feels illegal 🍆
[2026-9-13. : 10:24 am]
Moose -- Heinermann
Heinermann shouted: new era of SC and it's just some shooter they're gonna cancel before 2030
StarCraft 2: Ghost 2, The Reghostening
[2026-9-13. : 3:38 am]
Symmetry -- :wob:
Please log in to shout.


Members Online: frbonusesfinder, l)ark_ssj9kevin