Staredit Network > Forums > SC2 Assistance > Topic: [Solved] Angles, Sounds and Magazines, Multi questionaire
[Solved] Angles, Sounds and Magazines, Multi questionaire
This topic is locked. You can no longer write replies here.
Oct 5 2010, 9:51 pm
By: Bolshevik09  

Oct 5 2010, 9:51 pm Bolshevik09 Post #1



I figured i would just compile a few questions in one post.
Thank you

1. How do you upload custom sounds for weapons and what format?
2. what is equivalent to the "always" condition from SC1?
3. what is equivalent to the "switch" action from SC1? and how do you randomize?
4. how does the unit magazine function work? limits?
5. i have a problem with a trigger....
Unit is facing South
Events
Unit - Any Unit Enters (Triggering region)
Local Variables
Conditions
(Triggering player) == 7
(Triggering region) == entire map
(Facing of (Triggering unit)) > 225.0
(Facing of (Triggering unit)) < 315.0
Actions
UI - Display "D1 down" for (All players) to Error area

i also have this trigger for North East and west and those work fine!
But this direction will not fire what so ever... Does the game not like this angle?



None.

Oct 5 2010, 10:55 pm Temp Post #2



2. There is no always, only the periodic event. You should not need to use it in almost all cases, do your best not to use it as having to many of them will cause lag.
3. There is a switch action in SC2
4. The magazines are what carriers and brood lords use. Really its just a way of launching units from another unit. (Also you need to use the data editor to implement this)
5. The trigger probably is not working because you should specify the location in the event. Triggering location is a function to refer to the location that triggered the event. If you specify the location in the event you do not need to have a condition for it. You should also be aware that the trigger will only fire once per unit (since a unit can only enter anywhere once). You might as well use a unit created event.



None.

Oct 5 2010, 11:25 pm Ahli Post #3

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

1. You can import sound files into your map. Do that in the import manager. You need to make a Data entry for the sound, too. I'm using ".ogg". In rare cases, ."wav"s will be compressed more than an ".ogg". Audacity is a good program to switch between those file types.

2. What Temp said and don't try to copy the methods you used in SC1. Just copy the aim, not the implementation, because sc1 was full of workarounds.

3. it's a boolean. It's exactly like a switch (true|false -> set|unset -> 1|0). But you can use Integers like death counts, if you have multiple states.

5. I think the angle becomes negative in sc2 in the south direction. I've read something about that on sc2mapster recently.




Oct 5 2010, 11:41 pm Bolshevik09 Post #4



Quote from Temp
5. The trigger probably is not working because you should specify the location in the event. Triggering location is a function to refer to the location that triggered the event. If you specify the location in the event you do not need to have a condition for it. You should also be aware that the trigger will only fire once per unit (since a unit can only enter anywhere once). You might as well use a unit created event.

specified the event. check
removed the condition. check
still doesn't fire. i have the other three directions working but south just isnt possible. the angles stated for the other directions are

North
(Facing of (Triggering unit)) > 45.0
(Facing of (Triggering unit)) < 135.0
West
(Facing of (Triggering unit)) > 135.0
(Facing of (Triggering unit)) < 225.0
East
(Facing of (Triggering unit)) < 45.0
(Facing of (Triggering unit)) > 315.0
South
(Facing of (Triggering unit)) > 225.0
(Facing of (Triggering unit)) < 315.0

What i noticed is that "East" tends to fire when they are looking south. As in south is in east's domain... weird stuff
What confused me at first is that the SC2 makes 0 degrees facing East (Right) and 360 is the same degree as 0, so the difference between 45 and 315 is only 90 degrees.
But this trigger will still not fire. What i'm trying to do is make a unit's "Sight" possible. Like a sneaking mission where you can sneak around the enemies as long as you aren't in front of the enemy.
Is there an easier way to do this? Keep in mind that the enemy will be patrolling and looking in different directions.



None.

Oct 5 2010, 11:43 pm Bolshevik09 Post #5



Quote from Ahli
5. I think the angle becomes negative in sc2 in the south direction. I've read something about that on sc2mapster recently.
Going to look into this...



None.

Oct 6 2010, 12:03 am Bolshevik09 Post #6



Quote from Bolshevik09
Quote from Ahli
5. I think the angle becomes negative in sc2 in the south direction. I've read something about that on sc2mapster recently.
Going to look into this...
You are correct sir! from right to top to left is 180 degrees in the positive and from right to bottom to left is 180 degrees in the negative
here's a diagram [attached]
Well that answers all of my questions, THANK YOU!

Attachments:
angle cheat sheet.jpg
Hits: 3 Size: 85.28kb



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: jun3hong