Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - FogHat

Pages: [1]
1
Work In Progress / Re: Dumb questions from a would-be modder
« on: August 24, 2015, 06:10:55 am »
Mind if I slip in a dumb question? I've found a few places that make it sound like you should be able to define unit type for zombification. However, when I try to define 'zombieUnit' as something other than 'STR_ZOMBIE' I get a crash to desktop. For example, 'zombieUnit: STR_SNAKEMAN_LEADER' causes a ctd. Defining my own unit type doesn't seem to help either. Do you need to define something extra in order to spawn a unit as a zombie?

Code: [Select]
items:
  - type: STR_UNIT_WEAPON
    size: 1
    weight: 6
    bigSprite: 82
    bulletSprite: 8
    fireSound: 102
    hitSound: 19
    handSprite: 104
    hitAnimation: 46
    power: 140
    accuracySnap: 100
    tuSnap: 15
    damageType: 1
    battleType: 1
    clipSize: -1
    fixedWeapon: true
    invWidth: 2
    invHeight: 2
    recover: false
    zombieUnit: STR_ZOMBIE
    flatRate: true
    arcingShot: true
#BREAK
armors:
  - type: DEADMAN_ARMOR
    spriteSheet: DOM.PCK
    spriteInv: DeadManInventoryImage
    visibilityAtDark: 6
    frontArmor: 40
    sideArmor: 35
    rearArmor: 30
    underArmor: 20
    drawingRoutine: 4
    movementType: 0
    damageModifier:
      - 1.0
      - 1.0
      - 0.0
      - 1.0
      - 0.6
      - 0.8
      - 0.6
      - 0.8
      - 0.7
      - 0.0
    loftempsSet: [ 1 ]
#BREAK
units:
  - type: STR_DEAD_MAN
    race: STR_DEADMAN
    rank: STR_ZOMBIE
    stats:
      tu: 40
      stamina: 70
      health: 50
      bravery: 90
      reactions: 45
      firing: 50
      throwing: 65
      strength: 34
      psiStrength: 50
      psiSkill: 0
      melee: 76
    armor: DEADMAN_ARMOR
    standHeight: 21
    kneelHeight: 16
    value: 25
    deathSound: 90
    moveSound: -1
    energyRecovery: 32
    intelligence: 6
    aggression: 1
    livingWeapon: true

Thanks!

Pages: [1]