Staredit Network > Starcraft I Database > File: Rstg + SwitchGen

Sunken Treasure
(Reload)
Rstg + SwitchGen
Download
Filename: Rstg+SwitchGen.zip
Filesize: 17.46KB

Thumbnail

Rating
Not enough votes.
Log in to rate

File Information
General
Uploaded on:Apr 4 2013, 7:28 pm
Uploaded by:Blah
Author:Not Given.
Downloads:212

File Contents
Rstg+SwitchGen/
Rstg+SwitchGen/rstg.exe
Rstg+SwitchGen/rstg_README.txt
Rstg+SwitchGen/switchGen.exe
Rstg+SwitchGen/SwitchGen_README.txt
File Description
This package contais two programs: rstg.exe and SwitchGen.exe.

Purpose of these two programs: create large amounts of trigger text for randomization triggers.

Rstg.exe, Random switch trigger generator - Created by me, Blah
Generates the trigger text, but does not effect the "set" or "not set" in switches, because I couldn't think a way how to do it. I'm still a beginner at programming.

SwitchGen.exe - created by someone called "chuOS" in 2005. I'v had this program laying around in my sc folder for several years. Apparently it's no longer anywhere in the internet anymore (or I'm simply bad at searching).

Avast might cry about these softwareses. Run them in a sandbox or simply ignore the warnings.

How to use:
Run rstg.exe and type how many "options" you want for your triggers to the small box.
E.g. number 16 will create 16 triggers with 5 switches where 4 are used for randomization purposes. Program will always create 2, 4, 8, 16, 32, 64, 128, 256... triggers depending how many options you want, rounded up. Options that you don't need are automatically "disabled" (e.g. with number 50, triggers 51-64 will re-run re-randomize).

After you have generated the text (might take few seconds if you are generating hundreds/thousands of options), copy paste the text to SwitchGen windows and follow the README instructions.

The randomization triggers use death counters. I have selected "ruins" as the counter unit. Each random trigger will set the deaths of "ruins" to different value so you can use that to choose the result of randomization.

Example:
Trigger
Players
  • Player 1
  • Conditions
  • Current Player has suffered exactly 1 deaths of Ruins
  • Current Player brings at least 1 Terran Civilian to 'Location X'
  • Actions
  • Something awesome happens here
  • Modify death counts for Current Player: Set to 0 for Ruins
  • Remove that civilian or something
  • Preserve trigger


  • You'll also have to create a trigger that randomizes the switches. Don't forget to set Switch256 to "set".

    I haven't 100% tested rstg.exe. Let me know if you find bugs/mistakes, I'll try to fix em asap.

    All Images
    No images.

    Comments
    TriNitY_ wrote on Jul 9 2013, 1:04 am:
    Great time saver. Thanks

    [01:56 am]
    Oh_Man -- cool bit of history, spellsword creator talking about the history of EUD ^
    [09:24 pm]
    Moose -- denis
    [05:00 pm]
    lil-Inferno -- benis
    [10:41 am]
    v9bettel -- Nice
    [2024-4-19. : 1:39 am]
    Ultraviolet -- no u elky skeleton guy, I'll use em better
    [2024-4-18. : 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
    [2024-4-18. : 10:11 pm]
    Ultraviolet -- :P
    [2024-4-18. : 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
    Please log in to shout.


    Members Online: Oh_Man