Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: anyway to import triggers
anyway to import triggers
Sep 23 2007, 8:53 am
By: Fenix~  

Sep 23 2007, 8:53 am Fenix~ Post #1



i redid the terrian and ect on my map and there are way to many triggers to manually click out and redo them, is there anyway i can like copy/paste or import the triggers to my new map ?



None.

Sep 23 2007, 10:10 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

Use Scmdraft 2 and you can choose Triggers -> Trigger Editor (Not "Classic Map Triggers"!)
There you have the trigger code which you can copy and paste.

But to save the changes you need to click on the "compile" button (square with a checkmark).
This is the rightmost button in the toolbar.

INFO:
This editor has no search and replace functions (still alpha, though whats implemented works).
But you can copy the text into any other editor where you can easily modify a large amount of similar triggers.




Sep 23 2007, 10:14 am Kenoli Post #3



You also need to make sure the map has the same location/switch/etc names so the triggers will compile.



None.

Sep 23 2007, 10:24 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 Kenoli
You also need to make sure the map has the same location/switch/etc names so the triggers will compile.

Right, but unit names DON'T need to be the same since they are always shown with their original name.
As much as I know theres no other things that need to be the same except location and switch names

And when using the display action showing chars like '<' '>' It will convert them to something else. You will need to correct that manually. Don't know if there are other chars that can't be compiled. But I'm quite sure it can't be that many.




Sep 23 2007, 11:36 am Kenoli Post #5



Quote
As much as I know theres no other things that need to be the same except location and switch names
Force titles.



None.

Sep 23 2007, 5:24 pm blacklight28 Post #6



Damn it, I wish I knew this before....



None.

Sep 23 2007, 5:38 pm Esponeo Post #7




Holy shit what is that in the sky? Is it a bird? A plane? No, it is another reason people shouldn't blindly begin map editing with SCMDraft 2 and should start out using simpler Staredit-based editors!

That said, merely copying the trigger code using SCMDraft 2's text editor is usually more convenient.

Post has been edited 1 time(s), last time on Sep 23 2007, 8:51 pm by Esponeo.



None.

Sep 23 2007, 5:45 pm TricksOfDeath Post #8



Okay theres a much simpler way...

1. Save map with desired triggers as diffrent name
2. Change tileset if needed
3. Copy/Paste desired terrain/units/sprites onto map
4. Redo unit names (which should be the last thing you do anyways)
5. Save map as truely desired name...

Problem solved... no mess no fuss



None.

Sep 23 2007, 5:50 pm Demented Shaman Post #9



Quote from TricksOfDeath
Okay theres a much simpler way...

1. Save map with desired triggers as diffrent name
2. Change tileset if needed
3. Copy/Paste desired terrain/units/sprites onto map
4. Redo unit names (which should be the last thing you do anyways)
5. Save map as truely desired name...

Problem solved... no mess no fuss

That's actually more complicated than copy pasting triggers from SCMD2 TrigEdit.



None.

Sep 24 2007, 1:17 am fritfrat Post #10



Seriously, Esponeo, don't be sarcastic if you're not sure what you're doing. It makes you come off like a stupid jerk even if you aren't one. His topic title directly asks how to important triggers into SCMDraft. And I'm sure you know the multitude of negative results of switching between SCMDraft and simpler editors, so I don't know why you'd recommend that...

Also, if you do need to do a replace all or anything to make the triggers fit into your new map, use Wordpad; it does it instantly most of the time when Notepad takes forever. And ya, TricksOfDeath's method is actually much more complicated and cumbersome than just copying triggers, don't use it.

And if I hadn't been removed from my moderation status by IP... *closed in heart.*



None.

Sep 24 2007, 1:18 am Esponeo Post #11



Quote
Seriously, Esponeo, don't be sarcastic if you're not sure what you're doing. It makes you come off like a stupid jerk even if you aren't one. His topic title directly asks how to important triggers into SCMDraft.
That's the topic description, not the title. I never read the topic description. I guess I should. I wasn't trying to be a jerk ;p



None.

Oct 4 2007, 11:12 pm blacklight28 Post #12



Ok, I'm bringing this topic back because I need to do this and I can't find the "Triggers" button, I've seen it before.



None.

Oct 4 2007, 11:47 pm who Post #13



...
go to the plugins tab at the top



None.

Oct 5 2007, 12:16 am blacklight28 Post #14



O... :D

EDIT: Wait a minute, there is no plugins tab.



None.

Oct 5 2007, 4:12 am Roy Post #15

An artist's depiction of an Extended Unit Death

Triggers tab, I think is what he meant... Triggers tab, if you're using SCMD2; Scenario tab for Starforge/Xtra Editor

Triggers > Trigger Editor

Copy/Paste into desired map what you want to copy/paste. The only thing you have to worry about is location names and if you named your switches...




Oct 5 2007, 4:30 am blacklight28 Post #16



OMG!!! The only options under "Triggers" is "Classic Map Triggers" and "Classic Mission Briefing"!!!



None.

Oct 5 2007, 4:51 am Roy Post #17

An artist's depiction of an Extended Unit Death

Hah... Usually it's the opposite, where you only have "Trigger Editor" and "Map Briefing Editor"

Hmm, try running the update script (Advanced > Check for Updates) and if you can get an update, download it and close SCMD2. a .zip file should appear in your SCMD2 directory. Extract it where it is, and it will ask if you want to replace a file. Answer "Yes to all"

Sorry for a tutorial on something obvious...

If you cannot get an update (Most updated version already installed/"Check for Updates" isn't there) you my have to find the editor somewhere and re-download it...




Oct 5 2007, 5:04 am fritfrat Post #18



You probably have some sort of a BETA version where trigedit was temporarily disabled. I'd highly recommend downloading the newest possible... newer versions of SCMDraft generally have more bugs cranked out of them and more features.



None.

Oct 5 2007, 5:15 am blacklight28 Post #19



Lol, I do have beta, "Beta 0.8.0."
Thx for making me check that...

EDIT: Wtf, I dled the newest and it still says "Beta"!!

Post has been edited 1 time(s), last time on Oct 5 2007, 5:20 am by blacklight28.



None.

Oct 5 2007, 8:53 am NudeRaider Post #20

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 blacklight28
Lol, I do have beta, "Beta 0.8.0."
Thx for making me check that...

EDIT: Wtf, I dled the newest and it still says "Beta"!!
This is the newest. The editor still has Beta status because it contains many bugs.

I'll Zip and post my Plugins-Folder. Maybe it helps you.
Extract it into your ScmDraft Folder.

Attachments:
Plugins.zip
Hits: 5 Size: 128.6kb




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are some real members mixed in those latter pages, but the *vast* majority are spam accounts
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are almost 3k pages
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- the real members stop around page 250
[2024-4-14. : 9:20 pm]
O)FaRTy1billion[MM] -- look at the members list
[2024-4-12. : 12:52 pm]
Oh_Man -- da real donwano
da real donwano shouted: This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
it's pretty common
[2024-4-11. : 9:53 pm]
da real donwano -- This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
[2024-4-11. : 4:18 pm]
IlyaSnopchenko -- still better than "Pakistani hookers in Sharjah" that I've seen advertised in another forum
[2024-4-11. : 4:07 pm]
Ultraviolet -- These guys are hella persistent
[2024-4-11. : 3:29 pm]
Vrael -- You know, the outdoors is overrated. Got any indoor gym and fitness equipment?
[2024-4-10. : 8:11 am]
Sylph-Of-Space -- Hello!
Please log in to shout.


Members Online: lil-Inferno