Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Modding help needed desperately!  (Read 652 times)

Kyubee

  • Bay Watcher
  • modding is hard
    • View Profile
Modding help needed desperately!
« on: January 19, 2017, 01:33:04 am »

So, I made a custom entity, using a custom race, but whenever a world gens them, it crashes... can someone fix this? Either tell me what I did wrong or

The raws in question:
Spoiler (click to show/hide)


In case somehow the creature (Based around vanilla troglodytes) is the problem:

Spoiler (click to show/hide)
Logged
My mod: http://www.bay12forums.com/smf/index.php?topic=176501.0
The litten is wandering around the dump now, occasionally exploding.

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Modding help needed desperately!
« Reply #1 on: January 19, 2017, 01:38:59 am »

Does the errorlog say anything?
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Kyubee

  • Bay Watcher
  • modding is hard
    • View Profile
Re: Modding help needed desperately!
« Reply #2 on: January 19, 2017, 01:41:00 am »

Does the errorlog say anything?

Update: found it. It seems it's some incorrect ethics and, less game-breakingly a typo in the creature tokens
« Last Edit: January 19, 2017, 01:47:34 am by Kyubee »
Logged
My mod: http://www.bay12forums.com/smf/index.php?topic=176501.0
The litten is wandering around the dump now, occasionally exploding.

Kyubee

  • Bay Watcher
  • modding is hard
    • View Profile
Re: Modding help needed desperately!
« Reply #3 on: January 19, 2017, 01:55:20 am »

or not! great... Its not giving me any helpful info now. Think you can find out whats wrong?

The "fixed" raws

Spoiler (click to show/hide)

Spoiler (click to show/hide)

at least test them on a clean install of DF and see if they work for you some time
« Last Edit: January 19, 2017, 02:01:47 am by Kyubee »
Logged
My mod: http://www.bay12forums.com/smf/index.php?topic=176501.0
The litten is wandering around the dump now, occasionally exploding.

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Modding help needed desperately!
« Reply #4 on: January 19, 2017, 12:15:57 pm »

I noticed a few things.

In the creature:

Code: [Select]
[BIOME:SUBTERRANEAN_CHASM]
   [UNDERGROUND_DEPTH:1:2]
   [LARGE_ROAMING][FREQUENCY:100][NATURAL]
   [POPULATION_NUMBER:15:30]
   [CLUSTER_NUMBER:5:10]
   [LARGE_PREDATOR]

Except for [NATURAL], these tags are unnecessary for a sentient creature.

The entity works if you replace this:
Code: [Select]
[DEFAULT_SITE_TYPE:DARK_FORTRESS]
   [LIKES_SITE:DARK_FORTRESS]
   [TOLERATES_SITE:CITY]
   [TOLERATES_SITE:CAVE_DETAILED]
   [START_BIOME:ANY_LAND]
   [BIOME_SUPPORT:ALL_MAIN:1]
   [BIOME_SUPPORT:ANY_RIVER:1]


With this:
Code: [Select]
[DEFAULT_SITE_TYPE:CAVE_DETAILED]
[LIKES_SITE:CAVE_DETAILED]
[TOLERATES_SITE:CITY]
[TOLERATES_SITE:CAVE_DETAILED]
[EXCLUSIVE_START_BIOME:MOUNTAIN]
[SETTLEMENT_BIOME:ANY_FOREST]
[SETTLEMENT_BIOME:MOUNTAIN]
[SETTLEMENT_BIOME:ANY_GRASSLAND]
[SETTLEMENT_BIOME:ANY_SAVANNA]
[SETTLEMENT_BIOME:ANY_SHRUBLAND]
[BIOME_SUPPORT:ANY_FOREST:1]
[BIOME_SUPPORT:MOUNTAIN:3]
[BIOME_SUPPORT:ANY_GRASSLAND:1]
[BIOME_SUPPORT:ANY_SAVANNA:1]
[BIOME_SUPPORT:ANY_SHRUBLAND:1]
[BIOME_SUPPORT:ANY_RIVER:1]

You might be able to work it back towards what you wanted, but this solves it.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: Modding help needed desperately!
« Reply #5 on: January 19, 2017, 12:24:04 pm »

I doubt it caused the problem, but you've still got some things referring to them as dwarves. I think something like Markstrog and Hammertrog and the like would be the most appropriate, sounds cool too.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

Kyubee

  • Bay Watcher
  • modding is hard
    • View Profile
Re: Modding help needed desperately!
« Reply #6 on: January 19, 2017, 05:50:39 pm »

I doubt it caused the problem, but you've still got some things referring to them as dwarves. I think something like Markstrog and Hammertrog and the like would be the most appropriate, sounds cool too.

Good advice. This is my ssecond time testing this whole idea so
Logged
My mod: http://www.bay12forums.com/smf/index.php?topic=176501.0
The litten is wandering around the dump now, occasionally exploding.