Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Custom creature not working  (Read 2077 times)

Zombiecow99

  • Bay Watcher
  • ENEMIES! We Need Enemies
    • View Profile
Custom creature not working
« on: March 10, 2015, 07:51:24 pm »

I just made a custom creature but i cant find it in object testing arena or anywhere else in the game anyone know why?


If you wanted to see the raws for it here they are
Spoiler (click to show/hide)
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Custom creature not working
« Reply #1 on: March 10, 2015, 08:03:33 pm »

First thing that comes to mind is to ask where you saved the raws.

What file are they in? Did you put them into an existing set of raws, or is it its own file? If it is its own file, I have to ask if you made the proper headers, and if the file is named correctly.

Also, [INDIV_CONTROLLABLE] is an entity tag, not a creature tag.
Logged

Urist McCoder

  • Bay Watcher
    • View Profile
Re: Custom creature not working
« Reply #2 on: March 10, 2015, 08:38:27 pm »

I threw your creature raw into a test file and it works fine. just makes sure you have these headers
Spoiler (click to show/hide)
and make sure your file name starts with creature_
Logged

Zombiecow99

  • Bay Watcher
  • ENEMIES! We Need Enemies
    • View Profile
Re: Custom creature not working
« Reply #3 on: March 11, 2015, 09:11:47 am »

Yep i took out the indiv_controllable token and now it works but i made an entity(just copied the human and the only change i made was changing the creature from human to dogkin. i made a new region went in adventure mode but there was no Dogkin civ.Anyone know why.
« Last Edit: March 11, 2015, 09:14:47 am by Zombiecow99 »
Logged

Urist McCoder

  • Bay Watcher
    • View Profile
Re: Custom creature not working
« Reply #4 on: March 11, 2015, 09:27:04 am »

I told you make sure that your file is named creature_dogkin and that your file looks like this
Spoiler (click to show/hide)
and for the entity make sure your file is named entity_dogkin and that your file looks like this
Spoiler (click to show/hide)
Logged

Zombiecow99

  • Bay Watcher
  • ENEMIES! We Need Enemies
    • View Profile
Re: Custom creature not working
« Reply #5 on: March 11, 2015, 01:13:34 pm »

Thanks urist mccoder ill try that. Also one more question can you give a creature acid/poison spit attack and how. sorry for being a noob.
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Custom creature not working
« Reply #6 on: March 11, 2015, 01:19:47 pm »

Yes, you can. And don't worry about not knowing something. Everyone was new at one point.

Special attacks and such are known as interactions. Some examples range from a dragon's fire-breath or a magma crab's magma spit to an octopus spraying ink and disappearing within the water.

I'll give a simple example for you to use below:
Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Spit venom]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:MATERIAL:CREATURE_MAT:HELMET_SNAKE:VENOM:LIQUID_GLOB]
[CDI:VERB:spit a glob of venom:spits a glob of venom:NA]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]

This will spit helmet snake venom at the target, just put it somewhere in your creature's definition. You can alternatively create your own poison material that can be given various syndrome effects.

Here are some links to the wiki that may help: Interactions and Syndromes.
Logged

Zombiecow99

  • Bay Watcher
  • ENEMIES! We Need Enemies
    • View Profile
Re: Custom creature not working
« Reply #7 on: March 11, 2015, 04:22:58 pm »

I told you make sure that your file is named creature_dogkin and that your file looks like this
Spoiler (click to show/hide)
and for the entity make sure your file is named entity_dogkin and that your file looks like this
Spoiler (click to show/hide)
What do you mean by file name? i should change entity_default to entity_dogkin?
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Custom creature not working
« Reply #8 on: March 11, 2015, 04:29:19 pm »

The name of the file and the beginning structure are important, as if they are not done correctly they may not work.

If you made your own file, it must start with a header, usually dependent on what type of file it is.

For examples, here below includes a creature file, entity file, and reaction file:

Spoiler (click to show/hide)

If you put your entity into the already existing entity_default file, it should be fine.
Logged

Zombiecow99

  • Bay Watcher
  • ENEMIES! We Need Enemies
    • View Profile
Re: Custom creature not working
« Reply #9 on: March 11, 2015, 04:33:11 pm »

I did put it into an the entity_default file but its not working


And here are the raws for it
Spoiler (click to show/hide)
« Last Edit: March 11, 2015, 04:36:21 pm by Zombiecow99 »
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Custom creature not working
« Reply #10 on: March 11, 2015, 04:34:32 pm »

Can you post your entity then, so that others can see if there is something wrong with it?
Logged

Urist McCoder

  • Bay Watcher
    • View Profile
Re: Custom creature not working
« Reply #11 on: March 11, 2015, 04:45:53 pm »

Where did you put the dogkin raws?
Logged

Zombiecow99

  • Bay Watcher
  • ENEMIES! We Need Enemies
    • View Profile
Re: Custom creature not working
« Reply #12 on: March 11, 2015, 04:48:32 pm »

I just put the creature in domestic and the civ in entity_defualt.
Logged

Urist McCoder

  • Bay Watcher
    • View Profile
Re: Custom creature not working
« Reply #13 on: March 11, 2015, 05:07:56 pm »

try moving the dogkin raws to creature_standard.txt
Logged

Zombiecow99

  • Bay Watcher
  • ENEMIES! We Need Enemies
    • View Profile
Re: Custom creature not working
« Reply #14 on: March 11, 2015, 05:11:59 pm »

Also now every region i make has no dwarves anyone know why. and i think all the cities are populated by elves i made an adventurer and everyone but me was an elf
« Last Edit: March 11, 2015, 05:17:07 pm by Zombiecow99 »
Logged
Pages: [1] 2