Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: My creature keeps falling over/down.  (Read 1063 times)

Koliup

  • Bay Watcher
  • Vae Victus!
    • View Profile
My creature keeps falling over/down.
« on: August 16, 2009, 09:19:05 pm »

Seriously, look at this, I can't spot anything wrong with it.
Code: [Select]
[CREATURE:ANDROID]
[NAME:android:androids:android]
[TITLE:'A'][COLOR:1:0:1]
[MODVALUE:5]
[BIOME:MOUNTAIN]
[BIOME:ROCKY_WASTELAND]
[BIOME:SAND_DESERT]
[BIOME:TEMPERATE_SAVANNA]
[BIOME:TUNDRA]
[LARGE_ROAMING][FREQUENCY:20][DIFFICULTY:3]
[GENPOWER:5]
[CANOPENDOORS]
[NOT_BUTCHERABLE][NATURAL]
[INTELLIGENT]
[TRANCES]
[CAN_LEARN][CAN_SPEAK]
[NOPAIN][EXTRAVISION][NOBREATHE][NOSTUN][NONAUSEA][RECKLESS]
[NOSKULL][NOSKIN][NOBONES][NOMEAT][NOEXERT]
[BLOODTYPE:0]
[MAXAGE:900:1000]
[BUILDINGDESTROYER:2]
[PREFSTRING:inanimate objects]
[BODY:HUMANOID_SIMPLE:1EYES:2EARS:BOILER:EXHAUST_PIPE:HUMANOID_JOINTS:THROAT:NECK:SPINE:CPU:5FINGERS:5TOES]
[ITEMCORPSE:GEAR_ASSEMBLY:NO_SUBTYPE:METAL:IRON]
[ITEMCORPSE_QUALITY:5]
[CHILD:1][BABY:0][MULTIPLE_LITTER_COMMON]
[NOSMELLYROT]
[DIURNAL]
[SPEED:1000]
[SIZE:7]
[ATTACK:MAIN:BYTOKEN:HAND:swat:swats:1:8:BLUDGEON]
[ATTACK:SEC:BYTOKEN:FOOT:kick:kicks:1:4:BLUDGEON]
[CHILD:1][CHILDNAME:baby android:baby androids]
[DAMBLOCK:12]
[NO_DRINK][NO_EAT][NO_SLEEP]
[EQUIPS]
[SPEECH_MALE:human_male.txt]
[ALL_ACTIVE]
[MATERIAL:METAL:IRON]
[HOMEOTHERM:10071]
[SWIMS_LEARNED][SWIM_SPEED:5000]
[MUNDANE]
Logged

Neruz

  • Bay Watcher
  • I see you...
    • View Profile
Re: My creature keeps falling over/down.
« Reply #1 on: August 16, 2009, 09:40:33 pm »

If it's falling over, it's probably missing legs.

Johnny Chthonic

  • Bay Watcher
    • View Profile
Re: My creature keeps falling over/down.
« Reply #2 on: August 16, 2009, 10:42:33 pm »

Can you post the body_default entries for your custom parts?
Logged

Koliup

  • Bay Watcher
  • Vae Victus!
    • View Profile
Re: My creature keeps falling over/down.
« Reply #3 on: August 16, 2009, 10:53:49 pm »

I think I gave it legs.
Gonna post the custom body parts.
Code: [Select]
[BODY:BOILER]
[BP:BOILER:boiler][CONTYPE:UPPERBODY][CIRCULATION][INTERNAL][SMALL]

[BODY:CPU]
[BP:CPU:cpu][CONTYPE:HEAD][THOUGHT][INTERNAL][SMALL]

[BODY:EXHAUST_PIPE]
[BP:EXHAUST_PIPE:exhaust_pipe][CONTYPE:LOWERBODY][EXTERNAL][SMALL][GUTS]
Everything is small because I thought it might be weight.
Also, I'm gonna try something.
EDIT: It can also hold two shields and a sword, awesome.
« Last Edit: August 16, 2009, 10:57:38 pm by Koliup »
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: My creature keeps falling over/down.
« Reply #4 on: August 16, 2009, 11:21:48 pm »

The only thing that the tag [SMALL] is know to do is to cloak body parts much like the tag internal does.
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.

ein

  • Bay Watcher
  • 勝利の女神はここよ~ 早く捕まえてぇ~
    • View Profile
Re: My creature keeps falling over/down.
« Reply #5 on: August 17, 2009, 03:23:44 am »

Not sure why they fall over, but you should make them fully-grown at birth.
Makes more sense with robots anyway.

Koliup

  • Bay Watcher
  • Vae Victus!
    • View Profile
Re: My creature keeps falling over/down.
« Reply #6 on: August 17, 2009, 03:28:24 am »

True true, well, I managed to fix it by giving it its own body type, sort of, now it can't hold things, in any case, thank you for your help.
Logged

Dr. Melon

  • Bay Watcher
    • View Profile
Re: My creature keeps falling over/down.
« Reply #7 on: August 17, 2009, 12:16:42 pm »

Make sure you have [GRASP] tags for the hands.
Logged

Johnny Chthonic

  • Bay Watcher
    • View Profile
Re: My creature keeps falling over/down.
« Reply #8 on: August 17, 2009, 08:52:39 pm »

The [STANCE] token is what determines which body part helps it stand up. If it doesn't have the token on a body part, it won't stand up. You should make sure you have at least two body parts with [STANCE].

Everything else looks fine to me.
Logged

GenericOverusedName

  • Bay Watcher
    • View Profile
Re: My creature keeps falling over/down.
« Reply #9 on: August 18, 2009, 08:55:54 am »

I once had a similar problem with a custom body I made (theropods, wooh). Turns out the game doesn't like it when the joints don't hook up to body parts that don't exist or are named different from the actual part types. I looked through the HUMANOID_SIMPLE and HUMANOID_JOINTS. It doesn't look like they're really compatible with each other, since HUMANOID_SIMPLE doesn't have things like upper/lower arms and upper/lower legs. I'd suggest creating a new entry for the joints on your creature, and use those instead of HUMANOID_JOINTS.
Logged

Koliup

  • Bay Watcher
  • Vae Victus!
    • View Profile
Re: My creature keeps falling over/down.
« Reply #10 on: August 18, 2009, 06:24:34 pm »

They only accept their own body type, or go back to being worms.
Logged