Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How to mod the size of a Bat Man?  (Read 485 times)

noahmcbadass

  • Escaped Lunatic
    • View Profile
How to mod the size of a Bat Man?
« on: August 08, 2013, 06:13:47 pm »

The title says it all. I've modded myself to be able to play Bat Men, but they're too small to wear most of the clothing I can find. I've checked the wiki a bit, but I can't find the BODY_SIZE token under animal people or in the Bat Men's token thing in CREATURE_SUBTERRANEAN. Help would be appreciated.
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: How to mod the size of a Bat Man?
« Reply #1 on: August 08, 2013, 06:34:03 pm »

What you're looking for is in c_variation_default.txt, the place where all the creature variation templates like "animal person" are stored.

Animal people like bat men are 70,000 units big by default. Dunno what giant-ass pants you're trying to put on, that should be acceptably close to wear just about anything from the vanilla races.
Logged

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: How to mod the size of a Bat Man?
« Reply #2 on: August 09, 2013, 06:30:48 am »

Bat men use the animal person variation, which makes their size the average between the size of bats (100) and 70,000. If you want to change them to size 70,000, you should be abble to do so by changing their raws as  follows (the lines starting with > are the added ones):
Code: [Select]
[CREATURE:BAT_MAN]
[COPY_TAGS_FROM:BAT]
[APPLY_CREATURE_VARIATION:ANIMAL_PERSON]
[APPLY_CURRENT_CREATURE_VARIATION]
> [GO_TO_TAG:BODY_SIZE]
> [CV_REMOVE_TAG:GRAVITATE_BODY_SIZE]
> [CV_REMOVE_TAG:BODY_SIZE]
> [APPLY_CURRENT_CREATURE_VARIATION]
> [BODY_SIZE:0:0:70000]
[GO_TO_TAG:BODY]
[CV_REMOVE_TAG:BODY]
[APPLY_CURRENT_CREATURE_VARIATION]
[BODY:HUMANOID_FLIER:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:SKULL:4FINGERS:4TOES:MOUTH:TONGUE:EYELIDS:CHEEKS:GENERIC_TEETH_WITH_LARGE_EYE_TEETH:RIBCAGE]
[GO_TO_END]
[SELECT_CASTE:MALE]
[CASTE_NAME:bat man:bat men:bat man]
[SELECT_CASTE:FEMALE]
[CASTE_NAME:bat woman:bat women:bat woman]
[SELECT_CASTE:ALL]
[APPLY_CREATURE_VARIATION:PUNCH_ATTACK]
[APPLY_CREATURE_VARIATION:KICK_ATTACK]
[APPLY_CREATURE_VARIATION:NAIL_SCRATCH_ATTACK]
[APPLY_CREATURE_VARIATION:TOOTH_BITE_ATTACK]
[APPLY_CURRENT_CREATURE_VARIATION]
[GO_TO_START]
[NAME:bat man:bat men:bat man]
[DESCRIPTION:A humanoid with the head of a bat and wings stretching from wrist to ankle.]
[POPULATION_NUMBER:30:50]
[CLUSTER_NUMBER:5:10]
[MAXAGE:20:30]
[CREATURE_TILE:'b']
[COLOR:0:0:1]
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu