Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Civ Randomisation  (Read 1409 times)

SlyStalker

  • Bay Watcher
  • Always angry, all the time
    • View Profile
Civ Randomisation
« on: November 07, 2014, 12:39:34 am »

Is there a way to either:
a) Randomise civ traits (in raws) or
b) Randomise which civs are selected (e.g. making the game choose 4 out of 8 possible civs)?
Logged
There are 10 types of people in this world: those who understand binary, and those who don't.

Chevaleresse

  • Bay Watcher
  • A knight, returned from a journey weary and long
    • View Profile
    • Patreon
Re: Civ Randomisation
« Reply #1 on: November 07, 2014, 12:41:02 am »

b) should be possible if your number of civs is greater than the number of civs desired by worldgen. I'm not sure, though.
Logged
GM of Trespassers V2.
If you like my work, consider becoming a patron. (Since apparently people think this is a requirement: no, my game(s) are free to play and always will be.

King Kravoka

  • Bay Watcher
  • I will eat you.
    • View Profile
Re: Civ Randomisation
« Reply #2 on: November 07, 2014, 12:55:13 am »

A is impossible without running special civilization generating programs beforehand.
Logged
Sure. Yes, you are the Silver Surfer to a very inept Galactus.

vjmdhzgr

  • Bay Watcher
  • Hehehe
    • View Profile
Re: Civ Randomisation
« Reply #3 on: November 07, 2014, 01:52:33 am »

You can put multiple [CREATURE:] tokens in an entity file and when placing that civ it will randomize what creature gets used. Nothing else gets randomized though, just the creature.
Logged
Its a feature. Impregnating booze is a planned tech tree for dwarves and this is a sneak peek at it.
Unless you're past reproductive age. Then you're pretty much an extension of your kids' genitalia

King Kravoka

  • Bay Watcher
  • I will eat you.
    • View Profile
Re: Civ Randomisation
« Reply #4 on: November 07, 2014, 03:21:23 am »

You can put multiple [CREATURE:] tokens in an entity file and when placing that civ it will randomize what creature gets used. Nothing else gets randomized though, just the creature.
Elfs that behave like gobbos?
Logged
Sure. Yes, you are the Silver Surfer to a very inept Galactus.

TheDorf

  • Bay Watcher
    • View Profile
Re: Civ Randomisation
« Reply #5 on: November 07, 2014, 10:33:33 am »

Write a DFHack script that runs on launch (pretty sure this is possible) that makes the desired random changes in the main raws folder. Make sure to make a backup of your raws beforehand though.
Logged
I love this community. Somebody asks "hay guise how do i tame shark", and then everybody is like "why don't we fling sharks at things with complex mechanical devices?".

SlyStalker

  • Bay Watcher
  • Always angry, all the time
    • View Profile
Re: Civ Randomisation
« Reply #6 on: November 07, 2014, 06:23:29 pm »

A is impossible without running special civilization generating programs beforehand.
So I have to write my own script?
Logged
There are 10 types of people in this world: those who understand binary, and those who don't.

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Civ Randomisation
« Reply #7 on: November 07, 2014, 06:39:58 pm »

No particular reason it has to be a DFHack script, use any scripting language you want as long as it generates a valid entity file.

SlyStalker

  • Bay Watcher
  • Always angry, all the time
    • View Profile
Re: Civ Randomisation
« Reply #8 on: November 08, 2014, 12:21:08 am »

No particular reason it has to be a DFHack script, use any scripting language you want as long as it generates a valid entity file.
I suppose it can't be too hard... Python probably
Logged
There are 10 types of people in this world: those who understand binary, and those who don't.

Godlysockpuppet

  • Bay Watcher
  • [Insert wit here]
    • View Profile
Re: Civ Randomisation
« Reply #9 on: November 08, 2014, 04:27:23 am »

Hey! My avatar! :o
Logged

SlyStalker

  • Bay Watcher
  • Always angry, all the time
    • View Profile
Re: Civ Randomisation
« Reply #10 on: November 08, 2014, 08:21:43 pm »

Hey! My avatar! :o
Where did you get the full version from??
Logged
There are 10 types of people in this world: those who understand binary, and those who don't.