中国星际RPG联盟

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4332|回复: 0
打印 上一主题 下一主题

Rstg+SwitchGen

[复制链接]
跳转到指定楼层
楼主
发表于 2013-9-24 05:15:38 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 分享淘帖 顶 踩
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-1 01:18 , Processed in 1.140625 second(s), 24 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表