Bay 12 Games Forum

Please login or register.

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

Author Topic: Avatar mod (incomplete)  (Read 1283 times)

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Avatar mod (incomplete)
« on: November 30, 2007, 11:36:00 pm »

Okay, I'm trying to mod in a bunch of creatures from the anime Avatar: The Last Airbender. So, I'm kinda new to modding and I'm wondering if I'm doing it right. Here is the flying bison:
code:
 [CREATURE:BISON_FLYING]
   [NAME:flying bison:flying bison:flying bison]
   [TILE:'B'][COLOR:0:0:1]
   [MODVALUE:7]
   [LARGE_ROAMING][DIFFICULTY:3]
   [FLIER][AMPHIBIOUS]
   [GENPOWER:3][LARGE_ROAMING][NATURAL][MOUNT_EXOTIC][TRAINABLE][STOUT]
   [PETVALUE:700]
   [PREFSTRING:horns]
   [BODY:SIXLEGS:2EYES:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:4TOES]
   [SIZE:15]
   [MAXAGE:10:30]
   [ATTACK:MAIN:BYTOKEN:HEAD:headbutt:headbutts:3:4:BLUDGEON]
   [CHILD:5][CHILDNAME:flying bison baby:flying bison babies]
   [FAT:7]
   [ALL_ACTIVE]
   [BIOME_MOUNTAIN]
   [STANDARD_FLESH]
   [HOMEOTHERM:10067]
   [LAYERING:150]
   [SWIMS_INNATE][SWIM_SPEED:2500]

I was wondering if it could fly without wings... And I'm going to give it a second trample attack, but I got bored and haven't done it yet. Here's the body:

code:
 [BODY:SIXLEGS]
[BP:UB:upper body][UPPERBODY]
[BP:LB:lower body][CON:UB][LOWERBODY]
[BP:HD:head][CON:UB][HEAD]
[BP:RA:right front leg][CON:UB][LIMB]

[BP:LA:left front leg][CON:UB][LIMB]

[BP:RH:right front foot][CON:RA][STANCE]

[BP:LH:left front foot][CON:LA][STANCE]

[BP:RL:right middle leg][CON:LB][LIMB]

[BP:LL:left middle leg][CON:LB][LIMB]

[BP:RF:right middle foot][CON:RL][STANCE]

[BP:LF:left middle foot][CON:LL][STANCE]

[BP:RL:right rear leg][CON:LB][LIMB]

[BP:LL:left rear leg][CON:LB][LIMB]

[BP:RF:right rear foot][CON:RL][STANCE]

[BP:LF:left rear foot][CON:LL][STANCE]

This is what I'm most worried about. And if you want to know why I'm interested, the show has some awesome animals like porcupine bears and armadillo dogs and vampire bat wolves that I would love to have in the game, but I need help. So, tell me what I'm doing wrong and how attacks work because the wiki says that the strength of an attack affects the damage only but I heard that size does too... So, I need help and if I get it then I'll probably share the mods on here when I'm done.

[ December 02, 2007: Message edited by: penguinofhonor ]

Logged

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: Avatar mod (incomplete)
« Reply #1 on: December 01, 2007, 01:06:00 am »

If it's a flier I do not believe it needs wings to fly.  Not giving it a wing type body part should just make the game assume it flies with magic.  But if it has a body part that has the [FLYER] tag it will need at least 50% of those to fly. (If you have 2 wings and you lose one, you can still fly but not if you lose both.)

The damage I'm not so sure about.  Size has a significant effect on the damage, and so does the actual damage numbers.  But I do not know the exact ratio or damage calculation or anything.  I just go by a generalization.  Most natural creatures' bite attacks are 1:6. Which actually seems on the high end of those numbers when looking at the rest of the raws.  While a simple punch from a human is only 1:2.  It still hurts if a giant punches you(due to size, it's still 1:2), but I doubt it would do much damage to another giant sized creature.

I have never seen Avatar..but it sounds interesting.
EDIT: Looking closer at the legs it may get confused as to what leg to put which foot on. I would reccomend adding a letter to verify for the game engine. For example...(additions italicized)
[BP:FRA:right front leg][CON:UB][LIMB]


[BP:FLA:left front leg][CON:UB][LIMB]

[BP:FRH:right front foot][CON:FRA][STANCE]

[BP:FLH:left front foot][CON:FLA][STANCE]

Then replace the F with an M for the middle legs, then with a B for the back legs.

[ December 01, 2007: Message edited by: Greiger ]

Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: Avatar mod (incomplete)
« Reply #2 on: December 01, 2007, 09:24:00 am »

Thanks with that. What about attacks? Am I getting the headbutt attack right? I also want a trample one as I have mentioned and I'll probably steal it off the elephant.

And I think my friend said that they use their big fluffy tails to make enough wind to fly, I wouldn't know because I've only seen a few episodes. But the animals sound awesome, so in they go.

Also, I forgot to mention the turtle-ducks, platypus bears, and other stuff.

[ December 01, 2007: Message edited by: penguinofhonor ]

Logged

Metal Chao

  • Bay Watcher
    • View Profile
Re: Avatar mod (incomplete)
« Reply #3 on: December 01, 2007, 10:01:00 am »

You may have to edit one of the body parts (probably the tail, if your previous post is correct) and add [FLIER] or whatever the wings have to it.
This has the added bonus that if it breaks it falls to the ground, I think, which should be pretty funny.
Logged

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: Avatar mod (incomplete)
« Reply #4 on: December 01, 2007, 10:37:00 am »

I edited it a bit, see any more problems?
code:
[CREATURE:BISON_FLYING]
   [NAME:flying bison:flying bison:flying bison]
   [TILE:'B'][COLOR:0:0:1]
   [MODVALUE:7]
   [LARGE_ROAMING][DIFFICULTY:3]
   [FLIER][AMPHIBIOUS]
   [GENPOWER:3][LARGE_ROAMING][NATURAL][MOUNT_EXOTIC][TRAINABLE][STOUT]
   [PETVALUE:700]
   [PREFSTRING:horns]
   [PREFSTRING:tails]
   [PREFSTRING:grace]
   [BODY:SIXLEGS:2EYES:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:4TOES:2HORNS]
   [SIZE:15]
   [MAXAGE:10:30]
   [ATTACK:MAIN:BYTOKEN:HEAD:headbutt:headbutts:2:3:BLUDGEON]
   [ATTACK:SECOND:BYTYPE:STANCE:kick:kicks:1:2:BLUDGEON]
   [ATTACK:SECOND:BYTOKEN:RHORN:gore:gores:1:4:GORE]
   [ATTACK:SECOND:BYTOKEN:LHORN:gore:gores:1:4:GORE]
   [CHILD:5][CHILDNAME:flying bison baby:flying bison babies]
   [FAT:7]
   [ALL_ACTIVE]
   [BIOME_MOUNTAIN]
   [STANDARD_FLESH]
   [HOMEOTHERM:10067]
   [LAYERING:150]
   [SWIMS_INNATE][SWIM_SPEED:1800]


And the body (with tail):
code:
[BODY:SIXLEGS]
[BP:UB:upper body][UPPERBODY]
[BP:LB:lower body][CON:UB][LOWERBODY]
[BP:HD:head][CON:UB][HEAD]
[BP:FRA:right front leg][CON:UB][LIMB]

[BP:FLA:left front leg][CON:UB][LIMB]

[BP:FRH:right front foot][CON:FRA][STANCE]

[BP:FLH:left front foot][CON:FLA][STANCE]

[BP:MRL:right middle leg][CON:LB][LIMB]

[BP:MLL:left middle leg][CON:LB][LIMB]

[BP:MRF:right middle foot][CON:FRL][STANCE]

[BP:MLF:left middle foot][CON:FLL][STANCE]

[BP:BRL:right rear leg][CON:LB][LIMB]

[BP:BLL:left rear leg][CON:LB][LIMB]

[BP:BRF:right rear foot][CON:FRL][STANCE]

[BP:BLF:left rear foot][CON:FLL][STANCE]

[BP:TL:tail][CON:LB][LIMB][FLIER]

For anyone who doesn't know, this is what I'm aiming at (sorry for the small picture, it's the best one I could find quickly):

Will the game automatically make a left and right horn? And does it place them on the head, or does it matter? And should I leave HUMANOID_JOINTS in there even if it's not humanoid? I would think that it only made the joints have humanoid properties.

Logged

Metal Chao

  • Bay Watcher
    • View Profile
Re: Avatar mod (incomplete)
« Reply #5 on: December 01, 2007, 11:57:00 am »

Change [HEAD] to [2HEAD_HORN] and remove [2HORNS].
It won't automatically create body parts, you have to define them yourself, but in this case there's already a head with 2 horns.

Unless you want it to have:

[BP:RUA_J:right shoulder][CON:RUA][JOINT][SMALL][INTERNAL]


[BP:LUA_J:left shoulder][CON:LUA][JOINT][SMALL][INTERNAL]

[BP:RLA_J:right elbow][CON:RLA][JOINT][SMALL][INTERNAL]

[BP:LLA_J:left elbow][CON:LLA][JOINT][SMALL][INTERNAL]

[BP:RH_J:right wrist][CON:RH][JOINT][SMALL][INTERNAL]

[BP:LH_J:left wrist][CON:LH][JOINT][SMALL][INTERNAL]

[BP:RUL_J:right hip][CON:RUL][JOINT][SMALL][INTERNAL]

[BP:LUL_J:left hip][CON:LUL][JOINT][SMALL][INTERNAL]

[BP:RLL_J:right knee][CON:RLL][JOINT][SMALL][INTERNAL]

[BP:LLL_J:left knee][CON:LLL][JOINT][SMALL][INTERNAL]

[BP:RF_J:right ankle][CON:RF][JOINT][SMALL][INTERNAL]

[BP:LF_J:left ankle][CON:LF][JOINT][SMALL][INTERNAL]

then you should probably remove humanoid joints.

Logged

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: Avatar mod (incomplete)
« Reply #6 on: December 01, 2007, 01:27:00 pm »

I'm going to assume that [2HEAD_HORN] doesn't give it two heads.

What should I do about the joints? Can it function properly without any assigned?

Also: I have started the otter penguin.

code:
[CREATURE:PENGUIN_OTTER]
   [NAME:otter penguin:otter penguins:otter penguin]
   [TILE:'P'][COLOR:1:0:0]
   [LARGE_ROAMING][AMPHIBIOUS]
   [PREFSTRING:webbed feet]
   [PREFSTRING:flippers]
   [PREFSTRING:use as sleds]
   [BODY:HUMANOID_FOURFLIPPERS:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH]
   [GRASSTRAMPLE:0]
   [FAT:3]
   [DIURNAL]
   [MODVALUE:2]
   [POPULATION_NUMBER:15:30]
   [CLUSTER_NUMBER:3:7]
   [GENPOWER:2]
   [BENIGN][MEANDERER][NATURAL][PET]
   [PETVALUE:100]
   [SIZE:6]
   [MAXAGE:10:20]
   [ATTACK:MAIN:BYTYPE:LIMB:smack:smacks:1:1:BLUDGEON][ATTACKFLAG_WITH]
   [CHILD:1][CHILDNAME:otter penguin chick:otter penguin chicks]
   [BIOME_TUNDRA]
   [STANDARD_FLESH]
   [HOMEOTHERM:10067]
   [LAYERING:200]
   [SWIMS_INNATE][SWIM_SPEED:1800]


And the body:
code:
[BODY:HUMANOID_FOURFLIPPERS]
[BP:UB:upper body][UPPERBODY]
[BP:LB:lower body][CON:UB][LOWERBODY]
[BP:HD:head][CON:UB][HEAD]
[BP:URF:upper right flipper][CON:UB][LIMB]

[BP:ULF:upper left flipper][CON:UB][LIMB]

[BP:LRF:lower right flipper][CON:UB][LIMB]

[BP:LLF:lower left flipper][CON:UB][LIMB]

[BP:RUL:right upper leg][CON:LB][LIMB]

[BP:LUL:left upper leg][CON:LB][LIMB]

[BP:RLL:right lower leg][CON:RUL][LIMB]

[BP:LLL:left lower leg][CON:LUL][LIMB]

[BP:RF:right foot][CON:RLL][STANCE]

[BP:LF:left foot][CON:LLL][STANCE]


What I'm shooting for:

I haven't worked on it so much, so it may accidentally still have some of the properties of the elk on which it's based.

Logged

Metal Chao

  • Bay Watcher
    • View Profile
Re: Avatar mod (incomplete)
« Reply #7 on: December 01, 2007, 02:03:00 pm »

I think joints are just for wounds. They don't have any obvious tags for effects.
And yeah, [2HEAD_HORN] really means [HEAD_2HORNS]. I don't know why Toady wrote it like that.
Logged

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: Avatar mod (incomplete)
« Reply #8 on: December 01, 2007, 02:54:00 pm »

So this should work fine?
code:
[CREATURE:BISON_FLYING]
   [NAME:flying bison:flying bison:flying bison]
   [TILE:'B'][COLOR:0:0:1]
   [MODVALUE:7]
   [LARGE_ROAMING][DIFFICULTY:3]
   [FLIER][AMPHIBIOUS]
   [GENPOWER:3][LARGE_ROAMING][NATURAL][MOUNT_EXOTIC][TRAINABLE][STOUT]
   [PETVALUE:700]
   [PREFSTRING:horns]
   [PREFSTRING:tails]
   [PREFSTRING:grace]
   [BODY:SIXLEGS:2EYES:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:3TOES]
   [SIZE:15]
   [MAXAGE:10:30]
   [ATTACK:MAIN:BYTOKEN:HEAD:headbutt:headbutts:2:3:BLUDGEON]
   [ATTACK:SECOND:BYTYPE:STANCE:kick:kicks:1:2:BLUDGEON]
   [ATTACK:SECOND:BYTOKEN:RHORN:gore:gores:1:4:GORE]
   [ATTACK:SECOND:BYTOKEN:LHORN:gore:gores:1:4:GORE]
   [CHILD:5][CHILDNAME:flying bison baby:flying bison babies]
   [FAT:7]
   [ALL_ACTIVE]
   [BIOME_MOUNTAIN]
   [STANDARD_FLESH]
   [HOMEOTHERM:10067]
   [LAYERING:150]
   [SWIMS_INNATE][SWIM_SPEED:1800]

code:
[BODY:SIXLEGS]
[BP:UB:upper body][UPPERBODY]
[BP:LB:lower body][CON:UB][LOWERBODY]
[BP:HD:head][CON:UB][2HEAD_HORN]
[BP:FRA:right front leg][CON:UB][LIMB]

[BP:FLA:left front leg][CON:UB][LIMB]

[BP:FRH:right front foot][CON:FRA][STANCE]

[BP:FLH:left front foot][CON:FLA][STANCE]

[BP:MRL:right middle leg][CON:LB][LIMB]

[BP:MLL:left middle leg][CON:LB][LIMB]

[BP:MRF:right middle foot][CON:FRL][STANCE]

[BP:MLF:left middle foot][CON:FLL][STANCE]

[BP:BRL:right rear leg][CON:LB][LIMB]

[BP:BLL:left rear leg][CON:LB][LIMB]

[BP:BRF:right rear foot][CON:FRL][STANCE]

[BP:BLF:left rear foot][CON:FLL][STANCE]

[BP:TL:tail][CON:LB][LIMB][FLIER]

And the elephant has tusks listed as a part seperate from their body, their tusk attack is also BYTOKEN instead of BYTYPE.

Next on the list is probably some vermin.
The elbow leech:
   
Polar mice (bad pic):
 

Edit: What does the [PATTERNFLIER] tag do exactly? Should I have it?

[ December 01, 2007: Message edited by: penguinofhonor ]

[ December 01, 2007: Message edited by: penguinofhonor ]

Logged

Metal Chao

  • Bay Watcher
    • View Profile
Re: Avatar mod (incomplete)
« Reply #9 on: December 01, 2007, 03:26:00 pm »

Yes I believe so.

And I am afraid I have no idea what PATTERNFLIER does, except that some people told me that you needed it to make a flying civilization.
I guess you'll just have to test it ingame with and without to see.

Logged

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: Avatar mod (incomplete)
« Reply #10 on: December 01, 2007, 03:57:00 pm »

Hmm... Anyway, that seems to be the final version unless I want to fine-tune it later by giving it 5 stomachs.

Next, tell me what's wrong with the penguin.

Logged

Metal Chao

  • Bay Watcher
    • View Profile
Re: Avatar mod (incomplete)
« Reply #11 on: December 01, 2007, 04:53:00 pm »

Looks fine to me.
Really the best way to find out is to go into the game and find one.

It helps if you set the frequency up and set it to all biomes while you're testing.

Logged

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: Avatar mod (incomplete)
« Reply #12 on: December 01, 2007, 05:00:00 pm »

Wait, should the flying bison have the [PET] tag if I want it trainable? Or will just the [TRAINABLE] tag do?
Logged

Metal Chao

  • Bay Watcher
    • View Profile
Re: Avatar mod (incomplete)
« Reply #13 on: December 01, 2007, 05:05:00 pm »

You'll need pet too, or you can't bring them with you or tame them at all.

[ December 01, 2007: Message edited by: Metal Chao ]

Logged

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: Avatar mod (incomplete)
« Reply #14 on: December 01, 2007, 05:37:00 pm »

Yay! Version 1.0 of the bison (the penguin has a couple quick changes still):
code:
[CREATURE:BISON_FLYING]
   [NAME:flying bison:flying bison:flying bison]
   [TILE:'B'][COLOR:0:0:1]
   [MODVALUE:7]
   [LARGE_ROAMING][DIFFICULTY:3]
   [FLIER][AMPHIBIOUS]
   [GENPOWER:3][LARGE_ROAMING][NATURAL][MOUNT_EXOTIC][TRAINABLE][STOUT][PET]
   [PETVALUE:700]
   [PREFSTRING:horns]
   [PREFSTRING:tails]
   [PREFSTRING:grace]
   [BODY:SIXLEGS:2EYES:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:3TOES]
   [SIZE:15]
   [MAXAGE:10:30]
   [ATTACK:MAIN:BYTOKEN:HEAD:headbutt:headbutts:2:3:BLUDGEON]
   [ATTACK:SECOND:BYTYPE:STANCE:kick:kicks:1:2:BLUDGEON]
   [ATTACK:SECOND:BYTOKEN:RHORN:gore:gores:1:4:GORE]
   [ATTACK:SECOND:BYTOKEN:LHORN:gore:gores:1:4:GORE]
   [CHILD:5][CHILDNAME:flying bison baby:flying bison babies]
   [FAT:7]
   [ALL_ACTIVE]
   [BIOME_MOUNTAIN]
   [STANDARD_FLESH]
   [HOMEOTHERM:10067]
   [LAYERING:150]
   [SWIMS_INNATE][SWIM_SPEED:1800]

This should be okay for the polar mouse:

code:
[CREATURE:MOUSE_POLAR]
   [NAME   :polar mouse   :polar mice   :polar mouse]
   [TILE:249][COLOR:7:0:1]
   [PENETRATEPOWER:2][FREQUENCY:20][VERMIN_GROUNDER]
   [SMALL_REMAINS][NATURAL][PET][GOOD]
   [SPEED:2900]
   [GNAWER:gnawed]
   [PETVALUE:10]
   [NOT_BUTCHERABLE]
   [PREFSTRING:cat-like tails]
   [PREFSTRING:cheerfulness]
   [CREPUSCULAR][DIURNAL]
   [BIOME_GLACIER][BIOME_TUNDRA]
   [TRIGGERABLE_GROUP:5:50]
   [STANDARD_FLESH]
   [HOMEOTHERM:10067]
   [LAYERING:200]
   [SWIMS_INNATE][SWIM_SPEED:2500]
   [POPULATION_NUMBER:250:400]

So what exactly does the temperature in [HOMEOTHERM:#####] tag translate to? And what does the [HORN] tag do (not in any of the body parts or anything, just kind of out there)? My best guess is that Toady put it in there because he wanted to let you get horns from slain animals but it didn't get implemented and was therefore forgotten. And what to the different values in [LAYERING:###] translate to in cold tolerance?

[ December 01, 2007: Message edited by: penguinofhonor ]

[ December 02, 2007: Message edited by: penguinofhonor ]

Logged
Pages: [1] 2