Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Playble Dragons mod?  (Read 725 times)

MetalGear

  • Bay Watcher
    • View Profile
Playble Dragons mod?
« on: September 21, 2008, 11:20:08 am »

Hey all.
So, I'm kinda new here and I've just started experimenting with modding. I tried to make dragons playable in Adventure mode. I made the Entity and the creature itself (I just modified the dragon raw to make a new creature), generated a new world, but I can't play as my wyrms (that's what my modded creature is called). I have the [INDIV_CONTROLLABLE] tag and everything. I don't know what I'm doing wrong...I'll post my raws here and hopefully someone can point out my mistake. Here goes...

{The Entity Folder}

entity_default

[OBJECT:ENTITY]

[ENTITY:WYRM]
   [MOUNTAIN_SETTLEMETS]
   [CREATURE:WYRM]
        [INDIV_CONTROLLABLE]
   [trANSLATION:DRAGON]
   [ADVENTURE_TIER:4]
   [trANSLATION:DRAGON]
      [BIOME_SUPPORT:ANY_WETLAND:2]
      [BIOME_SUPPORT:ANY_DESERT:3]
      [BIOME_SUPPORT:ANY_FOREST:1]
      [BIOME_SUPPORT:MOUNTAIN:4]
      [BIOME_SUPPORT:ANY_GRASSLAND:1]
     [BIOME_SUPPORT:ANY_SAVANNA:1]
      [BIOME_SUPPORT:ANY_SHRUBLAND:1]
      [BIOME_SUPPORT:ANY_RIVER:2]
      [START_BIOME:MOUNTAIN]
      [SELECT_SYMBOL:ALL:EVIL]
      [SELECT_SYMBOL:ALL:VIOLENT]
      [SELECT_SYMBOL:ALL:DEATH]
      [SELECT_SYMBOL:ALL:UNTOWARD]
      [CULL_SYMBOL:ALL:DOMESTIC]
      [CULL_SYMBOL:ALL:FLOWERY]
      [CULL_SYMBOL:ALL:HOLY]
      [CULL_SYMBOL:ALL:PEACE]
      [CULL_SYMBOL:ALL:NEGATOR]
      [CULL_SYMBOL:ALL:GOOD]
      [FRIENDLY_COLOR:7:0:0]
      [DEFAULT_SITE_TYPE:CAVE]
      [liKES_SITE:CAVE]
      [TOLERATES_SITE:CAVE]
      [ACTIVE_SEASON:SPRING]
      [ACTIVE_SEASON:SUMMER]
      [ACTIVE_SEASON:AUTUMN]
      [ACTIVE_SEASON:WINTER]
      [MAX_STARTING_CIV_NUMBER:3]
      [START_GROUP_NUMBER:1]
      [MAX_POP_NUMBER:200]
      [MAX_SITE_POP_NUMBER:20]
      [ETHIC:KILL_ENTITY_MEMBER:ACCEPTABLE]
      [ETHIC:KILL_NEUTRAL:ACCEPTABLE]
      [ETHIC:KILL_ENEMY:ACCEPTABLE]
      [ETHIC:KILL_ANIMAL:ACCEPTABLE]
      [ETHIC:KILL_PLANT:ACCEPTABLE]
      [ETHIC:TORTURE_AS_EXAMPLE:ACCEPTABLE]
      [ETHIC:TORTURE_FOR_INFORMATION:ACCEPTABLE]
      [ETHIC:TORTURE_FOR_FUN:ACCEPTABLE]
      [ETHIC:TORTURE_ANIMALS:ACCEPTABLE]
      [ETHIC:TREASON:ACCEPTABLE]
      [ETHIC:OATH_BREAKING:ACCEPTABLE]
      [ETHIC:LYING:ACCEPTABLE]
      [ETHIC:VANDALISM:ACCEPTABLE]
      [ETHIC:TRESPASSING:NOT_APPLICABLE]
      [ETHIC:THEFT:NOT_APPLICABLE]
      [ETHIC:ASSAULT:ACCEPTABLE]
      [ETHIC:SLAVERY:UNTHINKABLE]
      [ETHIC:EAT_SAPIENT_OTHER:ACCEPTABLE]
      [ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]
      [ETHIC:MAKE_TROPHY_SAME_RACE:ACCEPTABLE]
      [ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
      [ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]

{The Creature Folder}

creatures_modded

[OBJECT:CREATURE]

[CREATURE:WYRM]
   [NAME:wyrm:wyrm:wyrm]
   [TILE:'@'][COLOR:7:0:0]
   [MODVALUE:50]
   [DRAGONFIREBREATH][FIREIMMUNE_SUPER]
   [FANCIFUL]
   [MEGABEAST]
   [GENPOWER:5]
   [FREQUENCY:5]
   [PETVALUE:10000]
   [GRASSTRAMPLE:50]
   [BONECARN]
   [BUILDINGDESTROYER:2]
   [NOFEAR]
   [liKES_FIGHTING]
   [PREFSTRING:terrible majesty]
   [BODY:QUADRUPED:TAIL:2EYES:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH]
   [BODYGLOSS:CLAW_FOOT]
   [SIZE:20]
   [ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:9:15:GORE][ATTACKFLAG_CANLATCH]
   [FAT:10]
   [ALL_ACTIVE]
   [BIOME_ANY_LAND]
   [STANDARD_FLESH]
   [SWIMS_INNATE][SWIM_SPEED:2500]
   [HOMEOTHERM:10040]

Soooo...whats wrong with my wyrms?

   
Logged

Star Weaver

  • Bay Watcher
    • View Profile
Re: Playble Dragons mod?
« Reply #1 on: September 21, 2008, 12:03:52 pm »

Let's see ...

There's no [Mountain_settlements] tag, according to the wiki.

There's no [trANSLATION:DRAGON] unless you've made a language_dragon.txt file.

Your creature dosn't have [INTELLIGENT] or any of its implications.

Hm ...

Your creature and entity have the same name. The base game avoids this. Try changing the entity to WYRM_ENTITY or something just to make sure that it's not getting confused.
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Playble Dragons mod?
« Reply #2 on: September 21, 2008, 12:06:22 pm »

The name thing shouldn't have any effect, but yeah, you need to have either [INTELLIGENT] or the [CAN_CIV] tag in order for a creature to form civilizations. [INTELLIGENT] is probably better for a playable civilization.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

MetalGear

  • Bay Watcher
    • View Profile
Re: Playble Dragons mod?
« Reply #3 on: September 21, 2008, 12:08:40 pm »

Ahh...thanks, but where do I put those tags?
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Playble Dragons mod?
« Reply #4 on: September 21, 2008, 12:11:59 pm »

Just add them anywhere to the creature. Order of the tags doesn't matter at all in a creature as long as the [CREATURE:whatever] is at the top. (There is an exception to this inside the body tag, but that doesn't generally effect anything unless you have done some crazy custom modding.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.