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:216

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

    [03:08 pm]
    Sylph-Of-Space -- woah! nice! thank you!
    [04:05 am]
    O)FaRTy1billion[MM] -- the setting exists, it's just hidden in a weird place
    [04:04 am]
    O)FaRTy1billion[MM] -- instead change "Microtile Overlay" to "Impassable"
    [04:04 am]
    O)FaRTy1billion[MM] -- er, wait, idk why i was looking for height
    [04:03 am]
    O)FaRTy1billion[MM] -- below the minimap should be a thing that says "Overlay Settings" with a little + button in the corner, press the + to expand it, uncheck Use Defaults, then change "Tile Overlay" to "Height"
    [03:57 am]
    Sylph-Of-Space -- Unless I'm dum (possible)
    [03:57 am]
    Sylph-Of-Space -- It would be so so so nice if SCMDraft had some kind of dedicated "walkability" view for the tilesets.
    [03:53 am]
    Sylph-Of-Space -- :'( dont cry for me cat-gentina
    [09:18 pm]
    Ultraviolet -- 🔪🐈
    [2024-5-19. : 12:34 pm]
    NudeRaider -- curiosity kills the cat!
    Please log in to shout.


    Members Online: Zergy