Bay 12 Games Forum

Please login or register.

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

Author Topic: General Modding Questions  (Read 1031 times)

USEC_OFFICER

  • Bay Watcher
  • Pulls the strings and makes them ring.
    • View Profile
General Modding Questions
« on: September 21, 2010, 07:32:29 pm »

I feel the need to mod a insect type race in. Any good guides as a starting point I should use?

(Guides, I meant guides all along.)
« Last Edit: September 22, 2010, 03:51:38 pm by USEC_OFFICER »
Logged

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: Good modding guides.
« Reply #1 on: September 22, 2010, 07:43:11 am »

Using the wiki creature tag list and some stock raws as example should go far. Same for the entity raws.
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

3

  • Bay Watcher
    • View Profile
Re: Good modding guides.
« Reply #2 on: September 22, 2010, 07:49:29 am »

I made a couple of posts on the essentials of civ-able creatures and entities recently.

Edit: As it's insects you're doing, some additional guidance on castes.
« Last Edit: September 22, 2010, 08:00:13 am by 3 »
Logged

USEC_OFFICER

  • Bay Watcher
  • Pulls the strings and makes them ring.
    • View Profile
Re: General Modding Questions
« Reply #3 on: September 22, 2010, 03:56:35 pm »

Right. New question: What makes this crash when I use v->z on the creature?

Code: [Select]
[CREATURE:TERMID]
[DESCRIPTION: A humanoid insect that dedicates its entire life to the hive.]
[NAME:termid:termids:termidian]
[CASTE_NAME:termid:termids:termidian]
[CREATURE_TILE:'T'][COLOR:8:0:0]

[INTELLIGENT]
[TRANCES]
[CANOPENDOORS]
[PREFSTRING:Single mindedness]

[BODY:HUMANOID:2EYES:HEART:GUTS:ORGANS:BRAIN:SKULL:LARGE_MANDABLES:HUMANOID_JOINTS:2LUNGS:3FINGERS:2TOES:RIBCAGE:SPINE:MOUTH]

[BODY_DETAIL_PLAN:CHITIN_MATERIALS]
[BODY_DETAIL_PLAN:CHITIN_TISSUES]
[BODY_DETAIL_PLAN:HUMANOID_RELSIZES]

[BODYGLOSS:INSECT_UPPERBODY:upper body:thorax:upper bodies:thoraxes]
[BODYGLOSS:INSECT_LOWERBODY:lower body:abdomen:lower bodies:abdomens]
[BODYGLOSS:CLAW_HAND:hand:claw:hands:claws]
[BODYGLOSS:CLAW_FOOT:foot:claw:feet:claws]
[APPLY_CREATURE_VARIATION:CHITINOUS_MATS_TISSUES]
[APPLY_CREATURE_VARIATION:ADD_SINEWS]
[APPLY_CREATURE_VARIATION:ADD_BODY_FLUIDS_ICHOR_PUS]
[APPLY_CREATURE_VARIATION:ALLOW_SICKNESS]
[RELSIZE:BY_CATEGORY:MANDABLES:100]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
[TL_MAJOR_ARTERIES]

[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]

[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE]
[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:FINGER:NAIL:FRONT]
[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT]

[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]

[HAS_NERVES]
[CREATURE_CLASS:GENERAL_POISON]
[GETS_WOUND_INFECTIONS]
[GETS_INFECTIONS_FROM_ROT]
[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]

[PHYS_ATT_RANGE:STRENGTH:550:1050:1250:1450:1650:2050:2550]             
[PHYS_ATT_RANGE:AGILITY:150:700:900:1000:1100:1200:1600]                 
[PHYS_ATT_RANGE:TOUGHNESS:550:1050:1250:1350:1450:1650:2350]             
[MENT_ATT_RANGE:ANALYTICAL_ABILITY:350:850:1050:1150:1250:1450:2050]   
[MENT_ATT_RANGE:FOCUS:4400:4500:4600:4700:4800:4900:5000]               
[MENT_ATT_RANGE:CREATIVITY:10:60:150:250:350:400:500]           
[MENT_ATT_RANGE:PATIENCE:3000:3400:3800:4000:4450:4800:5000]             
[MENT_ATT_RANGE:MEMORY:80:200:450:850:1050:1350:1800]               
[MENT_ATT_RANGE:SPATIAL_SENSE:700:1200:1400:1500:1600:1800:2500]

[BODY_SIZE:0:0:100]
[BODY_SIZE:0:168:1500]
[BODY_SIZE:7:0:80000]

[BODY_APPEARANCE_MODIFIER:HEIGHT:96:98:99:100:101:102:105]
[APP_MOD_IMPORTANCE:500]
[BODY_APPEARANCE_MODIFIER:BROADNESS:85:95:98:100:102:105:115]
[APP_MOD_IMPORTANCE:500]

[SET_BP_GROUP:BY_CATEGORY:EYE]
[BP_APPEARANCE_MODIFIER:CLOSE_SET:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]
[BP_APPEARANCE_MODIFIER:DEEP_SET:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]
[BP_APPEARANCE_MODIFIER:ROUND_VS_NARROW:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]
[BP_APPEARANCE_MODIFIER:LARGE_IRIS:25:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]

[SET_BP_GROUP:BY_CATEGORY:SKULL]
[BP_APPEARANCE_MODIFIER:HIGH_CHEEKBONES:0:1:2:3:4:5:6]
[BP_APPEARANCE_MODIFIER:BROAD_CHIN:0:1:2:3:4:5:6]
[BP_APPEARANCE_MODIFIER:JUTTING_CHIN:80:100:120:140:160:180:200]
[BP_APPEARANCE_MODIFIER:SQUARE_CHIN:0:1:2:3:4:5:6]

[MAXAGE:35:57]

[ATTACK:KICK:BODYPART:BY_TYPE:STANCE]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:kick:kicks]
[ATTACK_CONTACT_PERC:50]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]


[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:GRASP:BY_CATEGORY:FINGER:NAIL]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:slash:slashes]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:SECOND]

[BABY:1]
[GENERAL_BABY_NAME:larva:larvas]
[BABYNAME:larva:larvas]
[CHILD:7]
[GENERAL_CHILD_NAME:pupa:pupas]
[CHILDNAME:pupa:pupas]
[EQUIPS]
[CAVE_ADAPT]
[ALL_ACTIVE]

[PROFESSION_NAME:CRAFTSMAN:craftsdwarf:craftsdwarves]
[PROFESSION_NAME:FISHERMAN:fisherdwarf:fisherdwarves]
[PROFESSION_NAME:HAMMERMAN:hammerdwarf:hammerdwarves]
[PROFESSION_NAME:SPEARMAN:speardwarf:speardwarves]
[PROFESSION_NAME:CROSSBOWMAN:marksdwarf:marksdwarves]
[PROFESSION_NAME:AXEMAN:axedwarf:axedwarves]
[PROFESSION_NAME:SWORDSMAN:swordsdwarf:swordsdwarves]
[PROFESSION_NAME:MACEMAN:macedwarf:macedwarves]
[PROFESSION_NAME:PIKEMAN:pikedwarf:pikedwarves]
[PROFESSION_NAME:BOWMAN:bowdwarf:bowdwarves]
[SPEECH:dwarf.txt]
[HOMEOTHERM:10067]
[ALCOHOL_DEPENDENT]
[SWIMS_LEARNED][SWIM_SPEED:2500]

[CASTE:FEMALE]
[FEMALE]
[CASTE:MALE]
[MALE]
Logged

Jordrake

  • Bay Watcher
  • Swabbie-Poet of the Good Ship Urist
    • View Profile
Re: General Modding Questions
« Reply #4 on: September 22, 2010, 04:01:36 pm »

I'm not sure what the problem is (Partly because I'm not that great with modding, partly because I'm not sure what is you're doing that's making it crash), but if you want to take a butcher's at how I've tried to do insects (Check out my sig for more details), it might help you down the line.
Also, spelling and grammar note, it's larvae and pupae, not larvas and pupas.
Logged

USEC_OFFICER

  • Bay Watcher
  • Pulls the strings and makes them ring.
    • View Profile
Re: General Modding Questions
« Reply #5 on: September 22, 2010, 04:22:19 pm »

Wow. I just realized that I should have used the antmen as a base. They're much closer to what I want to end up with then the dwarfs.

EDIT: Thanks for pointing out the pupae and larvae.

EDIT2: CURRENT PROGRESS:



Got the Termids to have the bodies I want. Time to add some language for these guys.
« Last Edit: September 22, 2010, 06:45:18 pm by USEC_OFFICER »
Logged

USEC_OFFICER

  • Bay Watcher
  • Pulls the strings and makes them ring.
    • View Profile
Re: General Modding Questions
« Reply #6 on: September 23, 2010, 03:55:40 pm »

New question: Has somebody already created a program that easily changes the language files? Or am I going to have to keep fiddling around with the one I got?
Logged

3

  • Bay Watcher
    • View Profile
Re: General Modding Questions
« Reply #7 on: September 23, 2010, 04:14:53 pm »

I know of at least three. Of those, I have experience with two. One is essentially a perl script which throws languages together based on perameters (Was that WordGen? I forget), and the other is DFLang, which generates languages based on text input.
Logged

fivex

  • Bay Watcher
    • View Profile
Re: General Modding Questions
« Reply #8 on: September 23, 2010, 04:19:23 pm »

So I attempted to mod in a new stone(Two, actually), and verified that the tags for making it show up are correct. But it doesn't show up anywhere. Seriously, I ran dfreveal and used K over pretty much every vein and it was there. I have tried this like five times. ...Help?
Here are the raws for them:
Code: [Select]
bluh

[OBJECT:INORGANIC]

[INORGANIC:THIRIUM_ORE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:Thirium Nugget][DISPLAY_COLOR:6:3:0][TILE:139]
[ENVIRONMENT:SEDIMENTARY:VEIN:100]
[ITEM_SYMBOL:'*']
[METAL_ORE:THIRIUM:100]
[SOLID_DENSITY:855]
[MATERIAL_VALUE:8]
[IS_STONE]
[MELTING_POINT:12736]

[INORGANIC:FIVIUM_ORE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:Fivium Nugget][DISPLAY_COLOR:4:8:0][TILE:139]
[ENVIRONMENT_SPEC:THIRIUM_ORE:CLUSTER_SMALL:100]
[ITEM_SYMBOL:'*']
[METAL_ORE:FIVIUM:100]
[SOLID_DENSITY:5100]
[MATERIAL_VALUE:10]
[IS_STONE]
[MELTING_POINT:12736]
Logged

3

  • Bay Watcher
    • View Profile
Re: General Modding Questions
« Reply #9 on: September 23, 2010, 04:21:51 pm »

Code: [Select]
bluh

Is that the file name? If it is, it needs to be named inorganic_bluh. The game doesn't parse files which aren't named correctly.
Logged

fivex

  • Bay Watcher
    • View Profile
Re: General Modding Questions
« Reply #10 on: September 23, 2010, 05:11:08 pm »

Code: [Select]
bluh

Is that the file name? If it is, it needs to be named inorganic_bluh. The game doesn't parse files which aren't named correctly.
That fixed it. Thanks
Logged

USEC_OFFICER

  • Bay Watcher
  • Pulls the strings and makes them ring.
    • View Profile
Re: General Modding Questions
« Reply #11 on: September 23, 2010, 05:24:24 pm »

I know of at least three. Of those, I have experience with two. One is essentially a perl script which throws languages together based on perameters (Was that WordGen? I forget), and the other is DFLang, which generates languages based on text input.

Thanks!
Logged

USEC_OFFICER

  • Bay Watcher
  • Pulls the strings and makes them ring.
    • View Profile
Re: General Modding Questions
« Reply #12 on: September 23, 2010, 07:55:29 pm »

New question: How can I increase the amount of children that are born?
Logged

3

  • Bay Watcher
    • View Profile
Re: General Modding Questions
« Reply #13 on: September 23, 2010, 08:00:54 pm »

Make sure MULTIPLE_LITTER_RARE is removed from whatever female caste(s) you have, and add LITTERSIZE:(min):(max).
Logged

USEC_OFFICER

  • Bay Watcher
  • Pulls the strings and makes them ring.
    • View Profile
Re: General Modding Questions
« Reply #14 on: September 23, 2010, 08:11:42 pm »

Good. I did that already. Got Littersize to 10:100. They still aren't surviving past 100 years. (And they don't seem to be following the 10 children min.
Logged
Pages: [1] 2