Well, now that i have at least SOME spare time, i've decided to help the community out and answer some questions. I don't know if making a thread like this is allowed - but if it isn't contact me (assuming you're a mod :P), and i'll delete it.
I also made this thread because every time i click on a question it's answered. Anyhow without further ado, post your questions!
I don't know if anyone knows this, but does the option to import flash files for dialog actually work? I've read multiple threads on this forum and all of them finish ¯\(°_o)/¯. All I ever got was an error. Can't seem to find anything out anywhere. Help would be appreciated.
@Maknyuzz:
Data editor > Upgrades > New Upgrade, then switch to tab view, and right click on the first field. Click add effect, then from the dropdown menu below te first field pick "unit". From there pick whatever unit you need and edit whatever you want. It's a bit tricky to finalize the upgrade, however.
After that, just apply the upgrade via triggers.
If you have any more questions, feel free to ask :D.
Here's the pic: http://img217.imageshack.us/i/image43x.png/
Ah, my bad.
I do not think that is possible; I've looked in the trigger, actor, upgrade, and behavior editors and haven't found anything.
Although, why do you need it? I'm sure there's a workaround to what you're doing.
Can a Beam visual be displayed with triggers? How?
What's the deal with Sountracks? Those triggers are confusing, and the hint text is contradictory. Also is there a timelimit on Pause Soundtrack? Because on my map it seems to unpause on its own, sometimes at really jarring moments while I'm playing some other one-shot music with a regular Play Sound.
In a situation when changing equipment will change attributes.Right now I am using morph ability everytime the character is equipped with new armor. Pain in the ass I basically make every combination, then depending on armor it will morph. Thinking if there's an easy way out
@EphemeralNight:
Can a Beam visual be displayed with triggers?
Trying to make one via triggers, i'll post an update when i'm done.
What's the deal with Sountracks? Those triggers are confusing, and the hint text is contradictory.
Which one in particular? Couldn't find a bad one.
Also is there a timelimit on Pause Soundtrack?
Nope, it is "stopped" indefinitely, until you resume it. The problem you mentioned may be caused by one of your triggers, since i created a soundtrack, paused it, and played a sound, everything seemed in order.
@Maknyuzz:
Yes, you would have to manually code it via data editor or the trigger editor. The thing i was asking, however, was why do you need the flags changed?
I need the flash file. Otherwise i would get a completely useless invoking method :).
I'm sorry, what do you mean? You want me to upload my flash file for you to test? How would mine be any different than others? Not really sure what you're saying =/
@EphemeralNight:
Yes, it is possible :).
Create a beam actor and assign it to a damage actor. Assign the damage actor to a custom weapon and set the weapon damage to Zero.
Create a new unit and check the "burrowed" and "concealed" flags, and disable any pathing. Disable the shadow and do not assign any model to the unit (This will give us an invisible dummy unit).
Now to make the beam via triggers, simply create the unit at X,Y of any point, and create another dummy unit at the second beam point (So the beam goes from dummy to dummy2). Order dummy1 to attack dummy2, and there you have it.
If you need help creating a beam, i cannot give you any tutorial that bests this one: http://forums.sc2mapster.com/resources/tutorials/3939-data-working-with-beams-beginner-difficulty/
@Dascion:
I mean the flash file type*.
I also need a flash file of the same format.
I remember working with the flash editor a couple years back, and each file had an invoke method name (This would be w/e the author set it to).
That's why i need yours in particular.
Very well then. But is it possible for you to explain how to find this method name on my own? I don't particularly feel like uploading all my flash files for you to test, and I'm sure you wouldn't appreciate it either. Here's a sample one. They're all in SWF format (I heard someone say that's the only format SC2 accepts). Thanks for your time.
You know the trigger add player to player group? I made my trigger so that when you click on a dialog button, it adds player to that player group. If the player clicks the button twice before the button is disabled, would the player be added twice and how would i prevent that from occuring?
And if it's not too much to ask, I have a general question. I want to make a brief cutscene-ish moment with zero-g in which control is temporarily suspended. I'm considering two ways of doing it: using the data editor to create a missile that resembles the unit, and then using movers to simulate the unit "floating" from one point to another. The other possibility is using triggers to send the unit's actor messages. Unfortunately the actor messages have no description. Any idea which would be best for changing the units 3d rotation over a short period of time? And there's another problem with the trigger approach: the area I want the unit to float across has no pathable ground (e.g, space). Is there a way to make the unit a flying unit for that period of time?
Thanks for your help with the flash - I appreciate it. Been wanting to put the issue to rest for a while now.
@Dascion:
00:00:00.13 Trigger Error in 'gt_MeleeInitialization_Func': Calling 'CreateDialogControl' is not authorized
00:00:00.13 Trigger Error in 'gt_MeleeInitialization_Func': Calling 'DialogControlSetPropertyAsString' is not authorized
00:00:00.13 Trigger Error in 'gt_MeleeInitialization_Func': Calling 'DialogControlInvokeAsText' is not authorized
My guess is that blizzard does not want us playing flash files in our maps (.."is not authorized").
However, you can convert the .swf file to an .ogv, and play it from there (I can create it and upload the map, if you want).
@Vietman:
Create a condition that checks if the triggering player is NOT in the unit group.
@Dascion:
I recommend you use movers, because in your case, the Wave mover is perfect. Set the wavelength to something very low (to simulate zero gravity bobbing) and set the missile speed to something slow too.
Obviously certain flagship is weak against certain attack right? i.e armored is weak against heavy attack etc etc. More like elemental thing. Fire weak against water/ice. So if you wear Fire armor, and the enemy attack is fire you can absorb, if enemy attack is ice you are doomed.
It's crucial to my map mechanic as the player has to decide which equipment to use but it's such a pain in the ass to morph everytime you change equipment.
00:00:00.13 Trigger Error in 'gt_MeleeInitialization_Func': Calling 'CreateDialogControl' is not authorized
00:00:00.13 Trigger Error in 'gt_MeleeInitialization_Func': Calling 'DialogControlSetPropertyAsString' is not authorized
00:00:00.13 Trigger Error in 'gt_MeleeInitialization_Func': Calling 'DialogControlInvokeAsText' is not authorized
My guess is that blizzard does not want us playing flash files in our maps (.."is not authorized").
However, you can convert the .swf file to an .ogv, and play it from there (I can create it and upload the map, if you want).
Yeah, I figured it would be something like that, but I wasn't aware you could play ogg in SC2. How would I go about doing that? Also, not necessary to upload a map unless you think it would explain things faster than typing them out. So far you've been very helpful; thanks! You really opened Pandora's Box here haha
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I don't know if anyone knows this, but does the option to import flash files for dialog actually work? I've read multiple threads on this forum and all of them finish ¯\(°_o)/¯. All I ever got was an error. Can't seem to find anything out anywhere. Help would be appreciated.
obliviron,
Can you change unit attributes via trigger?
i.e. Marines from Light - Biological to Armored?
Thanks
@obliviron: Go
My question is not how to upgrade marine armor or life or speed...
How to change the attributes from Light - Biological to say, Armored - Robotic - Massive.
There is no field to set the attributes in upgrades... I might miss it but I cant find it...
I've got questions.
Can a Beam visual be displayed with triggers? How?
What's the deal with Sountracks? Those triggers are confusing, and the hint text is contradictory. Also is there a timelimit on Pause Soundtrack? Because on my map it seems to unpause on its own, sometimes at really jarring moments while I'm playing some other one-shot music with a regular Play Sound.
@obliviron: Go
In a situation when changing equipment will change attributes.Right now I am using morph ability everytime the character is equipped with new armor. Pain in the ass I basically make every combination, then depending on armor it will morph. Thinking if there's an easy way out
I'm sorry, what do you mean? You want me to upload my flash file for you to test? How would mine be any different than others? Not really sure what you're saying =/
@obliviron: Go
Very well then. But is it possible for you to explain how to find this method name on my own? I don't particularly feel like uploading all my flash files for you to test, and I'm sure you wouldn't appreciate it either. Here's a sample one. They're all in SWF format (I heard someone say that's the only format SC2 accepts). Thanks for your time.
@Dascion: Go
He just needs the one file to test with, just to see if its possible. Once he proves that it is, he will tell you how to do it.
@obliviron: Go
You know the trigger add player to player group? I made my trigger so that when you click on a dialog button, it adds player to that player group. If the player clicks the button twice before the button is disabled, would the player be added twice and how would i prevent that from occuring?
@Abion47: Go
Thanks. Just my ignorance of Flash coming into play. Didn't mean to sound paranoid or anything.
@obliviron: Go
And if it's not too much to ask, I have a general question. I want to make a brief cutscene-ish moment with zero-g in which control is temporarily suspended. I'm considering two ways of doing it: using the data editor to create a missile that resembles the unit, and then using movers to simulate the unit "floating" from one point to another. The other possibility is using triggers to send the unit's actor messages. Unfortunately the actor messages have no description. Any idea which would be best for changing the units 3d rotation over a short period of time? And there's another problem with the trigger approach: the area I want the unit to float across has no pathable ground (e.g, space). Is there a way to make the unit a flying unit for that period of time?
Thanks for your help with the flash - I appreciate it. Been wanting to put the issue to rest for a while now.
@obliviron: Go
Obviously certain flagship is weak against certain attack right? i.e armored is weak against heavy attack etc etc. More like elemental thing. Fire weak against water/ice. So if you wear Fire armor, and the enemy attack is fire you can absorb, if enemy attack is ice you are doomed.
It's crucial to my map mechanic as the player has to decide which equipment to use but it's such a pain in the ass to morph everytime you change equipment.
@obliviron: Go
Thanks for the input on the zero-g. I'll give it a try. (Many hours of adjusting field values and setting up unit triggers ahead. Should be fun xD)
Yeah, I figured it would be something like that, but I wasn't aware you could play ogg in SC2. How would I go about doing that? Also, not necessary to upload a map unless you think it would explain things faster than typing them out. So far you've been very helpful; thanks! You really opened Pandora's Box here haha