中国星际RPG联盟

 找回密码
 注册

QQ登录

只需一步,快速开始

文章内容

Rstg+SwitchGen

发布者: castelu | 发布时间: 2013-9-24 05:15| 查看数: 4372| 评论数: 0|帖子模式

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:
Description:Example
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.

Rstg+SwitchGen.zip

18 KB, 下载次数: 0, 下载积分: 水晶 -2 克

最新评论

QQ|网站统计|手机版|小黑屋|中国星际RPG联盟    

GMT+8, 2024-5-21 10:12 , Processed in 1.234375 second(s), 35 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部