Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: I Need Help With 3 Seemingly Simple Things
I Need Help With 3 Seemingly Simple Things
Aug 29 2012, 7:52 pm
By: Radical924  

Aug 29 2012, 7:52 pm Radical924 Post #1



Sorry for another forum topic but I have been wondering this so I can possibly improve my map and since there is no support faq for SCMDraft2 I am wondering...

1. What do ALL AI Scripts in SCMDraft2 mean? (if you find a support page it would be better but if not I guess you could post all the meanings of each script also I don't need any of the meanings of the scripts that are explained in the default campaign editor)

2. The difference between each gamespeed. Currently I have music working on the FASTEST gamespeed but I want music to work in all gamepeeds. To calculate the difference between each of my segments I used the length of the segment multiplied by how often trigger cycles occur. IOW 12seconds* (1000/84)= approx 143 SO what I would like to know is how often trigger cycles are in each gamepeed with hyper triggers running.

(1000/84)= FASTEST
?/?= FASTER
?/?= FAST
?/?= NORMAL
?/?= SLOW
?/?= SLOWER
?/?= SLOWEST

3. How to have buildings that can be controllable by all players eg. bunkers that can be manned by players 1-8, or units that can be controlled by players 1-8.

Post has been edited 7 time(s), last time on Aug 29 2012, 10:16 pm by Radical924.



None.

Aug 29 2012, 8:03 pm staxx Post #2



1. Are you asking for a detailed explanation of what each ai script does specifically?

If so, i don't know of any links that outline what each ai script does. Although if you let us know what you're attempting to achieve by running the ai script, i'm sure someone could provide you with a solution.

2. Not sure what the math would be for the other speeds, although i'm sure you could set up a message to display how many DC's occur and time it.

Example


3. I would suggest having the bunker owned by a computer player and set it up like this.

Bunker triggering


Post has been edited 3 time(s), last time on Aug 30 2012, 12:47 am by staxx.



None.

Aug 30 2012, 2:06 am Radical924 Post #3



Your bunker idea will not work as units that are inside the bunker are not detected and therefore cannot be unloaded once loaded in if no other units on the outside of the bunker that you control are present.
As for your DC suggestion it is a good idea but not what I'm looking for because the longer the music files are the more errors will be made with the spaces in between each WAV. Also yea I'd like an explanation of what each AI script in SCMDraft do.



None.

Aug 30 2012, 2:17 am lil-Inferno Post #4

Just here for the pie

1. http://www.staredit.net/starcraft/List_of_campaign_AI_scripts
2. Don't worry about this. No one will play your map on a setting lower than fastest.
3. Not possible except in team melee, and team melee doesn't use map settings. If it was possible you would surely have seen it done.




Aug 30 2012, 3:03 am Azrael Post #5



Quote from Radical924
Your bunker idea will not work as units that are inside the bunker are not detected and therefore cannot be unloaded once loaded in if no other units on the outside of the bunker that you control are present.

Yes they can. The only way they won't be detected is with "at most", it will always detect "at most 0" units inside the bunker (meaning that staxx's second trigger should be "exactly 0" instead of "at most 0").

As a side note, never use "at most 0" unless you are doing it on purpose to achieve an unusual effect, because "at most" referring to units has some unusual effects (and additionally, it doesn't make sense anyways, since it seems like you are expecting there to be negative units somehow).

If you use "at least 1" and "exactly 0" for the previously described triggers, it will detect units outside and inside the bunker as well.

Edit:

Quote from lil-Inferno
2. Don't worry about this. No one will play your map on a setting lower than fastest.

This.

If you really want to take other speeds into account, the best way would be to detect when the game is being played on a lower speed using EUDs, and giving the players a message informing them that the game isn't being played on Fastest, and immediately ending the game in defeat.

Post has been edited 1 time(s), last time on Aug 30 2012, 3:38 am by Azrael.




Aug 30 2012, 3:40 am staxx Post #6



Quote from Radical924
As for your DC suggestion it is a good idea but not what I'm looking for because the longer the music files are the more errors will be made with the spaces in between each WAV.
Thats what the whole purpose of my example was. For you to time how many death counts occur in 1 second and then apply it to each speed. In other words if you have 12 messages set up each displaying at 1, 2, 3, 4, etc DC's and only 4 messages pop up out of the 12 then you would know that on the speed you're playing your game on would have 4 DC's in 1 second. You would then take your 4 and multiply it by the length of your wav.

Example.
My wav is 1 minute 30 seconds.

4 x 90 = 360

360 would be the number of which your wav would end so you would start the next wav on 361 if you wanted to achieve a loop with no spaces.

----
EDIT

Quote from Azrael
Quote from lil-Inferno
2. Don't worry about this. No one will play your map on a setting lower than fastest.

This.

If you really want to take other speeds into account, the best way would be to detect when the game is being played on a lower speed using EUDs, and giving the players a message informing them that the game isn't being played on Fastest, and immediately ending the game in defeat.
If he wants to account for his game being played on other speeds i would probably suggest using eud's to determine which speed and then set a switch to play the wav which will loop properly with that speed.

But i would agree that no one plays on anything other than fastest, so to go that indepth to cover all speeds would not be worth the effort.

Post has been edited 1 time(s), last time on Aug 30 2012, 3:45 am by staxx.



None.

Aug 30 2012, 4:09 am Azrael Post #7



Quote from staxx
Quote from Azrael
If you really want to take other speeds into account, the best way would be to detect when the game is being played on a lower speed using EUDs, and giving the players a message informing them that the game isn't being played on Fastest, and immediately ending the game in defeat.
If he wants to account for his game being played on other speeds i would probably suggest using eud's to determine which speed and then set a switch to play the wav which will loop properly with that speed.

Well, he could certainly do that, but the reason I say it would be best to just detect it's not on Fastest and end the game immediately is because it's easy, and stops the timing for the audio clips from ever being wrong. I don't think anything more complex than that is necessary since the odds of anyone playing on anything other than Fastest are approximately 0%.

This thread does bring up an interesting point though. I'll admit I've implemented looping audio in maps without taking other speeds into account at all, and if someone were to play on a lower speed, it would ruin the experience. In the future, if I do any timed audio, I will be sure to detect if the game speed isn't on Fastest so I can inform the player and end the game before it becomes an issue.

It may actually be a good idea to detect for that every game, since there is no reason to play on anything other than Fastest, and doing so can also impair other timers.




Aug 31 2012, 12:52 am Radical924 Post #8



Ignore what I typed here earlier my numbers were off...

Post has been edited 5 time(s), last time on Aug 31 2012, 8:56 am by Radical924.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[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.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: Moose