• Welcome to the new COTI server. We've moved the Citizens to a new server. Please let us know in the COTI Website issue forum if you find any problems.

Random Character Generator

robject

SOC-14 10K
Admin Award
Marquis
"Beta" version - there are things left to do.

Functions: Randomly generates characters from three careers: Soldier, Spacer, Marine. It is possible to specify the character name, career, and UPP. If none are specified, the Soldier career is selected with a random UPP. The homeworld is randomly picked from the table in the T5 careers chapter. Languages are randomly picked from an internal list of major languages, and languages in the Spinward Marches and Deneb sectors. Skills are randomly picked, and knowledges are cascaded correctly. Benefits are not yet fully parsed out (e.g. knighthoods), and some skills are left conglomerate (e.g. Starship_Skill) because I think they're better left to the user to determine how they're distributed. Finally, 16 terms is the maximum allowed.

Base URL (generates a Soldier):
http://eaglestone.pocketempires.com/careers/t5chargen.pl

To generate a Marine:
http://eaglestone.pocketempires.com/careers/t5chargen.pl?career=Marine

To generate a Spacer:
http://eaglestone.pocketempires.com/careers/t5chargen.pl?career=Spacer


The UPP can be supplied to any of the above in this manner:

http://eaglestone.pocketempires.com/careers/t5chargen.pl?career=Marine&upp=777777

The name of the character can be supplied like so:

http://eaglestone.pocketempires.com/careers/t5chargen.pl?name=Eneri

An example with all three:

http://eaglestone.pocketempires.com/careers/t5chargen.pl?upp=876878&career=spacer&name=Sharik
 
I clicked on the marine generator and this final character appears (I guess it's an extreme case):

Marine (O14) 9B97BB 82 yrs 16 terms Cr 384000
Actor-2,Dancer-1,Darrian-8,Driver-2(Legged-1,Wheeled-1),Explosives-2,Fighter-16(Beams-2),Flyer-0(LTA-1,Rotor-1),Gambler-1,Gravitics-2,Gunner-3(Screens-1,Turrets-1),Hostile_Environ-2,Leader-4,Linguistics-1,Magnetics-1,Major-3,Medic-1,Minor-2,Nenlat-8,Psionicology-1,Seafarer-2(Boat-1,Grav Boat-1),Stealth-2,Survival-4,Tactics-5,Urzaeng-10,Vacc_Suit-1,Vegan-9,Vilani-8
Knighthood-9,Retire-7

As I don't know T5,there's no term limit?

Can rank reach O14?
 
General of the Five Galaxies!

What, look at all those stars and languages, that dude gets around and must really get the job done since he's got such a high Rank in the Meta-Galactic Marines. :p
 
Dangnabbit Rob!

I keep harping on this and I will continue to till you fix the Bug. :devil:

When a character receives a Medal the script needs to note which one and list it along with number of Campaign Ribbons. And it needs to note what Medal you get too since there is a big difference in the resume between a couple of XS and a MCUF than say a couple of MCG and an SEH. They are after all part of the character's gear, they get to keep those just like the Weapon, Armor, Secrets, Pensions, etc..

Please, man, help me reduce my stress level as a Referee as I really need to gen up some applicants for Wally's little commando gig. Pleeeaaaaase!
 
Geez Craig, it'll be easier for me to just teach you Perl than to hear you whine all the time.

(Note to everybody else: this is a joke. Craig and I go way back. Although Craig, I will teach you Perl if you want to learn.)
 
Dude...

Geez Craig, it'll be easier for me to just teach you Perl than to hear you whine all the time.

(Note to everybody else: this is a joke. Craig and I go way back. Although Craig, I will teach you Perl if you want to learn.)
What I need are dummy level written instructions that I can go back to months later when I forgot how they work.

Right now I have:
  1. Animal.pl
  2. Animal.table.pl
  3. Artifact.pl (Oo, I don't recall this one at alll, but the name suggests fun.)
  4. AcsiGrid.pl
  5. Chargen.pl
  6. Drive-models.pl
  7. Gridps.pl
  8. Name.pl
  9. Scenario.pl
  10. Squadron.pl
  11. Testuwp.pl
  12. Uwpparser.pl
  13. Uwptools.pl
  14. WorldBuilder.pl

All of which I barely remember what they do, much less how to use them which I do want to use them.
 
Just in case it may help you, I kept the full charGen as a Word.
 

Attachments

  • Random marine.docx
    19.5 KB · Views: 9
Back
Top