Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Huh, modding new creature for the first time, I obviously did something wrong...  (Read 751 times)

Creamcorn

  • Bay Watcher
  • [FANCIFUL]
    • View Profile

So I tried this modding thing you kids all talk about now a days.

Anyway I tried using this.

Er... bear in mind the M stuff before somethings are just so I don't confuse it with the other vanilla stuff.

Code: [Select]
body_template

[object:BODY]

[BODY:BODY]

[BODY:MHEAD]
[BP:HORNEDHEADP1:Horn][CONTYPE:HEAD][SKELETON]

[BODY:MWINGS]
[BP:MLWINGS:Left Wing][CONTYPE:LOWERBODY][LEFT][FLIER]
[BP:MRWINGS:Right Wing][CONTYPE:LOWERBODY][RIGHT][FLIER]

[BODY:MHUMANOID]
[BP:UB:upper body][UPPERBODY]
[BP:LB:lower body][CON:UB][LOWERBODY]
[BP:HD:head][CON:UB][HEAD]
[BP:RUA:right upper arm][CON:UB][LIMB][RIGHT]
[BP:LUA:left upper arm][CON:UB][LIMB][LEFT]
[BP:RLA:right lower arm][CON:RUA][LIMB][RIGHT]
[BP:LLA:left lower arm][CON:LUA][LIMB][LEFT]
[BP:RH:right hand][CON:RLA][GRASP][RIGHT]
[BP:LH:left hand][CON:LLA][GRASP][LEFT]
[BP:RUL:right upper leg][CON:LB][LIMB][RIGHT]
[BP:LUL:left upper leg][CON:LB][LIMB][LEFT]
[BP:RLL:right lower leg][CON:RUL][LIMB][RIGHT]
[BP:LLL:left lower leg][CON:LUL][LIMB][LEFT]
[BP:RF:right foot][CON:RLL][STANCE][RIGHT]
[BP:LF:left foot][CON:LLL][STANCE][LEFT]

[BODY:M2EYES]
[BP:REYE:right eye][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][RIGHT]
[BP:LEYE:left eye][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][LEFT]

[BODY:M2EARS]
[BP:R_EAR:right ear][CONTYPE:HEAD][HEAR][SMALL][RIGHT]
[BP:L_EAR:left ear][CONTYPE:HEAD][HEAR][SMALL][LEFT]

[BODY:MNOSE]
[BP:NOSE:nose][CONTYPE:HEAD][SMELL][SMALL]

[BODY:M2LUNGS]
[BP:RLUNG:right lung][CONTYPE:UPPERBODY][BREATHE][INTERNAL][SMALL][RIGHT]
[BP:LLUNG:left lung][CONTYPE:UPPERBODY][BREATHE][INTERNAL][SMALL][LEFT]

[BODY:MHEART]
[BP:HEART:heart][CONTYPE:UPPERBODY][CIRCULATION][INTERNAL][SMALL]

[BODY:MGUTS]
[BP:GUTS:guts][CONTYPE:LOWERBODY][GUTS][INTERNAL][SMALL]

[BODY:MORGANS]
[BP:LIVER:liver][CONTYPE:UPPERBODY][INTERNAL][SMALL]
[BP:STOMACH:stomach][CONTYPE:LOWERBODY][INTERNAL][SMALL]
[BP:PANCREAS:pancreas][CONTYPE:LOWERBODY][INTERNAL][SMALL]
[BP:SPLEEN:spleen][CONTYPE:LOWERBODY][INTERNAL][SMALL]
[BP:RKIDNEY:right kidney][CONTYPE:LOWERBODY][INTERNAL][SMALL][RIGHT]
[BP:LKIDNEY:left kidney][CONTYPE:LOWERBODY][INTERNAL][SMALL][LEFT]

[BODY:MHUMANOID_JOINTS]
[BP:RUA_J:right shoulder][CON:RUA][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LUA_J:left shoulder][CON:LUA][JOINT][SMALL][INTERNAL][LEFT]
[BP:RLA_J:right elbow][CON:RLA][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LLA_J:left elbow][CON:LLA][JOINT][SMALL][INTERNAL][LEFT]
[BP:RH_J:right wrist][CON:RH][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LH_J:left wrist][CON:LH][JOINT][SMALL][INTERNAL][LEFT]
[BP:RUL_J:right hip][CON:RUL][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LUL_J:left hip][CON:LUL][JOINT][SMALL][INTERNAL][LEFT]
[BP:RLL_J:right knee][CON:RLL][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LLL_J:left knee][CON:LLL][JOINT][SMALL][INTERNAL][LEFT]
[BP:RF_J:right ankle][CON:RF][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LF_J:left ankle][CON:LF][JOINT][SMALL][INTERNAL][LEFT]

[BODY:MTHROAT]
[BP:THROAT:throat][CONTYPE:HEAD][THROAT][EMBEDDED][SMALL]

[BODY:MNECK]
[BP:NECK:neck][CONTYPE:HEAD][NERVOUS][INTERNAL][SMALL][SKELETON]

[BODY:MSPINE]
[BP:UPPERSPINE:upper spine][CONTYPE:UPPERBODY][NERVOUS][INTERNAL][SMALL][SKELETON]
[BP:LOWERSPINE:lower spine][CONTYPE:LOWERBODY][NERVOUS][INTERNAL][SMALL][SKELETON]

[BODY:MBRAIN]
[BP:BRAIN:brain][CONTYPE:HEAD][THOUGHT][INTERNAL][SMALL]

[BODY:M5FINGERS]
[BP:FINGER1:thumb][CONTYPE:GRASP][DIGIT][SMALL]
[BP:FINGER2:first finger][CONTYPE:GRASP][DIGIT][SMALL]
[BP:FINGER3:second finger][CONTYPE:GRASP][DIGIT][SMALL]
[BP:FINGER4:third finger][CONTYPE:GRASP][DIGIT][SMALL]
[BP:FINGER5:fourth finger][CONTYPE:GRASP][DIGIT][SMALL]

[BODY:M5TOES]
[BP:TOE1:first toe][CONTYPE:STANCE][DIGIT][SMALL]
[BP:TOE2:second toe][CONTYPE:STANCE][DIGIT][SMALL]
[BP:TOE3:third toe][CONTYPE:STANCE][DIGIT][SMALL]
[BP:TOE4:fourth toe][CONTYPE:STANCE][DIGIT][SMALL]
[BP:TOE5:fifth toe][CONTYPE:STANCE][DIGIT][SMALL]

[BODY:MMOUTH]
[BP:MOUTH:mouth][CONTYPE:HEAD][MOUTH][SMALL][EMBEDDED][APERTURE]

Than made this thing!


creature_template

[OBJECT:CREATURE]

[CREATURE:EZRIAL]
[NAME:ezrial:ezrialos:ezrial]
[TILE:'R'][COLOR:7:0:0]
[GENPOWER:3]
[INTELLIGENT]
[CANOPENDOORS]
[BENIGN]
[PREFSTRING:moddynesses]
[BODY:MHUMANOID:MHEAD:MWINGS:M2EYES:M2EARS:MNOSE:M2LUNGS:MHEART:MGUTS:MORGANS:MHUMANOID_JOINTS:MTHROAT:MNECK:MSPINE:MBRAIN:M5FINGERS:5TOES:MMOUTH]
[SIZE:7]
[MAXAGE:20:200]
[ATTACK:MAIN:BYTOKEN:MHEAD:stab:stabs:2:6:PIERCE][ATTACKFLAG_WITH]
[ATTACK:SECOND:BYTYPE:GRASP:punch:punches:1:2:BLUDGEON][ATTACKFLAG_WITH]
[FAT:3]
[EQUIPS]
[DIURNAL]
[SPEECH_MALE:human_male.txt]
[STANDARD_FLESH]
[HOMEOTHERM:10067]
[LAYERING:10]
[SWIMS_LEARNED][SWIM_SPEED:2500]
[PERSONALITY:ADVENTUROUSNESS:50:75:100]
[PERSONALITY:SYMPATHY:75:80:100]
[PERSONALITY:ALTRUISM:90:95:100]

After that I wanted to try it out, so I pretty much just copy pasta human civ entity stuff, and gened a new world. Began adventure mode, than... I start off with no visible body parts?

Biggest wtf. Can someone tell me where I completely fudged up?
Logged
"OH NO! That carp is gulping at me menacingly, even though it cannot really threaten me from here on land!  I KNOW! I'll dodge into the water, where I'll be safe!"

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile

[BODY:BODY]

Sounds like it's invalidating the entirety of the body txt based on that.
Remove that line.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Creamcorn

  • Bay Watcher
  • [FANCIFUL]
    • View Profile

Nope, still start off with no functioning organs.
Logged
"OH NO! That carp is gulping at me menacingly, even though it cannot really threaten me from here on land!  I KNOW! I'll dodge into the water, where I'll be safe!"

LegoLord

  • Bay Watcher
  • Can you see it now?
    • View Profile

Try just using the default body parts for your creature.  Really, I'm not seeing much difference between the vanilla bodies and your modded in bodies.

Also, what are the names of the files your new entries are stored in?  If those don't match the words at the top of the text when you open the file, the game can't read the data in that file.
Logged
"Oh look there is a dragon my clothes might burn let me take them off and only wear steel plate."
And this is how tinned food was invented.
Alternately: The Brick Testament. It's a really fun look at what the bible would look like if interpreted literally. With Legos.
Just so I remember

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile

[object:BODY]

Are you sure your "object" letters are in lowercase? They should be in UPPERCASE.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Creamcorn

  • Bay Watcher
  • [FANCIFUL]
    • View Profile

Try just using the default body parts for your creature.  Really, I'm not seeing much difference between the vanilla bodies and your modded in bodies.

Also, what are the names of the files your new entries are stored in?  If those don't match the words at the top of the text when you open the file, the game can't read the data in that file.

Hm, so you mean I can use bodies from different text files when making creatures?
Logged
"OH NO! That carp is gulping at me menacingly, even though it cannot really threaten me from here on land!  I KNOW! I'll dodge into the water, where I'll be safe!"

LegoLord

  • Bay Watcher
  • Can you see it now?
    • View Profile

I mean you can use the bodies in body_default.txt.  So yeah, pretty much.
Logged
"Oh look there is a dragon my clothes might burn let me take them off and only wear steel plate."
And this is how tinned food was invented.
Alternately: The Brick Testament. It's a really fun look at what the bible would look like if interpreted literally. With Legos.
Just so I remember