Bay 12 Games Forum

Please login or register.

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

Author Topic: Avatar Mod  (Read 2861 times)

janglur

  • Bay Watcher
  • +Blood Soup+
    • View Profile
Avatar Mod
« on: March 17, 2009, 05:43:08 pm »

So, i'm going to begin making a mod to add the crazy wildlife from Avatar:  The Last Airbender.


But, i'm a bit stupid.

So, I have some questions.

On my first animal, the Shirsu, I am trying to make it accurate.
It's blind, but sees by smell.  Is there a way to implement this?  The beast literally has no eyes.  It can see an incredible distance, though, by scent.

And it's tongue can sting and paralyze it's prey.  How's this done?  Or, at the least, how does one make the tongue useable for an attack/make it/whateverIneedtodo?

Finally, is extracts/venom/milking fixed yet?


Any help would be appreciated!  I'm reading the modding stuff on the wiki now, and will remove questions as I acheive them.


Edit:

How's this look so far?
Code: [Select]
[CREATURE:SHIRSU]
[NAME:shirsu:shirsus:shirsu]
[TILE:'$'][COLOR:6:0:0]
[MODVALUE:4]
[GENPOWER:2]
[PETVALUE:499]
[GRASSTRAMPLE:0][NATURAL][PET][MOUNT][TRAINABLE][SAVAGE][LARGE_ROAMING][LITTERSIZE:1:2][NO_WINTER][PARALYZEIMMUNE][SLOW_LEARNER]
[CARNIVORE][EXTRAVISION][FREQUENCY:2][LARGE_PREDATOR]
[BIOME:ANY_TEMPERATE_FOREST][BIOME:ANY_SHRUBLAND][BIOME:ANY_SAVANNA][TRADE_CAPACITY:500]
[PREFSTRING:incredible sense of smell]
[BODY:QUADRUPED:TAIL:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH]
[BODYGLOSS:CLAW_HAND:hand:claw][BODYGLOSS:CLAW_FOOT:foot:claw]
[SIZE:13]
[MAXAGE:50:300]
[ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:5:GORE][ATTACKFLAG_CANLATCH]
[ATTACK:MAIN:BYTYPE:GRASP:claw:claws:1:3:SLASH][ATTACKFLAG_WITH]
[CHILD:1][CHILDNAME:shirsu pug:shirsu puggles]
[FAT:2]
[PERSONALITY:ACTIVITY_LEVEL:25:70:100]
[PERSONALITY:ANGER:40:80:100]
[PERSONALITY:IMMODERATION:20:60:100]
[STANDARD_FLESH]
[HOMEOTHERM:10067]
[LAYERING:175]
[SWIMS_LEARNED][SWIM_SPEED:3500]

« Last Edit: March 17, 2009, 06:46:26 pm by janglur »
Logged

Im_Sparks

  • Bay Watcher
  • Half man. Half machine. All messiah.
    • View Profile
Re: Avatar Mod
« Reply #1 on: March 17, 2009, 06:09:23 pm »

So, i'm going to begin making a mod to add the crazy wildlife from Avatar:  The Last Airbender.


But, i'm a bit stupid.

I can see that, from the lack of capitalization on the "I"s.

I jest, I jest. add in the [BLIND] tag, and [PET_EXOTIC] if you want it to be tamed. If you want it to be aggressive I believe it's the [LARGE_PREDATOR] tag that does it. I believe poison is bugged.
Logged
Well treat me like the disease like the rats and the fleas, A-ha-ha! A-ha-ha!
Well treat me like the sea oh so salty and mean, A-ha-ha! A-ha-ha!
Let's shake hands if you want but soon both hands are gone, A-ha-ha!
Cut me down like a tree like the lumber or weeds, well discard who you please like the leaves off a tree. Drag me out of the sea and then teach me to breath. Give me forced health till I wish death on myself. Ah! Ha! Ha!
March on! March on! March on! March on! MARCH ON!

janglur

  • Bay Watcher
  • +Blood Soup+
    • View Profile
Re: Avatar Mod
« Reply #2 on: March 17, 2009, 06:19:19 pm »

Doesn't [PET_EXOTIC] mean it requires a dungeon master?

I want this to be tameable normally.
Logged

Sir_Geo

  • Bay Watcher
  • !
    • View Profile
Re: Avatar Mod
« Reply #3 on: March 17, 2009, 06:22:32 pm »

then just add [PET] if you want it to be a normally tame animal.
[COMMON_DOMESTIC] is something you should probably add if you want it to be an animal that you can take on embark.
[trAINABLE] is added if you want war/hunting shirshus.
Logged
The logistical problems dealing with a private space colony are at least as bad as dealing with the zombies.

http://mkv25.net/dfma/map-5403-fortressdipped
Fortressdipped, my ice castle.

janglur

  • Bay Watcher
  • +Blood Soup+
    • View Profile
Re: Avatar Mod
« Reply #4 on: March 17, 2009, 06:46:41 pm »

Posted the Shirsu beta.  =)
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Avatar Mod
« Reply #5 on: March 18, 2009, 01:55:34 am »

Add these body parts to body_xxx.txt

[BODY:NOSE_SIGHT]
[BP:NOSE:nose][CONTYPE:HEAD][SMELL][SMALL][SIGHT]

[BODY:TOUNGE]
[BP:TONGUE:tongue][CON:MOUTH][EMBEDDED][SMALL]

Change the NOSE in the creature entry to NOSE_SIGHT and that should let it 'see' with its nose. Also add the TOUNGE tag to the end of the list of bodyparts and add this attack.

[ATTACK:MAIN:BYTYPE:TOUNGE:sting:stings:1:3:GORE][ATTACKFLAG_WITH][SPECIALATTACK_INJECT_EXTRACT:50:100]

Also add the tags [EXTRACT:poison:7:0:1] and [EXTRACT_PARALYZE] to the creature somewhere.

This should give it an attack where it stings you with its tounge and injects a poison that paralyzes you.
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.

janglur

  • Bay Watcher
  • +Blood Soup+
    • View Profile
Re: Avatar Mod
« Reply #6 on: March 18, 2009, 02:55:05 am »

Doesn't seem to work.  It neither is embarkable, nor seems to appear in game.  What'd I mess up?
Code: [Select]
[CREATURE:SHIRSU]
[NAME:shirsu:shirsus:shirsu]
[TILE:'$'][COLOR:6:0:0]
[MODVALUE:4]
[GENPOWER:2]
[PETVALUE:499]
[GRASSTRAMPLE:0][NATURAL][COMMON_DOMESTIC][PET][MOUNT][TRAINABLE][SAVAGE][LARGE_ROAMING][LITTERSIZE:1:2][NO_WINTER][PARALYZEIMMUNE][SLOW_LEARNER]
[CARNIVORE][EXTRAVISION][FREQUENCY:2][LARGE_PREDATOR]
[EXTRACT:poison:7:0:1][EXTRACT_PARALYZE]
[BIOME:ANY_TEMPERATE_FOREST][BIOME:ANY_SHRUBLAND][BIOME:ANY_SAVANNA][TRADE_CAPACITY:500]
[PREFSTRING:incredible sense of smell]
[BODY:QUADRUPED:TAIL:2EARS:NOSE_SIGHT:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH:TOUNGE]
[BODYGLOSS:CLAW_HAND:hand:claw][BODYGLOSS:CLAW_FOOT:foot:claw]
[SIZE:13]
[MAXAGE:50:300]
[ATTACK:MAIN:BYTYPE:TOUNGE:sting:stings:1:2:GORE][ATTACKFLAG_WITH][SPECIALATTACK_INJECT_EXTRACT:50:100]
[ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:5:GORE][ATTACKFLAG_CANLATCH]
[ATTACK:SECOND:BYTYPE:GRASP:claw:claws:1:3:SLASH][ATTACKFLAG_WITH]
[CHILD:1][CHILDNAME:shirsu pug:shirsu puggles]
[FAT:2]
[PERSONALITY:ACTIVITY_LEVEL:25:70:100]
[PERSONALITY:ANGER:40:80:100]
[PERSONALITY:IMMODERATION:20:60:100]
[STANDARD_FLESH]
[HOMEOTHERM:10067]
[LAYERING:175]
[SWIMS_LEARNED][SWIM_SPEED:3500]


Logged

Blakmane

  • Bay Watcher
    • View Profile
Re: Avatar Mod
« Reply #7 on: March 18, 2009, 06:05:12 am »

what is the error log spitting out?
Logged

janglur

  • Bay Watcher
  • +Blood Soup+
    • View Profile
Re: Avatar Mod
« Reply #8 on: March 18, 2009, 01:28:53 pm »

It's not spitting out anything.
Logged

mission0

  • Bay Watcher
  • He is on a mission!
    • View Profile
Re: Avatar Mod
« Reply #9 on: March 18, 2009, 01:52:11 pm »

I think the [COMMON_DOMESTIC] and the [LARGE_PREDATOR] [LARGE_ROAMING] tags
Logged
Oh wait, "insane" doesn't work on this forum.
Crap, can't think of an alternative.

Shakma

  • Bay Watcher
    • View Profile
Re: Avatar Mod
« Reply #10 on: March 18, 2009, 01:56:18 pm »

need to restart DF and regen a world.  Then it should work if you have it in the right location.
Logged

mission0

  • Bay Watcher
  • He is on a mission!
    • View Profile
Re: Avatar Mod
« Reply #11 on: March 18, 2009, 01:59:59 pm »

need to restart DF and regen a world.  Then it should work if you have it in the right location.

Heh or do that, perhaps I should stop giving advice...
Logged
Oh wait, "insane" doesn't work on this forum.
Crap, can't think of an alternative.

janglur

  • Bay Watcher
  • +Blood Soup+
    • View Profile
Re: Avatar Mod
« Reply #12 on: March 18, 2009, 02:04:32 pm »

I did close and regen.  Still not showing up.
Logged

Shakma

  • Bay Watcher
    • View Profile
Re: Avatar Mod
« Reply #13 on: March 18, 2009, 02:09:43 pm »

Try replacing everything but the name with the stuff from a dog or some pet you know will show up and see what happens.  Then you'll know if it's a tag in there giving you trouble or something else.
Logged

janglur

  • Bay Watcher
  • +Blood Soup+
    • View Profile
Re: Avatar Mod
« Reply #14 on: March 18, 2009, 02:30:03 pm »

But what could the problem tag be?
Logged
Pages: [1] 2