Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Trying to make imp slaves:  (Read 3111 times)

Zironic

  • Bay Watcher
  • [SDRAW_KCAB]
    • View Profile
Trying to make imp slaves:
« on: February 16, 2008, 02:43:00 am »

I am trying to make imp slaves - this is my code under domestic - (borrow from cat code)
code:

[CREATURE :DragonImpSlave]
   [NAME :Dragon Imp Slave :Dragon Imp Slaves :Dragon Imp Slave]
   [TILE:'i'][COLOR:6:0:1]
   [VERMINHUNTER]
   [PETVALUE:20]
   [BUTCHERABLE_NONSTANDARD]
   [CARNIVORE][NATURAL][PET][EVIL]
   [LARGE_ROAMING]
   [COMMON_DOMESTIC]
   [PREFSTRING:aloofness]
   [BODY:HUMANOID:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH]
   [BODYGLOSS:PAW]
   [SIZE:8]
   [MAXAGE:10:20]
   [ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:6:GORE][ATTACKFLAG_CANLATCH]
   [CHILD:7][CHILDNAME:Impito Dragon:Impito Dragon]
   [FAT:1]
   [DIURNAL]
   [STANDARD_FLESH]
   [HOMEOTHERM:10070]
   [LAYERING:100]
   [SWIMS_INNATE][SWIM_SPEED:2500]

Yet I can't choose them under the embark screen.

this is my first time modding.

Logged

Chariot

  • Bay Watcher
  • Turtle Trainer
    • View Profile
Re: Trying to make imp slaves:
« Reply #1 on: February 16, 2008, 03:37:00 am »

the [EVIL] tag will make it so only evil races with [USE_EVIL_ANIMALS] use em
Logged

Zironic

  • Bay Watcher
  • [SDRAW_KCAB]
    • View Profile
Re: Trying to make imp slaves:
« Reply #2 on: February 16, 2008, 04:28:00 am »

Understood, now how would I make it spawn like horses on the main map?
Logged

Fenrir

  • Guest
Re: Trying to make imp slaves:
« Reply #3 on: February 16, 2008, 10:15:00 am »

Give it a [BIOME:biome] tag and a [FREQUENCY:number] tag. You can leave out [FREQUENCY] is you want them to be on the map at all times.

EDIT: Forgot about new [BIOME] tag syntax

[ February 16, 2008: Message edited by: Fenrir ]

Logged

pushy

  • Bay Watcher
  • [MEANDERER]
    • View Profile
Re: Trying to make imp slaves:
« Reply #4 on: February 16, 2008, 01:09:00 pm »

Looking at it, I'd also either decrease the number in [CHILD:7] or increase the numbers in [MAXAGE:10:20], otherwise you'll end up with baby slaves for 7 years who grow up and may live as breeding adults for as little as three years before dying of old age.
Logged
Quote from: Tim Edwards, PC Gamer UK
There are three things I know about dwarves:
1. They've got beards. Even the women.
2. They're short. Especially the women.
3. They're Scottish.

Zironic

  • Bay Watcher
  • [SDRAW_KCAB]
    • View Profile
Re: Trying to make imp slaves:
« Reply #5 on: February 16, 2008, 01:18:00 pm »

Oh I thought that meant littersize : D
Logged

Zironic

  • Bay Watcher
  • [SDRAW_KCAB]
    • View Profile
Re: Trying to make imp slaves:
« Reply #6 on: February 16, 2008, 01:27:00 pm »

code:
[CREATURE:IMP]
   [NAME:imp:imps:imp]
   [SPECNAME:FEMALE:nymph:nymphs:nymph]
   [TILE:'ƒ'][COLOR:6:0:1]
   [VERMINHUNTER]
   [PETVALUE:20]
   [BUTCHERABLE_NONSTANDARD]
   [NATURAL][TRAINABLE][PET]
   [LARGE_ROAMING]
   [COMMON_DOMESTIC][WAGON_PULLER]
   [PREFSTRING:Devious]
   [BODY:HUMANOID:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH]
   [BODYGLOSS:PAW]
   [SIZE:9]
   [MAXAGE:20:40]
   [ATTACK:MAIN:BYTYPE:MOUTH:rip:rips:2:3:GORE][ATTACKFLAG_CANLATCH]
   [CHILD:1][CHILDNAME:Impit:Impits]
   [FAT:1]
   [DIURNAL]
   [BIOME_ALL_MAIN]
   [STANDARD_FLESH]
   [HOMEOTHERM:10070]
   [LAYERING:100]
   [SWIMS_INNATE][SWIM_SPEED:2500]  

So this should make them appear on every map?
And makes them pull wagons - for the kicks.
And glowing yellow imp leather rocks....

Logged

Fenrir

  • Guest
Re: Trying to make imp slaves:
« Reply #7 on: February 16, 2008, 01:54:00 pm »

Your use of prefstring is incorrect. When a dwarf likes s creature, the contents of prefstring are used like this: Dwarfy McDwarf likes <creature> for their <prefstring>. You'll wind up with this: Dwarfy McDwarf likes imps for their Devious.
Logged

Zironic

  • Bay Watcher
  • [SDRAW_KCAB]
    • View Profile
Re: Trying to make imp slaves:
« Reply #8 on: February 16, 2008, 01:57:00 pm »

thank you. But I am definitely not redoing a world to fix that right now.... War imps! I though modding would suck but this is awesome.
Logged

Fenrir

  • Guest
Re: Trying to make imp slaves:
« Reply #9 on: February 16, 2008, 02:10:00 pm »

I don't think you need to generate a new world if you change the prefstring.
Logged

Zironic

  • Bay Watcher
  • [SDRAW_KCAB]
    • View Profile
Re: Trying to make imp slaves:
« Reply #10 on: February 16, 2008, 02:16:00 pm »

Ok..thanks.
Logged

Zironic

  • Bay Watcher
  • [SDRAW_KCAB]
    • View Profile
Re: Trying to make imp slaves:
« Reply #11 on: February 16, 2008, 02:43:00 pm »

code:
 [CREATURE:SERPENTSLAVE]
   [NAME:slave serpent:slave serpents:slave serpent]
   [TILE:'ö'][COLOR:8:0:2]
   [PETVALUE:1]
   [PREFSTRING:scaliness]
   [LARGE_ROAMING][COMMON_DOMESTIC][WAGON_PULLER][TRAINABLE]
   [PET]
   [MAXAGE:999:999]
   [BODY:QUADRUPED:TAIL:8EYES:LUNG:3HEARTS:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH]
   [NATURAL][MOUNT]
   [POPULATION_NUMBER:10:20]
   [CLUSTER_NUMBER:3:5]
   [SIZE:1]
   [ATTACK:MAIN:BYTYPE:STANCE:whip:whips:1:1:BLUDGEON][ATTACKFLAG_WITH]
   [CHILD:1][CHILDNAME:hatchling:hatchlings]
   [FAT:5]
   [DIURNAL]
   [BIOME:MOUNTAIN]
   [BIOME:ANY_DESERT]
   [STANDARD_FLESH]
   [HOMEOTHERM:10068]
   [LAYERING:100]
   [SWIMS_INNATE][SWIM_SPEED:2500]

My second new animal - A serpent!, original a dragon but - they were too beasty - dragon fire breath + 50 always on map = hunter dead,

Logged