Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Randomized Order
Randomized Order
Jan 20 2022, 11:40 pm
By: Prankenstein
Pages: < 1 « 2 3 4
 

Feb 6 2022, 10:52 pm Prankenstein Post #61



Quote from GGmano
hope you get it working, failure is not an good option. Keep trying keep testing than youll end up succeding and learning on the way.

If you want i can try come up with a simple system help but i need to understand what you want and need fully knowledge of all youre aspects. I have many simple yet complicated randomized systems working in my map.

about the dark swarm nude suggested demon explained you can preplace the dark swarm in editor and than move it around to youre desired location.

im pretty sure you can do the excaktly same with dweb if you prefer that better.

darkenedfantasied explained you can also do it with eud this way:
You can make dark swarms cast by defilers permanent by setting its CUnit Remove Timer (0x0059CDB8) to 0. Pre-placed ones don't expire for the same reason.

too find out what causing the error in youre system you add text to each trigger in the system to check which triggers fire when and youll see excaktly what triggers dont fire. that way its more easy to locate the error.


I haven't quit on the map, basically I used Nude's first system and got it working perfectly but he pointed out the flaws with it and provided a more simple system, and I want to do things right. Though the system is simpler it forces you to have a marker in the direct middle of each zone.

He originally suggested an observer but players will get detectors and I think the sight of an observer in the center would be annoying. I tried using a floor gun but somewhere along the line I messed something up and don't want a floor gun going all out Scarface style all game either. Also, Nude suggested a truly invisible way but for now, I've decided to revert back to the old (working) system and work on the essentials first.

Not really a fan of dwebs and dark swarms as they do have an active effect on the map and seem quite intrusive. I want something unobtrusive as possible.


Maybe I should start a development thread, but I've attached the single player version if anyone wants to take a look or try it out. I don't really have a name for it yet. Some Notes:

1. For testing purposes, I'm using computer allies which are quite stupid
2. The number of players dictates the amount of random troops they get at the start of each round. Here I just set a DC:
6 Players = 4, 5 Players = 5, 4 Players = 6, 3 Players = 8, 2 Players = 12, 1 Player = 24
3. After round 5 and 10, I add one to this DC to give everyone an extra unit
4. To accommodate for #1 during balancing, I've added an extra DC to give everyone an extra unit
5. Each player gets one random unit in the center which they can send to their base or use to help other players from the edge
6. You can sell unneeded troops at the beacon to get random bonuses of minerals, gas, cash, or selectors.
7. Cash is stored in a DC and displayed in a mineral patch at the bottom

Post has been edited 1 time(s), last time on Mar 15 2022, 3:01 am by Prankenstein.



None.

Feb 6 2022, 10:56 pm Prankenstein Post #62



Also just realized my map is 420 Kb which seems large, no? I'm using 4 compressed wavs but apparently they're still pretty big. I'll probably remove one.



None.

Feb 6 2022, 11:08 pm Prankenstein Post #63



Was also thinking about naming the critters after you guys for all the help, but you might not want to be associated with this map lol.



None.

Feb 7 2022, 2:58 am DarkenedFantasies Post #64

Roy's Secret Service

Quote from Prankenstein
Also just realized my map is 420 Kb which seems large, no? I'm using 4 compressed wavs but apparently they're still pretty big. I'll probably remove one.
I haven't looked at the map (and thus the sounds), so I don't know if 420Kb is normal for the length of your sounds. If you want to cut down on the filesize of your wavs, you can do any or all of the following:
  • Reduce the sample rate, especially if it's higher than 32,000Hz.
  • Make it mono, especially if both channels are identical. You might still want to make it mono if the sample rate is higher than 22,050Hz to avoid the issue of the end of your sound repeating (a bug with how Starcraft plays map sounds) and don't want to pad your sounds with 2 seconds of silence.
  • Reduce the bit depth to 16-bit if it happens to be higher. Although it won't benefit from the map's compression, you can also convert your sounds to 8-bit depth for extreme size reduction, but the sound quality will be very bad.
  • Use the "Low Quality" compression type in SCMDraft2 for the highest level of compression (not very intuitive, I know).





Feb 7 2022, 1:49 pm NudeRaider Post #65

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

You can use the .ogg audio format to reduce the sound file size considerably.




Feb 8 2022, 1:37 am Prankenstein Post #66



  • Reduce the sample rate, especially if it's higher than 32,000Hz.
  • Make it mono, especially if both channels are identical. You might still want to make it mono if the sample rate is higher than 22,050Hz to avoid the issue of the end of your sound repeating (a bug with how Starcraft plays map sounds) and don't want to pad your sounds with 2 seconds of silence.
  • Reduce the bit depth to 16-bit if it happens to be higher. Although it won't benefit from the map's compression, you can also convert your sounds to 8-bit depth for extreme size reduction, but the sound quality will be very bad.

Quote from NudeRaider
You can use the .ogg audio format to reduce the sound file size considerably.


Did all of the above in order and got the total size down from 281KB to 54KB, with only slight loss of quality :w00t:



None.

Feb 12 2022, 12:43 am Prankenstein Post #67



Aside from the single-frame hypers at the bottom, the MemoryAddr triggers are only modifying a location's edges.

So I took this hyper trigger from your sample map and have been using it on mine. Question: Does it run faster than a traditional hyper trigger (62 Waits)?

From this page: http://www.staredit.net/wiki/index.php/Hyper_Triggers, it says the triggers are cycled 12 times a second, but seems even faster than that.



None.

Feb 12 2022, 1:58 am DarkenedFantasies Post #68

Roy's Secret Service

Yes, it's twice as fast; when set to 0, it makes triggers cycle every frame, while the traditional ones do so every 2nd frame. You can set it to other values than 0 to control how often you want triggers to run. 1 would be the same as traditional hypers, and 30 for the normal rate without hypers.




Feb 12 2022, 2:06 am Prankenstein Post #69



Yes, it's twice as fast; when set to 0, it makes triggers cycle every frame, while the traditional ones do so every 2nd frame. You can set it to other values than 0 to control how often you want triggers to run. 1 would be the same as traditional hypers, and 30 for the normal rate without hypers.

Beautiful, thanks



None.

Feb 12 2022, 9:37 am NudeRaider Post #70

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

Related fun fact: With waits you can time things with 1 frame accuracy while with death counters the best you get is a 2 frame accuracy. However the minimum wait time is 2 frames (84ms on fastest) - which is why hyper triggers only cause trigger loops every other frame, which in turn defines the accuracy of death counters.

So you can wait 84 or 126ms with waits, but not 42ms.

If you ever need exact timing (e.g. for music) keep in mind that 12 triggers / sec is just an approximation. The exact trigger rate is 1/84ms with classic hyper triggers.




Options
Pages: < 1 « 2 3 4
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
Please log in to shout.


Members Online: Vrael, lil-Inferno, jun3hong, Ultraviolet, Roy