• If you were supposed to get an email from the forum but didn't (e.g. to verify your account for registration), email Wes at [email protected] or talk to me on Discord for help. Sometimes the server hits our limit of emails we can send per hour.
  • Get in our Discord chat! Discord.gg/stararmy
  • 📅 April 2024 is YE 46.3 in the RP.

PHP-Based Generators

Wes

Founder & Admin
Staff Member
🌸 FM of Yamatai
🎖️ Game Master
🎨 Media Gallery
I've been starting to experiment with PHP-based random generators.

Once I have mastered these random generators more I plan to make a small section of the site devoted to them. We could use random generators for helping GMs with:

- NPC Names, ranks, and descriptions (Maybe like a random Nekovalkyrja generator and a random NMX generator.
- Random encounters for space (or ground) battles
- Salvage (though we already have a good salvage generator program) and adventuring loot.
- Plot idea generator? (Based on list of mission types in the SAoY Starship Captain guide?)
- Hit locations
- Random unfortunate bizarre accidental death generator (for abandoned PCs, lol)
- Random shore leave shopping locations generator
- Random minor non-factional alien and/or mutant generator (for Nepleslia)
- Random ration contents generator

Comments and suggestions are encouraged.
 
I like the salvage generator idea because currently, the install process for the one we have is a bit complex and only works on Microsoft OSes. It also means pushing updates for each new list.

Having an online version would be better in that everyone would use the same lists, could use it from any computer with a net connection, could simply copy-paste lists into the thread instead of making text files and copying those, etc.
 
I agree. Besides, the "code security" feature of the current version is invalidated by the fact that the user can adjust the lists however he wants, so there's no loss in that area. Plus I can add item condition modifiers. The lists will need some adjustments before they are ready, and we would unfortunately have to make a different page for each salvage zone.

Here's my current WIP: A random Nekovalkyrja crewman generator!

Here's two examples of what it can make:

Nito Hei Kikuchi Rin is a rock-solid coffee brown NH-29H medic with round emerald green eyes and long straight black hair. She is wearing a volumetric Type 31 Working Uniform and carrying a Type 30 NSP and Type 31 Science Scanner.
Santo Heisho Sugimoto Shoko is a childlike coffee brown NH-29S cook with cute dark blue eyes and long straight red hair. She is wearing a Type 31 Engineering Protective Jumpsuit and carrying twin Type 29 NSPs.
Try it out!

Random Nekovalkyrja Generator
 
Iroma generator added:
https://stararmy.com/generators/iromakuanhe.php

Going to make an Origin one next.

Here's what I need to make a generator:

1. Write a sentence with variables in it, like "[First] [Last] is a [description] marine with [eyecolor] eyes and [haircolor] [hairstyle] hair. He is armed with a [weapon] and has a cybernetic [bodypart(s)].

2. Then write up a list for each of those variables, one possible result per line.

3. Then send it to me via PM
 
You see a sadistic Nepleslian hellraiser who is out of gum. They are wearing bedraggled clothing and combat armor. They are wielding a Fingale's Revenge Railgun and strength-assist braces.
New: Random Thug Generator!

Thanks for Luca for the data set and apologies to character Ken Miller, whose art was the closest I could find to being thug-like.

https://stararmy.com/generators/thug.php
 
Wes as I mentioned in my talk to you on Saturday, I though it would be kind of cool to have a random civilian generator that the Azorean, Phods, and other races could be on. It be mainly help generator allies, civilians, and other minor friendly factions. So I am posting because I wanted to know what you guys thought.
Here is what i have thought of on my own:
Species:
Phod
Freespacer
Azorean

Occupations:
diplomat
engineer
tourist
refugee
hostage
trader
janitor
cook
painter
dancer
_____________
P.S. Plus, I have no idea how make a random generator.
 
And to be fair I also thought I would suggests something things for the Thug generator which I list below ... ^^;
Wes said:
By request, here's a Thug data set so other GMs and players can suggest additions to it.

Luca said:
"You see [Desc_Appearance] [Race] mercenary [Job], who is [Desc_Doing]. They are wearing [Wearing1], and [Wearing2]. They are wielding [Weapon] and [Item]."

Desc_Appearance said:

Desc_Doing said:
quizzically peering around a corner
calling back up
expressing concern about health standards
eating breakfast
eating lunch
eating dinner

Wearing1 said:
lucky green boxers

Item said:
Aethersperm merchandise
vibrator

That should do it.
 
TAVERN GENERATOR:

[Namepart1][Namepart2] is a [size][descriptor][building] known for its [feature 1] and [feature 2]. Inside there [interesting stuff].

I would love your suggestions for:

Name Part 1 ( Frank's, The Prancing, Sunset )
Name Part 2 ( Bar, Pony, Beach Club )
Descriptor (seedy, dirty, etc)
Building (brick basement, concrete bunker, etc)
Feature 1 (great beer) <-- generally food or drink related
Feature 2 (dancing girls) <-- generally entertainment related
Interesting Stuff (are salvage sales brochures on each table, etc)

Hoping to get at least four players giving at least 50 suggestions each for the names and as many as possible for the others. I will be contributing a large number too. One item per line, no commas.
 
[Namepart1][Namepart2] is a [size][descriptor][building] known for its [feature 1] and [feature 2]. Inside there [interesting stuff].

Name Part 1 (Slick Willie's, Chuck's, .45 Caliber, 9mm, Paul's, Manly)
Name Part 2 (Chug-a-lug, Neverending Tap, Slop Trough, Portions, Disaster Area)
Descriptor (moldy, gassy, bright, dim, dark, brown, puke green, battered, unkempt, well-maintained, gated, shot up )
Building (ex-gas station, ex-school building, wooden store front, converted duplex, ex-bowling alley )
Feature 1 (Seasoned Emu Nuggets, Spiked Punch, DEEZ NUTZ, "Wired" Coffee, Red Giant Chili)
Feature 2 (Airbike Racing, sexy waitresses, bowling alley, gambling, free cigars)
Interesting Stuff (are Laser Tag Guns which actually leave burn marks, are nightly beer drinking contests, is a dartboard with Yui and Hanako's picture on it, is an ex-con in a padded Mishhu costume the customers can pay to beat the crap out of)
 
Got pulled away, didn't get to finish.

Name1:
Bowman's
Starfall's
Neppie's
Orgasmic
Large
Tiny's
The Gang's

Name2:
Soup
Tables
Tap
Caper
Hang out
Spot
Wreck
Mess
Hole

Descriptor:
Concealed
Colorful
Red
Green

Building:
Garden
Greenhouse
Bathhouse

Feature1:
Serves cold Shank Beer
Serves hot Shank Beer
Serves 'rusty shank' seasonal beer
Has a stockpile of '9mm beer' from Luis Pasco day.

Feature2:

InterestingStuff:
All of the chairs are replaced with bathtubs.
 
Suggestion added!

David just figured out that if I add

Code:
$selGenCount = $_POST['selGenCount'];

below the //Initialize line, it fixes the multiple generation issue.

In light of this, the Nekovalkyrja and Nepleslian generators have been updated to make up to 3 soldiers at once.
 
The tavern and thug generators now can produce up to 3 at a time as well. I didn't go higher because it kind of kills the mystery and you see more of the formula than the result.

Edit: Most generators have been update to have multiple results available now.
 
The Star Army Male Soldier generator is now operational. I added lists of male names today.
 
I found out that if you need to put a comma in the code, you can use:
Code:
&#44;
 
RPG-D RPGfix
Back
Top