Staredit Network

Staredit Network -> UMS Assistance -> Copy and modify MANY triggers
Report, edit, etc...Posted by FearAlice on 2006-01-09 at 10:37:12
I'm almost done a map, but i went through and set all the triggers for player one to start, figuring i could just copy, change to player two and so on to finish theirs faster... But with over 500 triggers (on unit buying alone) i really don't feel like sitting here and doing it manually.

I tried the trigger duplicator or whatever program but it just errored out on me as soon as i opened it, so i'm not sure even if it would have done it. I searched the board and tuts and still no luck.

Here's what i have to do:

Finish P1 triggers by changing single unit targets within triggers and location targets. More or less same trigger though.

Re-do all P1 triggers to activate for P2, through checking it's box instead, P2 focus instead of P1 on conditions and actions, And change in key unit. ("Main" unit is player dependant)
Report, edit, etc...Posted by StarmanJr. on 2006-01-09 at 11:06:31
I think there's that Trigger Duplicator that was just released. I have yet to use it so I'm not sure if it will work the way you want it to, but I think it's worth a look at if you're looking for a fast way to duplicate triggers for all the other players.
Report, edit, etc...Posted by Red2Blue on 2006-01-09 at 11:09:08
There are simplistic ways for everything. Ill scavenge the tuts for a bit.
Theres also a bunch of things you can do to reduce trigger amount (reusing triggers for players, putting the triggers in a force).

Show the map or something, I can't judge on what you say, theres millions of ways to get to where you currently are.

Is there a need to make so many purchase triggers?

Also, theres a move location trigger that can simplify your life.

Trigger duplicator is a difficult program to pick up. Even with the help of the manual, theres still alot of stuff you need to know to make it work. Struggle with it for a few hours. I spent almost 6 hours on that program alone trying to get it to work and make a single trigger. Mindarchon wasn't very friendly when it came to the first few versions. The most recent version is the most friendly. Mess around with it.
Report, edit, etc...Posted by FearAlice on 2006-01-09 at 12:36:06
Well, As i said, I tried trigger duplicator, and it errored out on me. Not sure why. IT errors when i load my map.

As for simplifying, i highly doubt there is a way to do that. It's already as simple as it'll get.

The reason there are so many triggers, are i make it specific, and target specific units, not just using the [men] or [unit] string. I do this to filter out exploits. If i didn't, the way the map is set up, you'd be able to do things i don't want you to be able to. I do actually know one way i can do this, and it's actually with MS Word, but i don't have that program on my computer. Does anyone know any programs that are free and include a spell check with an editable dictionary?

If you haven't guessed what i'm going for there by now, Load up the text version of my triggers, Copy and paste. Set all "Player 1" or however it's put to be changed automatically to "Player 2". And the same with all the unit changes that need to be made.
Report, edit, etc...Posted by Joshgt2 on 2006-01-09 at 15:16:32
QUOTE
Well, As i said, I tried trigger duplicator, and it errored out on me. Not sure why. IT errors when i load my map.

Did you try the newest version? I know that there is a new version since it was just released a couple of days ago and is on the news page. If that doesn't work then maybe your 1. doing something wrong or 2. can't use trigger duplicator for something like this and have to do everything manually.
Report, edit, etc...Posted by Red2Blue on 2006-01-09 at 15:40:11
Duplicator should have no problems loading your map.
Report, edit, etc...Posted by The_Shattered_moose on 2006-01-09 at 18:13:19
As for you msword request, you can use openoffice
http://www.openoffice.org/
Simply copy the trigger text from SCMDRAFT 2 into it, and use find and replace for each player number.
Report, edit, etc...Posted by Mini Moose 2707 on 2006-01-09 at 20:45:15
You really should work "Current Player" into there somehow. Or devise a better system. I couldn't think of a system I've ever set up that needed 500 triggers to buy anything.
Report, edit, etc...Posted by fritfrat(U) on 2006-01-09 at 22:07:08
My personal favorite way of mass changing triggers would be opening trigger editor in SCM draft, copying it all to notepad, and doing a "replace all" button on something you need to, and then copying back to scm draft. Unfortunately, this is not always applicable.. sad.gif

Other than that, always be sure to make maps that would make tedious work worth it smile.gif
Report, edit, etc...Posted by M_s4 on 2006-01-10 at 16:00:03
You can work around with ScmDraft's syntax method of triggering and WordPad by creating the thing in WordPad by having like -cccc- and -dddd- as the starts and ends of your triggers. When you are done use the "Find and Replace" function to make all -cccc-'s into bring location and -dddd- like a create unit function or something. You could even give number labels to each unit for each triggers if you are smart AND lazy blink.gif , and replace it with respective units.
Report, edit, etc...Posted by BLISSARD[VdD] on 2006-01-12 at 09:33:27
Hey guys I got question, does the triggers duplicator thing change the players for you also?
I have no idea what is it like...

I always use just one program to make my map.
So is the triggers duplicator that you guys were talking about will also
umm... like copy triggers and also change the players to like if the triggers said
player 1 do this do this, then action this and this, for example. Then when I copy it it
I can make it change all automaticly to player 2s for player 2?

If so its really cool, I wanna download and check it out, but I am on a iMac now so I can't download stuff.
Report, edit, etc...Posted by FearAlice on 2006-01-14 at 08:31:15
Okay, i solved the problem i had. I copied it into notepad and used the replace all. I forgot it had that function.

Now i ran into another stupid problem where the triggers are just not doing what i wanted them to do, and i personally don't feel like fixing it. So i've given up on the map.

In case any of you wanted to know, i was making a map called Suits. You had a single unit, and could buy other units, but they would be under the control of the computer, who just sat there. When you took your unit near it for a time, you would take control of that unit in place of the origonal unit you started with, essentially using it as a suit. The origonal unit would be placed in a holding area. The reason it was so many triggers, is because i had every ground unit from protoss and terran, hero and normal, being able to be used. Every unit had it's own holding pen, own purchase spot, and set of triggers to prevent the other players from using the same unit at the same time as well. I took no shortcuts (Except one, which i think is what screwed the map up. The reason "Current player" did not work, is it was a private map, and me and my friend i was playing with had two different base units. So even if i did current player triggers, i would have to do them twice anyway.

By the way, this concept was based on another map i downloaded here, i cannot remember the name, but it only had a few units you could take control of. I just went crazy with it.
Report, edit, etc...Posted by fritfrat(U) on 2006-01-14 at 10:52:43
Aegis RPG (I believe this was the map..) has a function similar to that. If the mech (goliath) died, your ghost still lived, and the mech would respawn after a period of time.. however, once your ghost died, you lost. I didn't like the game, because you had to get out of your mech and into the scv to repair the unit you were using. There were other units like a battlecruiser and stuff, but my partner and I were using the goliaths.

It is a cool idea... just takes a while to pull off. If you explain your problem, however, we may be able to come up with a way to fix it that could possibly be easier than what you had thought of.
Report, edit, etc...Posted by The_Crackhead on 2006-01-15 at 00:53:33
Umm, What does "tedious" mean? It's in thread description.


OMGZ0R ITS STARMANJR.



Edit: Yay! After all these days my mineral count is finally back to 0! smile.gif
Report, edit, etc...Posted by Red2Blue on 2006-02-03 at 10:14:05
Tedious means hasslesome or hard to accomplish because of it's probably a long task to complete.

This is the oldest non-locked topic! I just wanted to post. Sorry.


QUOTE
By the way, this concept was based on another map i downloaded here, i cannot remember the name, but it only had a few units you could take control of. I just went crazy with it.


It's never good to go overboard with something. It really just makes the job harder for you. Really.
Next Page (1)