Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Can anyone tell me why this crashes my game?  (Read 554 times)

Dirtcopter77

  • Bay Watcher
    • View Profile
Can anyone tell me why this crashes my game?
« on: November 11, 2013, 03:54:52 pm »

I'm trying to make a half-life mod, and this is the first creature I made, a Barnacle. It looks fine to me, but even trying to load up Arena mode makes the game crash. Can anyone find what's wrong?

Code: [Select]
creature_xen

[OBJECT:CREATURE]

[CREATURE:BARNACLE]
[DESCRIPTION:A fleshy, immobile creature that uses its sticky tongue and external stomach to eat unsuspecting prey.]
[NAME:barnacle:barnacles:barnacle]
[CASTE_NAME:barnacle:barnacles:barnacle]
[CREATURE_TILE:"V"][COLOR:4:0:0]
[BIOME:SUBTERRANEAN_WATER]
[POPULATION_NUMBER:15:200]
[FLIER][NO_DIZZINESS][NO_SLEEP][NO_THOUGHT_CENTER_FOR_MOVEMENT][NOBONES][NOEMOTION][NOPAIN][NOSKULL][NOTHOUGHT][NOFEAR][NOEXERT]
[PREFSTRING:long dangling tongues]
[PREFSTRING:ability to grow anywhere]
[BODY:BODY_WITH_HEAD_FLAG:HEART:GUTS:BRAIN:MOUTH:TONGUE]
[BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:SKIN:FAT:MUSCLE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
[SPEED:50]
[USE_MATERIAL_TEMPLATE:ICHOR:ICHOR_TEMPLATE]
[USE_MATERIAL_TEMPLATE:POISON:CREATURE_EXTRACT_TEMPLATE]
        [STATE_NAME:ALL_SOLID:frozen barnacle saliva]
        [STATE_ADJ:ALL_SOLID:frozen barnacle saliva]
        [STATE_NAME:LIQUID:barnacle saliva]
        [STATE_ADJ:LIQUID:barnacle saliva]
        [STATE_NAME:GAS:boiling barnacle saliva]
        [STATE_ADJ:GAS:boiling barnacle saliva]
        [PREFIX:NONE]
        [ENTERS_BLOOD]
        [SYNDROME]
            [SYN_NAME:barnacle saliva]
            [SYN_AFFECTED_CLASS:GENERAL_POISON]
            [SYN_IMMUNE_CREATURE:BARNACLE:ALL]
            [SYN_INJECTED]
            [CE_PARALYSIS:SEV:80:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:10:END:20]
[CREATURE_CLASS:GENERAL_POISON]
[MAXAGE:35:50]
[ATTACK:BITE:BODYPART:BY_CATEGORY:MOUTH]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_CANLATCH]
[ATTACK:LASH:BODYPART:BY_CATEGORY:TONGUE]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:tongue lash:tongue lashes]
[ATTACK_CONTACT_PERC:90]
[ATTACK_VELOCITY_MODIFIER:1]
[ATTACK_FLAG_CANLATCH]
[ALL_ACTIVE]
[GENDERLESS]
[SELECT_TL_GROUP:BY_CATEGORY:ALL:SKIN]
[TL_COLOR_MODIFIER:RED:1]
[TLCM_NOUN:skin:SINGULAR]
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: Can anyone tell me why this crashes my game?
« Reply #1 on: November 11, 2013, 06:01:10 pm »

What does your errorlog say?
Logged

Dirtcopter77

  • Bay Watcher
    • View Profile
Re: Can anyone tell me why this crashes my game?
« Reply #2 on: November 11, 2013, 06:38:28 pm »

What does your errorlog say?

Thanks. I messed up a couple tags, it seems. It mostly works now, but it says it can't find the skin, fat and muscle tissues. Any idea why?
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: Can anyone tell me why this crashes my game?
« Reply #3 on: November 11, 2013, 06:51:44 pm »

It looks like you neglected to give it any in the first place. Try these.

Code: [Select]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
Logged

Dirtcopter77

  • Bay Watcher
    • View Profile
Re: Can anyone tell me why this crashes my game?
« Reply #4 on: November 11, 2013, 07:14:49 pm »

It looks like you neglected to give it any in the first place. Try these.

Code: [Select]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]

Thanks a lot. I'm still pretty new to modding. I've done some minor stuff before, but never made new creatures.
Logged

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: Can anyone tell me why this crashes my game?
« Reply #5 on: November 11, 2013, 11:12:34 pm »

I'd just like to say, don't worry about messing up creatures, they're easily one of the more complex parts of modding. (doesn't mean you shouldn't do them if you want to though, pretty much everything is "entry level".)

Keep at it! Kind've surprised I haven't seen a half life mod yet honestly.